pub trait BinaryConnectionTest {
    // Required method
    fn run<ChainA: ChainHandle, ChainB: ChainHandle>(
        &self,
        config: &TestConfig,
        relayer: RelayerDriver,
        chains: ConnectedChains<ChainA, ChainB>,
        connection: ConnectedConnection<ChainA, ChainB>
    ) -> Result<(), Error>;
}
Expand description

This trait is implemented for test cases that need to have two full nodes running together with the relayer setup with chain handles and foreign clients, together with connected IBC connections with completed handshakes.

Test writers can use this to implement test cases that only need the connection setup without the channel handshake.

Required Methods§

source

fn run<ChainA: ChainHandle, ChainB: ChainHandle>( &self, config: &TestConfig, relayer: RelayerDriver, chains: ConnectedChains<ChainA, ChainB>, connection: ConnectedConnection<ChainA, ChainB> ) -> Result<(), Error>

Test runner

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, Test, Overrides> BinaryConnectionTest for RunWithSupervisor<'a, Test>where Test: BinaryConnectionTest + HasOverrides<Overrides = Overrides>, Overrides: SupervisorOverride,

source§

impl<'a, Test, Overrides> BinaryConnectionTest for RunBinaryChannelTest<'a, Test>where Test: BinaryChannelTest + HasOverrides<Overrides = Overrides>, Overrides: PortsOverride + ChannelOrderOverride + ChannelVersionOverride,

source§

impl<'a, Test: BinaryConnectionTest> BinaryConnectionTest for RunTwoWayBinaryConnectionTest<'a, Test>