mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 17:41:22 +00:00
test: introduce libp2p-swarm-test
This patch-set introduces `libp2p-swarm-test`. It provides utilities for quick and safe bootstrapping of tests for `NetworkBehaviour`s. The main design features are: - Everything has timeouts - APIs don't get in your way - Minimal boilerplate Closes #2884. Pull-Request: #2888.
This commit is contained in:
@ -563,7 +563,7 @@ mod tests {
|
||||
use crate::Behaviour;
|
||||
use crate::IdentTopic as Topic;
|
||||
use libp2p_core::identity::Keypair;
|
||||
use quickcheck::*;
|
||||
use quickcheck_ext::*;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
struct Message(RawMessage);
|
||||
|
Reference in New Issue
Block a user