Lines Matching refs:ATF_REQUIRE
45 ATF_REQUIRE(kyua_error_is_type(error, kyua_oom_error_type));
46 ATF_REQUIRE(kyua_error_data(error) == NULL);
56 ATF_REQUIRE(!kyua_error_is_set(kyua_error_subsume(primary, secondary)));
66 ATF_REQUIRE(kyua_error_is_type(error, "primary_error"));
77 ATF_REQUIRE(kyua_error_is_type(error, "secondary_error"));
86 ATF_REQUIRE(kyua_error_is_type(error, "test_error"));
95 ATF_REQUIRE(!kyua_error_is_type(error, "test_erro"));
96 ATF_REQUIRE(!kyua_error_is_type(error, "test_error2"));
97 ATF_REQUIRE(!kyua_error_is_type(error, "foo"));
106 ATF_REQUIRE(kyua_error_data(error) == NULL);
117 ATF_REQUIRE(kyua_error_data(error) != NULL);
127 ATF_REQUIRE(!kyua_error_is_set(error));
135 ATF_REQUIRE(kyua_error_is_set(error));
156 ATF_REQUIRE(kyua_error_is_type(error, "test_error"));
179 ATF_REQUIRE(kyua_error_format(error, buffer, sizeof(buffer))
206 ATF_REQUIRE(atf_utils_grep_file("The 1st message: A usage error",
229 ATF_REQUIRE(kyua_error_is_type(error, kyua_generic_error_type));
260 ATF_REQUIRE(kyua_error_is_type(error, kyua_libc_error_type));
280 ATF_REQUIRE(strstr(buffer, strerror(ENOMEM)) != NULL);
281 ATF_REQUIRE(strstr(buffer, "Test message") != NULL);
292 ATF_REQUIRE(strstr(buffer, strerror(EPERM)) != NULL);
293 ATF_REQUIRE(strstr(buffer, "A message 123") != NULL);
302 ATF_REQUIRE(kyua_error_is_type(error, kyua_oom_error_type));
311 ATF_REQUIRE(kyua_error_data(error) == NULL);
332 ATF_REQUIRE(kyua_error_is_type(error, kyua_oom_error_type));
333 ATF_REQUIRE(kyua_error_data(error) == NULL);
339 ATF_REQUIRE(kyua_error_is_type(error, kyua_oom_error_type));
340 ATF_REQUIRE(kyua_error_data(error) == NULL);
350 ATF_REQUIRE(kyua_error_is_type(error, kyua_usage_error_type));