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§
sourcefn run<ChainA: ChainHandle, ChainB: ChainHandle>(
&self,
config: &TestConfig,
relayer: RelayerDriver,
chains: ConnectedChains<ChainA, ChainB>,
connection: ConnectedConnection<ChainA, ChainB>
) -> Result<(), Error>
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.