Home
last modified time | relevance | path

Searched refs:to_bool (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/atf/atf-c++/detail/
H A Dtext_test.cpp283 ATF_TEST_CASE(to_bool);
284 ATF_TEST_CASE_HEAD(to_bool) in ATF_TEST_CASE_HEAD() argument
288 ATF_TEST_CASE_BODY(to_bool) in ATF_TEST_CASE_BODY() argument
290 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 …]
H A Dtext.hpp98 bool to_bool(const std::string&);
H A Dtext.cpp122 impl::to_bool(const std::string& str) in to_bool() function in impl
/freebsd/contrib/atf/atf-c/detail/
H A Dtext_test.c328 ATF_TC(to_bool);
329 ATF_TC_HEAD(to_bool, tc) in ATF_TC_HEAD() argument
333 ATF_TC_BODY(to_bool, tc) in ATF_TC_BODY() argument
417 ATF_TP_ADD_TC(tp, to_bool); in ATF_TP_ADD_TCS()
/freebsd/contrib/atf/atf-c++/
H A Dmacros_test.cpp105 bool condition = atf::text::to_bool(get_config_var("condition")); in ATF_TEST_CASE_BODY()