summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_blacklisting.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-06-23 09:07:49 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-06-23 09:07:49 +0000
commitfdc3349eb0fb3ad4aa0554deb84ebd94f55793cd (patch)
treebeb72379aec8dab7649c124c3fff1262f0ce8bc9 /src/transport/test_transport_blacklisting.c
parent395052f780eed32332f6b7ceada109b8a800eb07 (diff)
describing different tests
Diffstat (limited to 'src/transport/test_transport_blacklisting.c')
-rw-r--r--src/transport/test_transport_blacklisting.c29
1 files changed, 24 insertions, 5 deletions
diff --git a/src/transport/test_transport_blacklisting.c b/src/transport/test_transport_blacklisting.c
index c3f802b55..fff27b69f 100644
--- a/src/transport/test_transport_blacklisting.c
+++ b/src/transport/test_transport_blacklisting.c
@@ -20,11 +20,30 @@
/**
* @file transport/transport_api_blacklisting.c
- * @brief test for the blacklisting API
- * stage 0: init
- * stage 1: connect peers and stop
- * stage 2: blacklist whole peer and connect
- * stage 3: blacklist tcp and try connect
+ * @brief test for the blacklisting with blacklistings defined in cfg
+ *
+ * this file contains multiple tests:
+ *
+ * test_transport_blacklisting_no_bl:
+ * no blacklisting entries
+ * peers are expected to connect
+ * test_transport_blacklisting_outbound_bl_full:
+ * both peers contain bl entries for full peer
+ * test is expected to not connect
+ * test_transport_blacklisting_outbound_bl_plugin:
+ * both peers contain bl entries for plugin
+ * test is expected to not connect
+ * test_transport_blacklisting_inbound_bl_plugin:
+ * peer 1 contains no bl entries
+ * peer 2 contain bl entries for full peer
+ * test is expected to not connect
+ * test_transport_blacklisting_inbound_bl_full:
+ * peer 1 contains no bl entries
+ * peer 2 contain bl entries for plugin
+ * test is expected to not connect
+ * test_transport_blacklisting_multiple_plugins:
+ * both peers contain bl entries for plugin
+ * test is expected to connect with not bl'ed plugin
*
* @author Matthias Wachs
*