X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Frun_blackbox_tests.c;h=b174ab7e2314169af9776c970b572e4290ddbe9c;hb=2fd608c4111ef4d48a649401d918f5981856cc44;hp=c5b5c59e72ca685d847b72d01f25a19394dab840;hpb=a2d26f530dccbaa73cd490b6a0e40da8d3916e00;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 c5b5c59e..b174ab7e 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 @@ -66,6 +66,12 @@ #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 "../common/containers.h" #include "../common/common_handlers.h" @@ -85,7 +91,7 @@ int main(int argc, char *argv[]) { int failed_tests = 0; - /*failed_tests += test_meta_conn(); + failed_tests += test_meta_conn(); failed_tests += test_meshlink_set_status_cb(); failed_tests += test_meshlink_join(); failed_tests += test_meshlink_set_channel_poll_cb(); @@ -126,9 +132,17 @@ int main(int argc, char *argv[]) { failed_tests += test_meshlink_channel_open(); failed_tests += test_meshlink_channel_close(); - failed_tests += test_meshlink_channel_conn();*/ + 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(); printf("[ PASSED ] %d test(s).\n", total_tests - failed_tests);