Lines Matching refs:ATF_REQUIRE
47 ATF_REQUIRE(atf_is_error(err)); \
150 ATF_REQUIRE(cnt == 3);
151 ATF_REQUIRE(strcmp(acum, "123") == 0);
157 ATF_REQUIRE(cnt == 1);
158 ATF_REQUIRE(strcmp(acum, "1 2 3") == 0);
164 ATF_REQUIRE(cnt == 5);
165 ATF_REQUIRE(strcmp(acum, "12345") == 0);
171 ATF_REQUIRE(cnt == 5);
172 ATF_REQUIRE(strcmp(acum, "12345") == 0);
180 ATF_REQUIRE(atf_is_error(err));
181 ATF_REQUIRE(atf_error_is(err, "no_memory"));
182 ATF_REQUIRE(fa.curpos == 3);
199 ATF_REQUIRE(!atf_is_error(err));
200 ATF_REQUIRE(strcmp(str, "Test string 1") == 0);
215 ATF_REQUIRE(!atf_is_error(err));
229 ATF_REQUIRE(strcmp(str, "Test string 1") == 0);
340 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b);
341 RE(atf_text_to_bool("TRUE", &b)); ATF_REQUIRE(b);
342 RE(atf_text_to_bool("yes", &b)); ATF_REQUIRE(b);
343 RE(atf_text_to_bool("YES", &b)); ATF_REQUIRE(b);
345 RE(atf_text_to_bool("false", &b)); ATF_REQUIRE(!b);
346 RE(atf_text_to_bool("FALSE", &b)); ATF_REQUIRE(!b);
347 RE(atf_text_to_bool("no", &b)); ATF_REQUIRE(!b);
348 RE(atf_text_to_bool("NO", &b)); ATF_REQUIRE(!b);
352 ATF_REQUIRE(!b);
355 ATF_REQUIRE(b);
359 ATF_REQUIRE(!b);
362 ATF_REQUIRE(b);
366 ATF_REQUIRE(!b);
369 ATF_REQUIRE(b);
373 ATF_REQUIRE(!b);
376 ATF_REQUIRE(b);
380 ATF_REQUIRE(!b);
383 ATF_REQUIRE(b);