X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Frun_blackbox_tests.c;h=fe6f9a91ada9c3935154c3eaf8d99affc009cba9;hb=9e00b59261964f6e18795c996b595cc86d75a317;hp=0b706e1225e5a2f8c786ebfc6f206efa225c33ca;hpb=6717174046f62362e5a22998b40960f574120805;p=meshlink diff --git a/test/blackbox/run_blackbox_tests/run_blackbox_tests.c b/test/blackbox/run_blackbox_tests/run_blackbox_tests.c index 0b706e12..fe6f9a91 100644 --- a/test/blackbox/run_blackbox_tests/run_blackbox_tests.c +++ b/test/blackbox/run_blackbox_tests/run_blackbox_tests.c @@ -1,7 +1,7 @@ /* run_blackbox_tests.c -- Implementation of Black Box Test Execution for meshlink - Copyright (C) 2018 Guus Sliepen + Copyright (C) 2019 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include @@ -63,8 +68,21 @@ #include "test_cases_channel_set_receive_cb.h" #include "test_cases_hint_address.h" #include "test_optimal_pmtu.h" +#include "test_cases_key_rotation.h" #include "test_cases_channel_conn.h" +#include "test_cases_get_all_nodes_by_dev_class.h" +#include "test_cases_submesh01.h" +#include "test_cases_submesh02.h" +#include "test_cases_submesh03.h" +#include "test_cases_submesh04.h" +#include "test_cases_autoconnect.h" +#include "test_cases_set_connection_try_cb.h" + +#include "test_cases_random_port_bindings01.h" +#include "test_cases_random_port_bindings02.h" + +#include "test_cases_get_node_reachability.h" #include "../common/containers.h" #include "../common/common_handlers.h" @@ -95,6 +113,7 @@ int main(int argc, char *argv[]) { failed_tests += test_meshlink_export(); failed_tests += test_meshlink_get_fingerprint(); failed_tests += test_meshlink_get_all_nodes(); + failed_tests += test_meshlink_get_all_node_by_device_class(); failed_tests += test_meshlink_set_port(); failed_tests += test_meshlink_sign(); failed_tests += test_meshlink_verify(); @@ -125,8 +144,23 @@ int main(int argc, char *argv[]) { failed_tests += test_meshlink_channel_close(); failed_tests += test_meshlink_channel_conn(); + failed_tests += test_optimal_pmtu(); + + failed_tests += test_cases_submesh01(); + failed_tests += test_cases_submesh02(); + failed_tests += test_cases_submesh03(); + failed_tests += test_cases_submesh04(); + + failed_tests += test_meshlink_autoconnect(); + failed_tests += test_cases_connection_try(); failed_tests += test_optimal_pmtu(); + failed_tests += test_meshlink_encrypted_key_rotation(); + + failed_tests += test_meshlink_random_port_bindings01(); + failed_tests += test_meshlink_random_port_bindings02(); + + failed_tests += test_get_node_reachability(); printf("[ PASSED ] %d test(s).\n", total_tests - failed_tests); printf("[ FAILED ] %d test(s).\n", failed_tests);