/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_test_macro_stack_footprint_test.cc | 41 #define TEN_TESTS_(test_case_name) \ argument 42 TEST(test_case_name, T0) {} \ 43 TEST(test_case_name, T1) {} \ 44 TEST(test_case_name, T2) {} \ 45 TEST(test_case_name, T3) {} \ 46 TEST(test_case_name, T4) {} \ 47 TEST(test_case_name, T5) {} \ 48 TEST(test_case_name, T6) {} \ 49 TEST(test_case_name, T7) {} \ 50 TEST(test_case_name, T8) {} \ [all …]
|
/freebsd/contrib/capsicum-test/ |
H A D | capsicum-test.h | 109 #define FORK_TEST_ON(test_case_name, test_name, test_file) \ argument 110 static void test_case_name##_##test_name##_ForkTest(); \ 111 TEST(test_case_name, test_name ## Forked) { \ 112 _RUN_FORKED_FN(test_case_name##_##test_name##_ForkTest, \ 113 #test_case_name, #test_name); \ 117 static void test_case_name##_##test_name##_ForkTest() 119 #define FORK_TEST(test_case_name, test_name) FORK_TEST_ON(test_case_name, test_name, NULL) argument 123 #define ICLASS_NAME(test_case_name, test_name) Forked##test_case_name##_##test_name argument 124 #define FORK_TEST_F(test_case_name, test_name) \ argument 125 class ICLASS_NAME(test_case_name, test_name) : public test_case_name { \ [all …]
|
H A D | mqueue.cc | 16 #define FORK_TEST_ON_MQ(test_case_name, test_name, test_mq) \ argument 17 static void test_case_name##_##test_name##_ForkTest(); \ 18 TEST(test_case_name, test_name ## Forked) { \ 19 _RUN_FORKED_FN(test_case_name##_##test_name##_ForkTest, \ 20 #test_case_name, #test_name); \ 24 static void test_case_name##_##test_name##_ForkTest()
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler.cpp | 180 const std::string test_case_name; member 188 test_program(test_program_), test_case_name(test_case_name_) in exec_data() 248 const model::test_case& test_case = test_program->find(test_case_name); in test_exec_data() 470 const std::string& test_case_name, in run_test_program() argument 474 _test_case_name(test_case_name), in run_test_program() 525 const std::string& test_case_name, in run_test_cleanup() argument 529 _test_case_name(test_case_name), in run_test_cleanup() 564 const std::string& test_case_name) : in run_execenv_cleanup() argument 566 _test_case_name(test_case_name) in run_execenv_cleanup() 821 std::string test_case_name; member [all …]
|
H A D | scheduler_test.cpp | 195 const std::string& test_case_name, in exec_print_params() argument 200 std::cout << F("Test case: %s\n") % test_case_name; in exec_print_params() 206 std::cerr << F("stderr: %s\n") % test_case_name; in exec_print_params() 313 const std::string& test_case_name, in exec_test() argument 323 control_file << test_case_name; in exec_test() 326 if (test_case_name == "check_i_exist") { in exec_test() 328 } else if (starts_with(test_case_name, "cleanup_timeout")) { in exec_test() 330 } else if (starts_with(test_case_name, "create_files_and_fail")) { in exec_test() 332 } else if (test_case_name == "delete_all") { in exec_test() 334 } else if (starts_with(test_case_name, "exit ")) { in exec_test() [all …]
|
H A D | atf.cpp | 181 const std::string& test_case_name, in exec_test() argument 194 args.push_back(test_case_name); in exec_test() 196 auto e = execenv::get(test_program, test_case_name); in exec_test() 215 const std::string& test_case_name, in exec_cleanup() argument 227 args.push_back(F("%s:cleanup") % test_case_name); in exec_cleanup() 229 auto e = execenv::get(test_program, test_case_name); in exec_cleanup()
|
H A D | scanner.cpp | 135 const std::string test_case_name = *iter; in advance() local 137 test_case_name)) { in advance() 159 const std::string test_case_name = first_test_cases.get()[0]; in consume() local 161 return scan_result(pending_test_programs[0], test_case_name); in consume()
|
H A D | plain.cpp | 97 const std::string& test_case_name, in exec_test() argument 101 PRE(test_case_name == "main"); in exec_test() 110 auto e = execenv::get(test_program, test_case_name); in exec_test()
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | driver.c | 31 const char *test_case_name; member 59 void add_test(const char *test_case_name, int (*test_fn) (void)) in add_test() argument 62 all_tests[num_tests].test_case_name = test_case_name; in add_test() 69 void add_all_tests(const char *test_case_name, int(*test_fn)(int idx), in add_all_tests() argument 73 all_tests[num_tests].test_case_name = test_case_name; in add_all_tests() 142 if (strcmp(name, all_tests[i].test_case_name) == 0) { in check_single_test_params() 169 all_tests[single_test - 1].test_case_name); in check_single_test_params() 176 all_tests[single_test - 1].test_case_name, in check_single_test_params() 325 all_tests[i].test_case_name, 1, in run_tests() 329 all_tests[i].test_case_name); in run_tests() [all …]
|
/freebsd/contrib/kyua/cli/ |
H A D | cmd_report_html.cpp | 110 const std::string& test_case_name) in test_case_filename() argument 114 std::string name = cli::format_test_case_id(test_program, test_case_name); in test_case_filename() 193 const std::string& test_case_name, in add_to_summary() argument 235 cli::format_test_case_id(test_program, test_case_name)); in add_to_summary() 238 test_case_filename(test_program, test_case_name)); in add_to_summary() 329 const std::string& test_case_name = iter.test_case_name(); in got_result() local 334 add_to_summary(*test_program, test_case_name, result, false); in got_result() 338 add_to_summary(*test_program, test_case_name, result, true); in got_result() 352 test_case_name)); in got_result() 362 const model::test_case& test_case = test_program->find(test_case_name); in got_result() [all …]
|
H A D | cmd_list.cpp | 82 const std::string& test_case_name) in got_test_case() argument 85 test_case_name); in got_test_case() 102 const std::string& test_case_name) in list_test_case() argument 104 const model::test_case& test_case = test_program.find(test_case_name); in list_test_case() 106 const std::string id = format_test_case_id(test_program, test_case_name); in list_test_case()
|
H A D | cmd_debug.cpp | 78 const std::string& test_case_name = cmdline.arguments()[0]; in run() local 79 if (test_case_name.find(':') == std::string::npos) in run() 81 "(missing ':'?)") % test_case_name); in run() 83 test_case_name); in run()
|
H A D | cmd_test.cpp | 88 const std::string& test_case_name) in got_test_case() argument 92 cli::format_test_case_id(test_program, test_case_name), in got_test_case() 105 const std::string& test_case_name, in got_result() argument 111 cli::format_test_case_id(test_program, test_case_name), in got_result()
|
/freebsd/contrib/kyua/engine/execenv/ |
H A D | execenv.hpp | 61 const std::string& test_case_name) : in interface() argument 63 _test_case_name(test_case_name) in interface() 116 const std::string& test_case_name) const = 0; 143 const std::string& test_case_name);
|
H A D | execenv.cpp | 64 const std::string& test_case_name) in get() argument 67 auto e = m->probe(test_program, test_case_name); in get() 73 new execenv::execenv_host(test_program, test_case_name)); in get()
|
/freebsd/crypto/openssl/test/ |
H A D | cmp_status_test.c | 15 const char *test_case_name; member 22 static CMP_STATUS_TEST_FIXTURE *set_up(const char *const test_case_name) in set_up() argument 28 fixture->test_case_name = test_case_name; in set_up()
|
H A D | cmp_asn_test.c | 17 const char *test_case_name; member 24 static CMP_ASN_TEST_FIXTURE *set_up(const char *const test_case_name) in set_up() argument 30 fixture->test_case_name = test_case_name; in set_up()
|
H A D | cmp_server_test.c | 15 const char *test_case_name; member 31 static CMP_SRV_TEST_FIXTURE *set_up(const char *const test_case_name) in set_up() argument 37 fixture->test_case_name = test_case_name; in set_up()
|
H A D | cipherlist_test.c | 25 const char *test_case_name; member 41 static CIPHERLIST_TEST_FIXTURE *set_up(const char *const test_case_name) in set_up() argument 47 fixture->test_case_name = test_case_name; in set_up()
|
/freebsd/contrib/kyua/store/ |
H A D | schema_inttest.cpp | 164 ATF_REQUIRE_EQ("main", iter.test_case_name()); in check_action_2() 174 ATF_REQUIRE_EQ("main", iter.test_case_name()); in check_action_2() 184 ATF_REQUIRE_EQ("main", iter.test_case_name()); in check_action_2() 194 ATF_REQUIRE_EQ("main", iter.test_case_name()); in check_action_2() 204 ATF_REQUIRE_EQ("main", iter.test_case_name()); in check_action_2() 284 ATF_REQUIRE_EQ("this_fails", iter.test_case_name()); in check_action_3() 294 ATF_REQUIRE_EQ("this_passes", iter.test_case_name()); in check_action_3() 304 ATF_REQUIRE_EQ("this_skips", iter.test_case_name()); in check_action_3() 314 ATF_REQUIRE_EQ("main", iter.test_case_name()); in check_action_3() 375 ATF_REQUIRE_EQ("this_fails", iter.test_case_name()); in check_action_4() [all …]
|
/freebsd/contrib/kyua/os/freebsd/ |
H A D | execenv_jail_manager.cpp | 54 const std::string& test_case_name) const in probe() 56 auto test_case = test_program.find(test_case_name); in probe() 61 new freebsd::execenv_jail(test_program, test_case_name) in probe()
|
/freebsd/contrib/kyua/drivers/ |
H A D | run_tests.cpp | 173 const std::string& test_case_name = match.second; in start_test() local 175 hooks.got_test_case(*test_program, test_case_name); in start_test() 180 *test_program, test_case_name, test_program_id); in start_test() 183 test_program, test_case_name, user_config); in start_test() 211 test_result_handle->test_case_name(), in finish_test() 293 const std::string& test_case_name = match.get().second; in drive() local 296 test_case_name); in drive()
|
H A D | debug_test.cpp | 93 const std::string& test_case_name = match.get().second; in drive() local 96 test_program, test_case_name, user_config, in drive() 108 test_program->relative_path(), test_case_name), test_result); in drive()
|
/freebsd/contrib/kyua/model/ |
H A D | test_program.cpp | 382 model::test_program_builder::add_test_case(const std::string& test_case_name) in add_test_case() argument 384 return add_test_case(test_case_name, model::metadata_builder().build()); in add_test_case() 395 model::test_program_builder::add_test_case(const std::string& test_case_name, in add_test_case() argument 398 const model::test_case test_case(test_case_name, metadata); in add_test_case() 399 PRE_MSG(_pimpl->test_cases.find(test_case_name) == _pimpl->test_cases.end(), in add_test_case() 400 F("Attempted to re-register test case '%s'") % test_case_name); in add_test_case() 402 test_case_name, test_case)); in add_test_case()
|
H A D | test_case.cpp | 312 model::test_cases_map_builder::add(const std::string& test_case_name) in add() argument 314 return add(test_case(test_case_name, metadata_builder().build())); in add() 325 model::test_cases_map_builder::add(const std::string& test_case_name, in add() argument 328 return add(test_case(test_case_name, metadata)); in add()
|