Searched refs:to_bool (Results 1 – 5 of 5) sorted by relevance
283 ATF_TEST_CASE(to_bool);284 ATF_TEST_CASE_HEAD(to_bool) in ATF_TEST_CASE_HEAD() argument288 ATF_TEST_CASE_BODY(to_bool) in ATF_TEST_CASE_BODY() argument290 using atf::text::to_bool; in ATF_TEST_CASE_BODY()292 ATF_REQUIRE(to_bool("true")); in ATF_TEST_CASE_BODY()293 ATF_REQUIRE(to_bool("TRUE")); in ATF_TEST_CASE_BODY()294 ATF_REQUIRE(to_bool("yes")); in ATF_TEST_CASE_BODY()295 ATF_REQUIRE(to_bool("YES")); in ATF_TEST_CASE_BODY()297 ATF_REQUIRE(!to_bool("false")); in ATF_TEST_CASE_BODY()298 ATF_REQUIRE(!to_bool("FALSE")); in ATF_TEST_CASE_BODY()[all …]
98 bool to_bool(const std::string&);
122 impl::to_bool(const std::string& str) in to_bool() function in impl
328 ATF_TC(to_bool);329 ATF_TC_HEAD(to_bool, tc) in ATF_TC_HEAD() argument333 ATF_TC_BODY(to_bool, tc) in ATF_TC_BODY() argument417 ATF_TP_ADD_TC(tp, to_bool); in ATF_TP_ADD_TCS()
105 bool condition = atf::text::to_bool(get_config_var("condition")); in ATF_TEST_CASE_BODY()