Lines Matching refs:model
194 exec_print_params(const model::test_program& test_program, in exec_print_params()
221 exec_list(const model::test_program& test_program, in exec_list()
265 model::test_cases_map
288 model::test_cases_map_builder test_cases_builder; in parse_list()
312 exec_test(const model::test_program& test_program, in exec_test()
362 exec_cleanup(const model::test_program& /* test_program */, in exec_cleanup()
398 model::test_result
413 return model::test_result(model::test_result_broken, in compute_result()
423 return model::test_result( in compute_result()
424 model::test_result_broken, in compute_result()
431 return model::test_result( in compute_result()
432 model::test_result_broken, in compute_result()
436 return model::test_result( in compute_result()
437 model::test_result_broken, in compute_result()
442 return model::test_result( in compute_result()
443 model::test_result_skipped, in compute_result()
446 return model::test_result( in compute_result()
447 model::test_result_passed, in compute_result()
451 return model::test_result( in compute_result()
452 model::test_result_failed, in compute_result()
468 static model::test_cases_map
472 const model::test_program program = model::test_program_builder( in check_integration_list()
477 const model::test_cases_map test_cases = handle.list_tests(&program, in check_integration_list()
493 const model::test_cases_map test_cases = check_integration_list( in ATF_TEST_CASE_BODY()
496 const model::test_cases_map exp_test_cases = model::test_cases_map_builder() in ATF_TEST_CASE_BODY()
508 const model::test_cases_map test_cases = check_integration_list( in ATF_TEST_CASE_BODY()
511 const model::test_cases_map exp_test_cases = model::test_cases_map_builder() in ATF_TEST_CASE_BODY()
521 const model::test_cases_map test_cases = check_integration_list( in ATF_TEST_CASE_BODY()
524 const model::test_cases_map exp_test_cases = model::test_cases_map_builder() in ATF_TEST_CASE_BODY()
533 const model::test_cases_map test_cases = check_integration_list( in ATF_TEST_CASE_BODY()
537 const model::test_case& test_case = test_cases.begin()->second; in ATF_TEST_CASE_BODY()
540 ATF_REQUIRE_EQ(model::test_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
549 const model::test_cases_map test_cases = check_integration_list( in ATF_TEST_CASE_BODY()
553 const model::test_case& test_case = test_cases.begin()->second; in ATF_TEST_CASE_BODY()
556 ATF_REQUIRE_EQ(model::test_result(model::test_result_broken, in ATF_TEST_CASE_BODY()
565 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
581 ATF_REQUIRE_EQ(model::test_result(model::test_result_passed, "Exit 41"), in ATF_TEST_CASE_BODY()
601 const model::metadata infinite_timeout = model::metadata_builder() in ATF_TEST_CASE_BODY()
605 std::map< scheduler::exec_handle, model::test_program_ptr > in ATF_TEST_CASE_BODY()
615 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
666 const model::test_program_ptr test_program = exp_test_programs.find( in ATF_TEST_CASE_BODY()
674 ATF_REQUIRE_EQ(model::test_result(model::test_result_passed, in ATF_TEST_CASE_BODY()
706 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
718 ATF_REQUIRE_EQ(model::test_result(model::test_result_passed, "Exit 0"), in ATF_TEST_CASE_BODY()
731 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
752 ATF_REQUIRE_EQ(model::test_result(model::test_result_passed, "Exit 0"), in ATF_TEST_CASE_BODY()
778 const model::test_result fake_result(model::test_result_skipped, in ATF_TEST_CASE_BODY()
781 model::test_cases_map test_cases; in ATF_TEST_CASE_BODY()
782 test_cases.insert(model::test_cases_map::value_type( in ATF_TEST_CASE_BODY()
783 "__fake__", model::test_case("__fake__", "ABC", fake_result))); in ATF_TEST_CASE_BODY()
785 const model::test_program_ptr program(new model::test_program( in ATF_TEST_CASE_BODY()
787 model::metadata_builder().build(), test_cases)); in ATF_TEST_CASE_BODY()
810 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
813 model::metadata_builder() in ATF_TEST_CASE_BODY()
829 ATF_REQUIRE_EQ(model::test_result( in ATF_TEST_CASE_BODY()
830 model::test_result_skipped, in ATF_TEST_CASE_BODY()
849 const model::test_result& exp_result) in do_cleanup_test()
851 const model::test_program_ptr program = model::test_program_builder( in do_cleanup_test()
854 .set_metadata(model::metadata_builder().set_has_cleanup(true).build()) in do_cleanup_test()
883 model::test_result(model::test_result_skipped, "Exit 0")); in ATF_TEST_CASE_BODY()
892 model::test_result(model::test_result_failed, "Signal 15")); in ATF_TEST_CASE_BODY()
901 model::test_result(model::test_result_broken, "Test case cleanup " in ATF_TEST_CASE_BODY()
911 model::test_result(model::test_result_failed, "Signal 15")); in ATF_TEST_CASE_BODY()
921 model::test_result(model::test_result_broken, "Test case cleanup " in ATF_TEST_CASE_BODY()
929 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
932 .set_metadata(model::metadata_builder() in ATF_TEST_CASE_BODY()
946 ATF_REQUIRE_EQ(model::test_result( in ATF_TEST_CASE_BODY()
947 model::test_result_skipped, in ATF_TEST_CASE_BODY()
962 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
976 ATF_REQUIRE_EQ(model::test_result(model::test_result_failed, in ATF_TEST_CASE_BODY()
997 const model::test_program_ptr program = model::test_program_builder( in do_check_list_files_on_failure()
1042 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
1056 ATF_REQUIRE_EQ(model::test_result(model::test_result_passed, "Exit 0"), in ATF_TEST_CASE_BODY()
1068 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY()
1089 ATF_REQUIRE_EQ(model::test_result(model::test_result_passed, "Exit 0"), in ATF_TEST_CASE_BODY()
1148 const model::context context = scheduler::current_context(); in ATF_TEST_CASE_BODY()