Lines Matching +full:tcs +full:- +full:config
33 #include <atf-c++.hpp>
36 #include "engine/config.hpp"
40 #include "utils/config/tree.ipp"
44 namespace config = utils::config;
55 /// The user configuration is populated with a collection of test-suite
59 static config::tree
62 config::tree user_config = engine::default_config(); in fake_config()
63 user_config.set_string("architecture", "the-architecture"); in fake_config()
64 user_config.set_string("execenvs", "the-env"); in fake_config()
66 user_config.set_string("platform", "the-platform"); in fake_config()
81 args.push_back("config"); in ATF_TEST_CASE_BODY()
88 ATF_REQUIRE_EQ("architecture = the-architecture", ui.out_log()[0]); in ATF_TEST_CASE_BODY()
89 ATF_REQUIRE_EQ("execenvs = the-env", ui.out_log()[1]); in ATF_TEST_CASE_BODY()
91 ATF_REQUIRE_EQ("platform = the-platform", ui.out_log()[3]); in ATF_TEST_CASE_BODY()
102 args.push_back("config"); in ATF_TEST_CASE_BODY()
111 ATF_REQUIRE_EQ("platform = the-platform", ui.out_log()[0]); in ATF_TEST_CASE_BODY()
121 args.push_back("config"); in ATF_TEST_CASE_BODY()
133 ATF_REQUIRE_EQ("platform = the-platform", ui.out_log()[0]); in ATF_TEST_CASE_BODY()
141 ATF_INIT_TEST_CASES(tcs) in ATF_INIT_TEST_CASES() argument
143 ATF_ADD_TEST_CASE(tcs, all); in ATF_INIT_TEST_CASES()
144 ATF_ADD_TEST_CASE(tcs, some__ok); in ATF_INIT_TEST_CASES()
145 ATF_ADD_TEST_CASE(tcs, some__fail); in ATF_INIT_TEST_CASES()