Lines Matching +full:build +full:- +full:in
4 // Redistribution and use in source and binary forms, with or without
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
20 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40 #include <atf-c++.hpp>
71 /// Only use this in the call to set_test_cases(). All other reads of the
83 /// \param test_cases_ The collection of test cases in the test program.
104 const_cast< lazy_test_program* >(this)->set_test_cases( in test_cases()
126 .build(); in check_ctor_and_getters()
129 .build(); in check_ctor_and_getters()
132 "mock", fs::path("binary"), fs::path("root"), "suite-name", tp_md, in check_ctor_and_getters()
133 model::test_cases_map_builder().add("foo", tc_md).build()); in check_ctor_and_getters()
141 ATF_REQUIRE_EQ("suite-name", test_program.test_suite_name()); in check_ctor_and_getters()
147 .build(); in check_ctor_and_getters()
150 .build(); in check_ctor_and_getters()
176 const model::test_case test_case("main", model::metadata_builder().build()); in check_find_ok()
179 "mock", fs::path("non-existent"), fs::path("."), "suite-name", in check_find_ok()
180 model::metadata_builder().build(), in check_find_ok()
181 model::test_cases_map_builder().add(test_case).build()); in check_find_ok()
210 "mock", fs::path("non-existent"), fs::path("."), "suite-name", in check_find_missing()
211 model::metadata_builder().build(), in check_find_missing()
212 model::test_cases_map_builder().add("main").build()); in check_find_missing()
215 "case.*abc.*program.*non-existent", in check_find_missing()
242 .add("inherit-all") in check_metadata_inheritance()
243 .add("inherit-some", in check_metadata_inheritance()
246 .build()) in check_metadata_inheritance()
247 .add("inherit-none", in check_metadata_inheritance()
249 .add_allowed_architecture("overriden-arch") in check_metadata_inheritance()
250 .add_allowed_platform("overriden-platform") in check_metadata_inheritance()
252 .build()) in check_metadata_inheritance()
253 .build(); in check_metadata_inheritance()
256 .add_allowed_architecture("base-arch") in check_metadata_inheritance()
258 .build(); in check_metadata_inheritance()
260 "plain", fs::path("non-existent"), fs::path("."), "suite-name", in check_metadata_inheritance()
265 .add_allowed_architecture("base-arch") in check_metadata_inheritance()
267 .build(); in check_metadata_inheritance()
269 test_program.find("inherit-all").get_metadata()); in check_metadata_inheritance()
274 .add_allowed_architecture("base-arch") in check_metadata_inheritance()
276 .build(); in check_metadata_inheritance()
278 test_program.find("inherit-some").get_metadata()); in check_metadata_inheritance()
283 .add_allowed_architecture("overriden-arch") in check_metadata_inheritance()
284 .add_allowed_platform("overriden-platform") in check_metadata_inheritance()
286 .build(); in check_metadata_inheritance()
288 test_program.find("inherit-none").get_metadata()); in check_metadata_inheritance()
315 "plain", fs::path("non-existent"), fs::path("."), "suite-name", in check_operators_eq_and_ne__copy()
316 model::metadata_builder().build(), in check_operators_eq_and_ne__copy()
348 const std::string base_test_suite("suite-name"); in check_operators_eq_and_ne__not_copy()
351 .build(); in check_operators_eq_and_ne__not_copy()
356 .build()) in check_operators_eq_and_ne__not_copy()
357 .build(); in check_operators_eq_and_ne__not_copy()
368 .build()) in check_operators_eq_and_ne__not_copy()
369 .build(); in check_operators_eq_and_ne__not_copy()
381 // in the base test program definition and another in the test case; here, in check_operators_eq_and_ne__not_copy()
382 // we put both definitions explicitly in the test case. in check_operators_eq_and_ne__not_copy()
388 .build()) in check_operators_eq_and_ne__not_copy()
389 .build(); in check_operators_eq_and_ne__not_copy()
432 base_interface, base_relative_path, base_root, "different-suite", in check_operators_eq_and_ne__not_copy()
443 model::metadata_builder().build(), base_tcs); in check_operators_eq_and_ne__not_copy()
452 .add("foo").build(); in check_operators_eq_and_ne__not_copy()
486 "plain", fs::path("a/b/c"), fs::path("/foo/bar"), "suite-name", in check_operator_lt()
487 model::metadata_builder().build(), in check_operator_lt()
490 "atf", fs::path("c"), fs::path("/foo/bar"), "suite-name", in check_operator_lt()
491 model::metadata_builder().build(), in check_operator_lt()
494 "plain", fs::path("a/b/c"), fs::path("/abc"), "suite-name", in check_operator_lt()
495 model::metadata_builder().build(), in check_operator_lt()
507 // attempting to put the various programs in a set. in check_operator_lt()
537 "plain", fs::path("binary/path"), fs::path("/the/root"), "suite-name", in check_output__no_test_cases()
538 model::metadata_builder().add_allowed_architecture("a").build(), in check_output__no_test_cases()
545 "root='/the/root', test_suite='suite-name', " in check_output__no_test_cases()
579 .add("the-name", model::metadata_builder() in check_output__some_test_cases()
582 .build()) in check_output__some_test_cases()
583 .add("another-name") in check_output__some_test_cases()
584 .build(); in check_output__some_test_cases()
587 "plain", fs::path("binary/path"), fs::path("/the/root"), "suite-name", in check_output__some_test_cases()
588 model::metadata_builder().add_allowed_architecture("a").build(), in check_output__some_test_cases()
595 "root='/the/root', test_suite='suite-name', " in check_output__some_test_cases()
603 "another-name=test_case{name='another-name', " in check_output__some_test_cases()
610 "the-name=test_case{name='the-name', " in check_output__some_test_cases()
639 "mock", fs::path("non-existent"), fs::path("."), "suite-name", in ATF_TEST_CASE_BODY()
640 model::metadata_builder().build(), model::test_cases_map()); in ATF_TEST_CASE_BODY()
643 "mock", fs::path("non-existent"), fs::path("."), "suite-name") in ATF_TEST_CASE_BODY()
644 .build(); in ATF_TEST_CASE_BODY()
655 .build(); in ATF_TEST_CASE_BODY()
659 .build(); in ATF_TEST_CASE_BODY()
661 "mock", fs::path("binary"), fs::path("root"), "suite-name", md, tcs); in ATF_TEST_CASE_BODY()
664 "mock", fs::path("binary"), fs::path("root"), "suite-name") in ATF_TEST_CASE_BODY()
668 .build(); in ATF_TEST_CASE_BODY()
678 "mock", fs::path("non-existent"), fs::path("."), "suite-name", in ATF_TEST_CASE_BODY()
679 model::metadata_builder().build(), model::test_cases_map()); in ATF_TEST_CASE_BODY()
682 "mock", fs::path("non-existent"), fs::path("."), "suite-name") in ATF_TEST_CASE_BODY()