Lines Matching +full:tcs +full:- +full:config

35 #include <atf-c++.hpp>
37 #include "engine/config.hpp"
43 #include "utils/config/tree.ipp"
52 namespace config = utils::config;
71 const fs::path srcdir(tc->get_config_var("srcdir")); in copy_tap_helper()
83 /// \param user_config User-provided configuration variables.
88 const config::tree& user_config = engine::empty_config()) in run_one()
92 "tap", fs::path(test_case_name), fs::current_path(), "the-suite") in run_one()
102 atf::utils::cat_file(result_handle->stdout_file().str(), "stdout: "); in run_one()
103 atf::utils::cat_file(result_handle->stderr_file().str(), "stderr: "); in run_one()
104 ATF_REQUIRE_EQ(exp_result, test_result_handle->test_result()); in run_one()
105 result_handle->cleanup(); in run_one()
119 "tap", fs::path("non-existent"), fs::path("."), "unused-suite") in ATF_TEST_CASE_BODY()
192 config::tree user_config = engine::empty_config(); in ATF_TEST_CASE_BODY()
193 user_config.set_string("test_suites.a-suite.first", "unused"); in ATF_TEST_CASE_BODY()
194 user_config.set_string("test_suites.the-suite.first", "some value"); in ATF_TEST_CASE_BODY()
195 user_config.set_string("test_suites.the-suite.second", "some other value"); in ATF_TEST_CASE_BODY()
196 user_config.set_string("test_suites.other-suite.first", "unused"); in ATF_TEST_CASE_BODY()
204 ATF_INIT_TEST_CASES(tcs) in ATF_INIT_TEST_CASES() argument
210 ATF_ADD_TEST_CASE(tcs, list); in ATF_INIT_TEST_CASES()
212 ATF_ADD_TEST_CASE(tcs, test__all_tests_pass); in ATF_INIT_TEST_CASES()
213 ATF_ADD_TEST_CASE(tcs, test__all_tests_pass_but_exit_failure); in ATF_INIT_TEST_CASES()
214 ATF_ADD_TEST_CASE(tcs, test__some_tests_fail); in ATF_INIT_TEST_CASES()
215 ATF_ADD_TEST_CASE(tcs, test__signal_is_broken); in ATF_INIT_TEST_CASES()
216 ATF_ADD_TEST_CASE(tcs, test__timeout_is_broken); in ATF_INIT_TEST_CASES()
217 ATF_ADD_TEST_CASE(tcs, test__configuration_variables); in ATF_INIT_TEST_CASES()