Lines Matching defs:tools
68 namespace tools {
79 tools::env::set(name, val);
80 } catch (const tools::system_error&) {
91 tools::env::unset(name);
92 } catch (const tools::system_error&) {
123 ATF_REQUIRE_EQ(tools::config::get(v->lc), test_value);
125 ATF_REQUIRE(tools::config::get(v->lc) != test_value);
143 tools::config::__reinit();
145 ATF_REQUIRE(tools::config::get(v->lc) != test_value);
150 if (!tools::config::get(v->lc).empty()) {
152 tools::config::__reinit();
154 ATF_REQUIRE(tools::config::get(v->lc).empty());
156 ATF_REQUIRE(!tools::config::get(v->lc).empty());
164 tools::config::__reinit();
176 tools::config::__reinit();
179 std::map< std::string, std::string > vars = tools::config::get_all();
192 tools::config::__reinit();
196 ATF_REQUIRE(tools::config::has(v->lc));
200 ATF_REQUIRE(!tools::config::has(v->uc));
203 ATF_REQUIRE(!tools::config::has("foo"));
204 ATF_REQUIRE(!tools::config::has("BAR"));
205 ATF_REQUIRE(!tools::config::has("atf_foo"));
206 ATF_REQUIRE(!tools::config::has("ATF_BAR"));
207 ATF_REQUIRE(!tools::config::has("atf_shel"));
208 ATF_REQUIRE(!tools::config::has("atf_shells"));