From 9d71267bd66d3e4fce1eb9595cabff556793b4b2 Mon Sep 17 00:00:00 2001
From: Piotr Sawicki
Date: Fri, 9 Jun 2017 15:52:22 +0200
Subject: [PATCH] Enable tests concerning UDP and UDPLite protocols
Change-Id: I664a6cab8983aadef02f512c80daff6e05c30390
---
src/nether-tests/nether_tests.cpp | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/src/nether-tests/nether_tests.cpp b/src/nether-tests/nether_tests.cpp
index b4a31952..69bf807a 100644
--- a/src/nether-tests/nether_tests.cpp
+++ b/src/nether-tests/nether_tests.cpp
@@ -1002,7 +1002,6 @@ RUNNER_TEST_GROUP_INIT(NETHER_REMOTE_CONNECTION)
RUNNER_CHILD_TEST(nether_check_udp_connection_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedShellScriptRunner networkNSRunner(NETHER_NETNS_SETUP_COMMAND,
NETHER_NETNS_TEARDOWN_COMMAND);
@@ -1021,7 +1020,6 @@ RUNNER_CHILD_TEST(nether_check_udp_connection_internet_access_granted)
RUNNER_CHILD_TEST(nether_check_udp_connection_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedShellScriptRunner networkNSRunner(NETHER_NETNS_SETUP_COMMAND,
NETHER_NETNS_TEARDOWN_COMMAND);
@@ -1040,7 +1038,6 @@ RUNNER_CHILD_TEST(nether_check_udp_connection_internet_access_denied)
RUNNER_CHILD_TEST(nether_check_udp_lite_connection_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedShellScriptRunner networkNSRunner(NETHER_NETNS_SETUP_COMMAND,
NETHER_NETNS_TEARDOWN_COMMAND);
@@ -1059,7 +1056,6 @@ RUNNER_CHILD_TEST(nether_check_udp_lite_connection_internet_access_granted)
RUNNER_CHILD_TEST(nether_check_udp_lite_connection_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedShellScriptRunner networkNSRunner(NETHER_NETNS_SETUP_COMMAND,
NETHER_NETNS_TEARDOWN_COMMAND);
@@ -1117,7 +1113,6 @@ RUNNER_TEST_GROUP_INIT(NETHER_LOCAL_SERVICE_CONNECTION)
RUNNER_CHILD_TEST(nether_check_udp_local_connection_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
UDPServer udpLiteServer(UDP_TEST_PORT, IPPROTO_UDP);
udpLiteServer.start();
@@ -1133,7 +1128,6 @@ RUNNER_CHILD_TEST(nether_check_udp_local_connection_internet_access_granted)
RUNNER_CHILD_TEST(nether_check_udp_local_connection_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
UDPServer udpLiteServer(UDP_TEST_PORT, IPPROTO_UDP);
udpLiteServer.start();
@@ -1149,7 +1143,6 @@ RUNNER_CHILD_TEST(nether_check_udp_local_connection_internet_access_denied)
RUNNER_CHILD_TEST(nether_check_udp_lite_local_connection_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
UDPServer udpLiteServer(UDP_TEST_PORT, IPPROTO_UDPLITE);
udpLiteServer.start();
@@ -1165,7 +1158,6 @@ RUNNER_CHILD_TEST(nether_check_udp_lite_local_connection_internet_access_granted
RUNNER_CHILD_TEST(nether_check_udp_lite_local_connection_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
UDPServer udpLiteServer(UDP_TEST_PORT, IPPROTO_UDPLITE);
udpLiteServer.start();
@@ -1215,7 +1207,6 @@ RUNNER_TEST_GROUP_INIT(NETHER_LOCAL_INTER_APP_CONNECTION)
RUNNER_CHILD_TEST(nether_check_udp_local_inter_app_connection_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedAppContext appContext("nether_test_uliaciag_a", NetherInternetAccess::ACCESS_GRANTED);
UDPServerApp udpServerApp(UDP_TEST_PORT, IPPROTO_UDP, appContext);
udpServerApp.start();
@@ -1232,7 +1223,6 @@ RUNNER_CHILD_TEST(nether_check_udp_local_inter_app_connection_internet_access_gr
RUNNER_CHILD_TEST(nether_check_udp_local_inter_app_connection_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedAppContext appContext("nether_test_uliaciad_a", NetherInternetAccess::ACCESS_DENIED);
UDPServerApp udpServerApp(UDP_TEST_PORT, IPPROTO_UDP, appContext);
udpServerApp.start();
@@ -1249,7 +1239,6 @@ RUNNER_CHILD_TEST(nether_check_udp_local_inter_app_connection_internet_access_de
RUNNER_CHILD_TEST(nether_check_udp_lite_local_inter_app_connection_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedAppContext appContext("nether_test_ulliaciag_a", NetherInternetAccess::ACCESS_GRANTED);
UDPServerApp udpLiteServerApp(UDP_TEST_PORT, IPPROTO_UDPLITE, appContext);
udpLiteServerApp.start();
@@ -1266,7 +1255,6 @@ RUNNER_CHILD_TEST(nether_check_udp_lite_local_inter_app_connection_internet_acce
RUNNER_CHILD_TEST(nether_check_udp_lite_local_inter_app_connection_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedAppContext appContext("nether_test_ulliaciad_a", NetherInternetAccess::ACCESS_DENIED);
UDPServerApp udpLiteServerApp(UDP_TEST_PORT, IPPROTO_UDPLITE, appContext);
udpLiteServerApp.start();
@@ -1319,7 +1307,6 @@ RUNNER_TEST_GROUP_INIT(NETHER_MULTICAST)
RUNNER_CHILD_TEST(nether_check_multicast_inter_app_connection_access_granted)
{
// one app acts as a server (receiver), the second as a sender
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedAppContext appContext("nether_test_miacag_a", NetherInternetAccess::ACCESS_GRANTED);
UDPMulticastServerApp udpMulticastServerApp(UDP_TEST_PORT, IPPROTO_UDP, LOCAL_TEST_MCAST_GROUP,
ANY_INTERFACE, appContext);
@@ -1337,7 +1324,6 @@ RUNNER_CHILD_TEST(nether_check_multicast_inter_app_connection_access_granted)
RUNNER_CHILD_TEST(nether_check_multicast_inter_app_connection_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedAppContext appContext("nether_test_miacad_a", NetherInternetAccess::ACCESS_DENIED);
UDPMulticastServerApp udpMulticastServerApp(UDP_TEST_PORT, IPPROTO_UDP, LOCAL_TEST_MCAST_GROUP,
ANY_INTERFACE, appContext);
@@ -1355,7 +1341,6 @@ RUNNER_CHILD_TEST(nether_check_multicast_inter_app_connection_access_denied)
RUNNER_CHILD_TEST(nether_check_multicast_remote_connection_app_sender_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedShellScriptRunner networkNSRunner(NETHER_NETNS_SETUP_COMMAND,
NETHER_NETNS_TEARDOWN_COMMAND);
@@ -1374,7 +1359,6 @@ RUNNER_CHILD_TEST(nether_check_multicast_remote_connection_app_sender_access_gra
RUNNER_CHILD_TEST(nether_check_multicast_remote_connection_app_sender_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of UDP traffic is finished.");
ScopedShellScriptRunner networkNSRunner(NETHER_NETNS_SETUP_COMMAND,
NETHER_NETNS_TEARDOWN_COMMAND);
@@ -1396,8 +1380,6 @@ RUNNER_TEST_GROUP_INIT(NETHER_LOCAL_DNS_CONNECTION)
RUNNER_CHILD_TEST(nether_check_gethostbyname_internet_access_granted)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of DNS queries is finished.");
-
ScopedShellScriptRunner networkDNSRunner(NETHER_DNS_SETUP_COMMAND,
NETHER_DNS_TEARDOWN_COMMAND);
@@ -1412,8 +1394,6 @@ RUNNER_CHILD_TEST(nether_check_gethostbyname_internet_access_granted)
RUNNER_CHILD_TEST(nether_check_gethostbyname_internet_access_denied)
{
- RUNNER_IGNORED_MSG("Disabled until the implementation of handling of DNS queries is finished.");
-
ScopedShellScriptRunner networkDNSRunner(NETHER_DNS_SETUP_COMMAND,
NETHER_DNS_TEARDOWN_COMMAND);
--
2.34.1