Lines Matching full:model
29 #include "model/test_result.hpp"
60 ATF_REQUIRE_EQ(expected, model::test_result(result_type).good()); \
82 model::test_result_broken,
84 model::test_result(model::test_result_broken, "The reason"));
87 model::test_result_expected_failure,
89 model::test_result(model::test_result_expected_failure, "The reason"));
92 model::test_result_failed,
94 model::test_result(model::test_result_failed, "The reason"));
97 model::test_result_passed,
99 model::test_result(model::test_result_passed));
102 model::test_result_skipped,
104 model::test_result(model::test_result_skipped, "The reason"));
107 GOOD_TEST(broken, false, model::test_result_broken);
108 GOOD_TEST(expected_failure, true, model::test_result_expected_failure);
109 GOOD_TEST(failed, false, model::test_result_failed);
110 GOOD_TEST(passed, true, model::test_result_passed);
111 GOOD_TEST(skipped, true, model::test_result_skipped);
116 "model::test_result{type='broken', reason='foo'}",
117 model::test_result(model::test_result_broken, "foo"));
120 "model::test_result{type='expected_failure', reason='abc def'}",
121 model::test_result(model::test_result_expected_failure, "abc def"));
124 "model::test_result{type='failed', reason='some \\'string'}",
125 model::test_result(model::test_result_failed, "some 'string"));
128 "model::test_result{type='passed'}",
129 model::test_result(model::test_result_passed, ""));
132 "model::test_result{type='skipped', reason='last message'}",
133 model::test_result(model::test_result_skipped, "last message"));
139 const model::test_result result1(model::test_result_broken, "Foo"); in ATF_TEST_CASE_BODY()
140 const model::test_result result2(model::test_result_broken, "Foo"); in ATF_TEST_CASE_BODY()
141 const model::test_result result3(model::test_result_broken, "Bar"); in ATF_TEST_CASE_BODY()
142 const model::test_result result4(model::test_result_failed, "Foo"); in ATF_TEST_CASE_BODY()
154 const model::test_result result1(model::test_result_broken, "Foo"); in ATF_TEST_CASE_BODY()
155 const model::test_result result2(model::test_result_broken, "Foo"); in ATF_TEST_CASE_BODY()
156 const model::test_result result3(model::test_result_broken, "Bar"); in ATF_TEST_CASE_BODY()
157 const model::test_result result4(model::test_result_failed, "Foo"); in ATF_TEST_CASE_BODY()