Home
last modified time | relevance | path

Searched refs:test_result (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/kyua/model/
H A Dtest_result_test.cpp60 ATF_REQUIRE_EQ(expected, model::test_result(result_type).good()); \
84 model::test_result(model::test_result_broken, "The reason"));
89 model::test_result(model::test_result_expected_failure, "The reason"));
94 model::test_result(model::test_result_failed, "The reason"));
99 model::test_result(model::test_result_passed));
104 model::test_result(model::test_result_skipped, "The reason"));
117 model::test_result(model::test_result_broken, "foo"));
121 model::test_result(model::test_result_expected_failure, "abc def"));
125 model::test_result(model::test_result_failed, "some 'string"));
129 model::test_result(model::test_result_passed, ""));
[all …]
H A Dtest_result.cpp79 model::test_result::test_result(const test_result_type type_, in test_result() function in model::test_result
91 model::test_result::type(void) const in type()
101 model::test_result::reason(void) const in reason()
111 model::test_result::good(void) const in good()
123 model::test_result::operator==(const test_result& other) const in operator ==()
136 model::test_result::operator!=(const test_result& other) const in operator !=()
149 model::operator<<(std::ostream& output, const test_result& object) in operator <<()
H A Dtest_result.hpp69 class test_result { class
77 test_result(const test_result_type, const std::string& = "");
84 bool operator==(const test_result&) const;
85 bool operator!=(const test_result&) const;
89 std::ostream& operator<<(std::ostream&, const test_result&);
H A Dtest_case.cpp61 optional< model::test_result > fake_result;
73 const optional< model::test_result >& fake_result_) : in impl()
154 const model::test_result& test_result_) : in test_case()
239 optional< model::test_result >
H A Dtest_case.hpp64 test_case(const std::string&, const std::string&, const test_result&);
72 utils::optional< test_result > fake_result(void) const;
/freebsd/contrib/kyua/engine/
H A Dtap.cpp71 static model::test_result
76 return model::test_result(model::test_result_failed, "Bailed out"); in tap_to_result()
80 return model::test_result(model::test_result_skipped, in tap_to_result()
86 return model::test_result(model::test_result_passed); in tap_to_result()
88 return model::test_result( in tap_to_result()
95 return model::test_result(model::test_result_failed, in tap_to_result()
171 model::test_result
179 return model::test_result(model::test_result_broken, in compute_result()
183 return model::test_result( in compute_result()
191 return model::test_result( in compute_result()
H A Dscheduler_test.cpp398 model::test_result
413 return model::test_result(model::test_result_broken, in compute_result()
423 return model::test_result( in compute_result()
431 return model::test_result( in compute_result()
436 return model::test_result( in compute_result()
442 return model::test_result( in compute_result()
446 return model::test_result( in compute_result()
451 return model::test_result( in compute_result()
540 ATF_REQUIRE_EQ(model::test_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
556 ATF_REQUIRE_EQ(model::test_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
[all …]
H A Dtap_test.cpp86 const model::test_result& exp_result, in run_one()
104 ATF_REQUIRE_EQ(exp_result, test_result_handle->test_result()); in run_one()
136 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
144 const model::test_result exp_result(model::test_result_failed, in ATF_TEST_CASE_BODY()
153 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
164 const model::test_result exp_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
181 const model::test_result exp_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
198 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
H A Datf_test.cpp136 const model::test_result& exp_result, in run_one()
155 ATF_REQUIRE_EQ(exp_result, test_result_handle->test_result()); in run_one()
301 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
311 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
327 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
342 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
350 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
363 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
375 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
390 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
[all …]
H A Dplain_test.cpp86 const model::test_result& exp_result, in run_one()
104 ATF_REQUIRE_EQ(exp_result, test_result_handle->test_result()); in run_one()
136 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
144 const model::test_result exp_result( in ATF_TEST_CASE_BODY()
154 const model::test_result exp_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
171 const model::test_result exp_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
188 const model::test_result exp_result(model::test_result_passed); in ATF_TEST_CASE_BODY()
H A Dplain.cpp123 model::test_result
131 return model::test_result(model::test_result_broken, in compute_result()
138 return model::test_result(model::test_result_passed); in compute_result()
140 return model::test_result( in compute_result()
145 return model::test_result( in compute_result()
H A Dscheduler.cpp268 model::test_result body_result;
281 const model::test_result& body_result_) : in cleanup_exec_data()
302 model::test_result body_result;
315 const model::test_result& body_result_) : in execenv_exec_data()
824 const model::test_result test_result; member
833 const model::test_result& test_result_) : in impl()
836 test_result(test_result_) in impl()
882 const model::test_result&
883 scheduler::test_result_handle::test_result(void) const in test_result() function in scheduler::test_result_handle
885 return _pimpl->test_result; in test_result()
[all …]
H A Datf_result_test.cpp569 const model::test_result expected(model::test_result_broken, in ATF_TEST_CASE_BODY()
580 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY()
591 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY()
602 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY()
613 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY()
624 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY()
634 const model::test_result expected(model::test_result_failed, in ATF_TEST_CASE_BODY()
644 const model::test_result expected(model::test_result_passed); in ATF_TEST_CASE_BODY()
653 const model::test_result expected(model::test_result_skipped, in ATF_TEST_CASE_BODY()
665 const model::test_result expected( in ATF_TEST_CASE_BODY()
[all …]
H A Datf_result.cpp515 model::test_result
520 return model::test_result(model::test_result_broken, _reason.get()); in externalize()
527 return model::test_result(model::test_result_expected_failure, in externalize()
531 return model::test_result(model::test_result_failed, _reason.get()); in externalize()
534 return model::test_result(model::test_result_passed); in externalize()
537 return model::test_result(model::test_result_skipped, _reason.get()); in externalize()
618 model::test_result
H A Dscheduler.hpp160 virtual model::test_result compute_result(
227 const model::test_result& test_result(void) const;
H A Datf_result.hpp97 model::test_result externalize(void) const;
107 model::test_result calculate_atf_result(
/freebsd/contrib/kyua/drivers/
H A Ddebug_test.hpp56 model::test_result test_result; member in drivers::debug_test::result
63 const model::test_result& test_result_) : in result()
65 test_result(test_result_) in result()
H A Dreport_junit_test.cpp124 const std::vector< model::test_result >& results, in add_tests()
289 std::vector< model::test_result > results1; in ATF_TEST_CASE_BODY()
290 results1.push_back(model::test_result( in ATF_TEST_CASE_BODY()
292 results1.push_back(model::test_result( in ATF_TEST_CASE_BODY()
294 results1.push_back(model::test_result( in ATF_TEST_CASE_BODY()
296 std::vector< model::test_result > results2; in ATF_TEST_CASE_BODY()
297 results2.push_back(model::test_result( in ATF_TEST_CASE_BODY()
299 results2.push_back(model::test_result( in ATF_TEST_CASE_BODY()
H A Ddebug_test.cpp101 const model::test_result test_result = test_result_handle->test_result(); in drive() local
108 test_program->relative_path(), test_case_name), test_result); in drive()
H A Drun_tests.cpp124 tx.put_result(result.test_result(), test_case_id, in put_test_result()
138 model::test_result
143 return handle.test_result(); in safe_cleanup()
145 return model::test_result( in safe_cleanup()
208 const model::test_result test_result = safe_cleanup(*test_result_handle); in finish_test() local
212 test_result_handle->test_result(), in finish_test()
/freebsd/contrib/kyua/store/
H A Dschema_inttest.cpp121 const model::test_result result_1(model::test_result_passed); in check_action_2()
134 const model::test_result result_2(model::test_result_failed, in check_action_2()
142 const model::test_result result_3(model::test_result_broken, in check_action_2()
150 const model::test_result result_4(model::test_result_expected_failure, in check_action_2()
158 const model::test_result result_5(model::test_result_skipped, in check_action_2()
261 const model::test_result result_6(model::test_result_passed); in check_action_3()
262 const model::test_result result_7(model::test_result_failed, in check_action_3()
264 const model::test_result result_8(model::test_result_skipped, in check_action_3()
278 const model::test_result result_9(model::test_result_failed, in check_action_3()
355 const model::test_result result_10(model::test_result_failed, in check_action_4()
[all …]
H A Dwrite_transaction_test.cpp72 do_put_result_ok_test(const model::test_result& result, in do_put_result_ok_test()
321 const model::test_result result(model::test_result_broken, "a b cd"); in ATF_TEST_CASE_BODY()
334 const model::test_result result(model::test_result_expected_failure, in ATF_TEST_CASE_BODY()
348 const model::test_result result(model::test_result_failed, "a b cd"); in ATF_TEST_CASE_BODY()
361 const model::test_result result(model::test_result_passed); in ATF_TEST_CASE_BODY()
374 const model::test_result result(model::test_result_skipped, "a b cd"); in ATF_TEST_CASE_BODY()
387 const model::test_result result(model::test_result_broken, "foo"); in ATF_TEST_CASE_BODY()
H A Dread_transaction.cpp192 static model::test_result
204 return model::test_result(type); in parse_result()
206 return model::test_result(type, in parse_result()
361 model::test_result
/freebsd/contrib/kyua/cli/
H A Dcmd_debug.cpp91 cli::format_result(result.test_result)); in run()
93 return result.test_result.good() ? EXIT_SUCCESS : EXIT_FAILURE; in run()
H A Dcommon_test.cpp397 model::test_result(model::test_result_passed))); in ATF_TEST_CASE_BODY()
399 model::test_result(model::test_result_failed))); in ATF_TEST_CASE_BODY()
407 model::test_result(model::test_result_broken, "Something"))); in ATF_TEST_CASE_BODY()
409 model::test_result(model::test_result_expected_failure, "A B C"))); in ATF_TEST_CASE_BODY()
411 model::test_result(model::test_result_failed, "More text"))); in ATF_TEST_CASE_BODY()
413 model::test_result(model::test_result_skipped, "Bye"))); in ATF_TEST_CASE_BODY()

12