aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
20 20
21/** 21/**
22 * @file transport/transport_api_blacklisting.c 22 * @file transport/transport_api_blacklisting.c
23 * @brief test for the blacklisting API 23 * @brief test for the blacklisting with blacklistings defined in cfg
24 * stage 0: init 24 *
25 * stage 1: connect peers and stop 25 * this file contains multiple tests:
26 * stage 2: blacklist whole peer and connect 26 *
27 * stage 3: blacklist tcp and try connect 27 * test_transport_blacklisting_no_bl:
28 * no blacklisting entries
29 * peers are expected to connect
30 * test_transport_blacklisting_outbound_bl_full:
31 * both peers contain bl entries for full peer
32 * test is expected to not connect
33 * test_transport_blacklisting_outbound_bl_plugin:
34 * both peers contain bl entries for plugin
35 * test is expected to not connect
36 * test_transport_blacklisting_inbound_bl_plugin:
37 * peer 1 contains no bl entries
38 * peer 2 contain bl entries for full peer
39 * test is expected to not connect
40 * test_transport_blacklisting_inbound_bl_full:
41 * peer 1 contains no bl entries
42 * peer 2 contain bl entries for plugin
43 * test is expected to not connect
44 * test_transport_blacklisting_multiple_plugins:
45 * both peers contain bl entries for plugin
46 * test is expected to connect with not bl'ed plugin
28 * 47 *
29 * @author Matthias Wachs 48 * @author Matthias Wachs
30 * 49 *