Enable tests concerning UDP and UDPLite protocols 03/133303/1
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Fri, 9 Jun 2017 13:52:22 +0000 (15:52 +0200)
committerPiotr Sawicki <p.sawicki2@partner.samsung.com>
Fri, 9 Jun 2017 13:52:22 +0000 (15:52 +0200)
Change-Id: I664a6cab8983aadef02f512c80daff6e05c30390

src/nether-tests/nether_tests.cpp

index b4a3195..69bf807 100644 (file)
@@ -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);