Lines Matching defs:atf
2 // Automated Testing Framework (atf)
65 namespace atf {
76 atf::env::set(name, val);
77 } catch (const atf::system_error&) {
88 atf::env::unset(name);
89 } catch (const atf::system_error&) {
120 ATF_REQUIRE_EQ(atf::config::get(v->lc), test_value);
122 ATF_REQUIRE(atf::config::get(v->lc) != test_value);
140 atf::config::__reinit();
142 ATF_REQUIRE(atf::config::get(v->lc) != test_value);
147 if (!atf::config::get(v->lc).empty()) {
149 atf::config::__reinit();
151 ATF_REQUIRE(atf::config::get(v->lc).empty());
153 ATF_REQUIRE(!atf::config::get(v->lc).empty());
161 atf::config::__reinit();
173 atf::config::__reinit();
176 std::map< std::string, std::string > vars = atf::config::get_all();
189 atf::config::__reinit();
193 ATF_REQUIRE(atf::config::has(v->lc));
197 ATF_REQUIRE(!atf::config::has(v->uc));
200 ATF_REQUIRE(!atf::config::has("foo"));
201 ATF_REQUIRE(!atf::config::has("BAR"));
202 ATF_REQUIRE(!atf::config::has("atf_foo"));
203 ATF_REQUIRE(!atf::config::has("ATF_BAR"));
204 ATF_REQUIRE(!atf::config::has("atf_shel"));
205 ATF_REQUIRE(!atf::config::has("atf_shells"));
212 HEADER_TC(include, "atf-c++/config.hpp");