From fdc3349eb0fb3ad4aa0554deb84ebd94f55793cd Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 23 Jun 2014 09:07:49 +0000 Subject: [PATCH] describing different tests --- src/transport/test_transport_blacklisting.c | 29 +++++++++++++++++---- 1 file 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 * -- 2.25.1