diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-23 11:31:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-23 11:31:44 +0000 |
commit | 7fea1d9e013cc441d72b155b3b06348b1d689261 (patch) | |
tree | 19642deeeecc1176ff77a1f8ee2ad0cb75df0716 /src | |
parent | b5582e492a12b2ef17c1daff0707cc0b3197aeca (diff) | |
download | gnunet-7fea1d9e013cc441d72b155b3b06348b1d689261.tar.gz gnunet-7fea1d9e013cc441d72b155b3b06348b1d689261.zip |
-rename tests to caputre better what they test
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/Makefile.am | 20 | ||||
-rw-r--r-- | src/transport/test_transport_api_monitor_peers.c (renamed from src/transport/test_transport_api_monitoring.c) | 11 | ||||
-rw-r--r-- | src/transport/test_transport_api_monitor_validation.c (renamed from src/transport/test_transport_api_monitoring_validation.c) | 4 |
3 files changed, 15 insertions, 20 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index 5a4a443a7..b9ce99414 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am | |||
@@ -422,8 +422,8 @@ check_PROGRAMS = \ | |||
422 | $(BT_API_TEST) \ | 422 | $(BT_API_TEST) \ |
423 | $(BT_TIMEOUT_TEST) \ | 423 | $(BT_TIMEOUT_TEST) \ |
424 | test_transport_api_multi \ | 424 | test_transport_api_multi \ |
425 | test_transport_api_monitoring \ | 425 | test_transport_api_monitor_peers \ |
426 | test_transport_api_monitoring_validation \ | 426 | test_transport_api_monitor_validation \ |
427 | test_transport_blacklisting_no_bl \ | 427 | test_transport_blacklisting_no_bl \ |
428 | test_transport_blacklisting_outbound_bl_full \ | 428 | test_transport_blacklisting_outbound_bl_full \ |
429 | test_transport_blacklisting_outbound_bl_plugin \ | 429 | test_transport_blacklisting_outbound_bl_plugin \ |
@@ -493,8 +493,8 @@ TESTS = \ | |||
493 | $(BT_API_TEST) \ | 493 | $(BT_API_TEST) \ |
494 | $(BT_TIMEOUT_TEST) \ | 494 | $(BT_TIMEOUT_TEST) \ |
495 | test_transport_api_multi \ | 495 | test_transport_api_multi \ |
496 | test_transport_api_monitoring \ | 496 | test_transport_api_monitor_peers \ |
497 | test_transport_api_monitoring_validation \ | 497 | test_transport_api_monitor_validation \ |
498 | test_transport_blacklisting_no_bl \ | 498 | test_transport_blacklisting_no_bl \ |
499 | test_transport_blacklisting_outbound_bl_full \ | 499 | test_transport_blacklisting_outbound_bl_full \ |
500 | test_transport_blacklisting_outbound_bl_plugin \ | 500 | test_transport_blacklisting_outbound_bl_plugin \ |
@@ -1143,17 +1143,17 @@ test_transport_api_multi_LDADD = \ | |||
1143 | $(top_builddir)/src/util/libgnunetutil.la \ | 1143 | $(top_builddir)/src/util/libgnunetutil.la \ |
1144 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 1144 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
1145 | 1145 | ||
1146 | test_transport_api_monitoring_SOURCES = \ | 1146 | test_transport_api_monitor_peers_SOURCES = \ |
1147 | test_transport_api_monitoring.c | 1147 | test_transport_api_monitor_peers.c |
1148 | test_transport_api_monitoring_LDADD = \ | 1148 | test_transport_api_monitor_peers_LDADD = \ |
1149 | $(top_builddir)/src/transport/libgnunettransport.la \ | 1149 | $(top_builddir)/src/transport/libgnunettransport.la \ |
1150 | $(top_builddir)/src/hello/libgnunethello.la \ | 1150 | $(top_builddir)/src/hello/libgnunethello.la \ |
1151 | $(top_builddir)/src/util/libgnunetutil.la \ | 1151 | $(top_builddir)/src/util/libgnunetutil.la \ |
1152 | $(top_builddir)/src/transport/libgnunettransporttesting.la | 1152 | $(top_builddir)/src/transport/libgnunettransporttesting.la |
1153 | 1153 | ||
1154 | test_transport_api_monitoring_validation_SOURCES = \ | 1154 | test_transport_api_monitor_validation_SOURCES = \ |
1155 | test_transport_api_monitoring_validation.c | 1155 | test_transport_api_monitor_validation.c |
1156 | test_transport_api_monitoring_validation_LDADD = \ | 1156 | test_transport_api_monitor_validation_LDADD = \ |
1157 | $(top_builddir)/src/transport/libgnunettransport.la \ | 1157 | $(top_builddir)/src/transport/libgnunettransport.la \ |
1158 | $(top_builddir)/src/hello/libgnunethello.la \ | 1158 | $(top_builddir)/src/hello/libgnunethello.la \ |
1159 | $(top_builddir)/src/util/libgnunetutil.la \ | 1159 | $(top_builddir)/src/util/libgnunetutil.la \ |
diff --git a/src/transport/test_transport_api_monitoring.c b/src/transport/test_transport_api_monitor_peers.c index 51ec38d79..fd6abe53b 100644 --- a/src/transport/test_transport_api_monitoring.c +++ b/src/transport/test_transport_api_monitor_peers.c | |||
@@ -18,13 +18,8 @@ | |||
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file transport/test_transport_api.c | 21 | * @file transport/test_transport_api_monitor_peers.c |
22 | * @brief base test case for transport implementations | 22 | * @brief base test case for transport peer monitor API |
23 | * | ||
24 | * This test case serves as a base for tcp, udp, and udp-nat | ||
25 | * transport test cases. Based on the executable being run | ||
26 | * the correct test case will be performed. Conservation of | ||
27 | * C code apparently. | ||
28 | */ | 23 | */ |
29 | #include "platform.h" | 24 | #include "platform.h" |
30 | #include "gnunet_transport_service.h" | 25 | #include "gnunet_transport_service.h" |
@@ -532,4 +527,4 @@ main (int argc, char *argv[]) | |||
532 | return ok; | 527 | return ok; |
533 | } | 528 | } |
534 | 529 | ||
535 | /* end of test_transport_api.c */ | 530 | /* end of test_transport_api_monitor_peers.c */ |
diff --git a/src/transport/test_transport_api_monitoring_validation.c b/src/transport/test_transport_api_monitor_validation.c index 80fa3e688..11839b20c 100644 --- a/src/transport/test_transport_api_monitoring_validation.c +++ b/src/transport/test_transport_api_monitor_validation.c | |||
@@ -18,7 +18,7 @@ | |||
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file transport/test_transport_api_monitoring_validation.c | 21 | * @file transport/test_transport_api_monitor_validation.c |
22 | * @brief base test case for transport validation monitorung | 22 | * @brief base test case for transport validation monitorung |
23 | * | 23 | * |
24 | * This test case connects two peers and monitors validation monitoring | 24 | * This test case connects two peers and monitors validation monitoring |
@@ -520,4 +520,4 @@ main (int argc, char *argv[]) | |||
520 | return ok; | 520 | return ok; |
521 | } | 521 | } |
522 | 522 | ||
523 | /* end of test_transport_api_monitoring_validation.c */ | 523 | /* end of test_transport_api_monitor_validation.c */ |