pub trait BinaryConnectionTest {
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
fn 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