Lines Matching refs:ATF_REQUIRE
60 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
86 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
90 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
94 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0);
99 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str),
116 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
120 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
124 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 3") == 0);
130 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str),
148 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
152 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 1") == 0);
156 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String 2") == 0);
160 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "String") == 0);
165 ATF_REQUIRE(atf_is_error(err));
166 ATF_REQUIRE(atf_error_is(err, "no_memory"));
206 ATF_REQUIRE(atf_is_error(err));
207 ATF_REQUIRE(atf_error_is(err, "no_memory"));
211 ATF_REQUIRE(atf_is_error(err));
212 ATF_REQUIRE(atf_error_is(err, "no_memory"));
231 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
235 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 1, Str 2") == 0);
239 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 1, Str 2") == 0);
243 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 1") == 0);
247 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
251 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Str 2") == 0);
269 ATF_REQUIRE(atf_equal_dynstr_dynstr(&str, &str2));
273 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2));
316 ATF_REQUIRE(cstr != NULL);
317 ATF_REQUIRE(strcmp(cstr, "Test string 1") == 0);
322 ATF_REQUIRE(cstr != NULL);
323 ATF_REQUIRE(strcmp(cstr, "Test string 2") == 0);
460 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
466 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Not empty") == 0);
469 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
574 ATF_REQUIRE( atf_equal_dynstr_cstring(&str, ""));
575 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, "Test"));
579 ATF_REQUIRE( atf_equal_dynstr_cstring(&str, "Test"));
580 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, ""));
581 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, "Tes"));
582 ATF_REQUIRE(!atf_equal_dynstr_cstring(&str, "Test "));
598 ATF_REQUIRE( atf_equal_dynstr_dynstr(&str, &str));
599 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2));