Lines Matching refs:ATF_REQUIRE

57     ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
87 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
91 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0);
96 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str),
113 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
117 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
121 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0);
127 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str),
145 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
149 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
153 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
157 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String") == 0);
162 ATF_REQUIRE(atf_is_error(err));
163 ATF_REQUIRE(atf_error_is(err, "no_memory"));
203 ATF_REQUIRE(atf_is_error(err));
204 ATF_REQUIRE(atf_error_is(err, "no_memory"));
208 ATF_REQUIRE(atf_is_error(err));
209 ATF_REQUIRE(atf_error_is(err, "no_memory"));
228 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
232 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 1, Str 2") == 0);
236 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 1, Str 2") == 0);
240 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 1") == 0);
244 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
248 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 2") == 0);
266 ATF_REQUIRE(atf_equal_dynstr_dynstr(&str, &str2));
270 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2));
313 ATF_REQUIRE(cstr != NULL);
314 ATF_REQUIRE(strcmp(cstr, "Test string 1") == 0);
319 ATF_REQUIRE(cstr != NULL);
320 ATF_REQUIRE(strcmp(cstr, "Test string 2") == 0);
457 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
463 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Not empty") == 0);
466 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
571 ATF_REQUIRE( atf_equal_dynstr_cstring(&str, ""));
572 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, "Test"));
576 ATF_REQUIRE( atf_equal_dynstr_cstring(&str, "Test"));
577 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, ""));
578 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, "Tes"));
579 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, "Test "));
595 ATF_REQUIRE( atf_equal_dynstr_dynstr(&str, &str));
596 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2));