Lines Matching full:model

29 #include "model/test_case.hpp"
35 #include "model/metadata.hpp"
36 #include "model/test_result.hpp"
49 const model::metadata md = model::metadata_builder() in ATF_TEST_CASE_BODY()
52 const model::test_case test_case("foo", md); in ATF_TEST_CASE_BODY()
62 const model::test_result result(model::test_result_skipped, in ATF_TEST_CASE_BODY()
64 const model::test_case test_case("__foo__", "Some description", result); in ATF_TEST_CASE_BODY()
68 const model::metadata exp_metadata = model::metadata_builder() in ATF_TEST_CASE_BODY()
79 const model::metadata overrides = model::metadata_builder() in ATF_TEST_CASE_BODY()
83 const model::test_case base_test_case("foo", overrides); in ATF_TEST_CASE_BODY()
85 const model::metadata defaults = model::metadata_builder() in ATF_TEST_CASE_BODY()
90 const model::test_case test_case = base_test_case.apply_metadata_defaults( in ATF_TEST_CASE_BODY()
93 const model::metadata expected = model::metadata_builder() in ATF_TEST_CASE_BODY()
109 const model::test_result result(model::test_result_skipped, "Irrelevant"); in ATF_TEST_CASE_BODY()
110 const model::test_case base_test_case("__foo__", "Fake test", result); in ATF_TEST_CASE_BODY()
112 const model::metadata overrides = model::metadata_builder() in ATF_TEST_CASE_BODY()
116 const model::metadata defaults = model::metadata_builder() in ATF_TEST_CASE_BODY()
121 const model::test_case test_case = base_test_case.apply_metadata_defaults( in ATF_TEST_CASE_BODY()
124 const model::metadata expected = model::metadata_builder() in ATF_TEST_CASE_BODY()
136 const model::test_case tc1("name", model::metadata_builder().build()); in ATF_TEST_CASE_BODY()
137 const model::test_case tc2 = tc1; in ATF_TEST_CASE_BODY()
147 const model::metadata base_metadata = model::metadata_builder() in ATF_TEST_CASE_BODY()
151 const model::test_case base_tc(base_name, base_metadata); in ATF_TEST_CASE_BODY()
155 const model::test_case other_tc(base_name, base_metadata); in ATF_TEST_CASE_BODY()
163 const model::metadata other_metadata = model::metadata_builder() in ATF_TEST_CASE_BODY()
167 const model::test_case other_tc(base_name, other_metadata); in ATF_TEST_CASE_BODY()
175 const model::test_case other_tc("other", base_metadata); in ATF_TEST_CASE_BODY()
183 const model::test_case other_tc(base_name, in ATF_TEST_CASE_BODY()
184 model::metadata_builder().build()); in ATF_TEST_CASE_BODY()
195 const model::test_case tc1( in ATF_TEST_CASE_BODY()
196 "the-name", model::metadata_builder() in ATF_TEST_CASE_BODY()
216 model::test_cases_map_builder builder; in ATF_TEST_CASE_BODY()
217 model::test_cases_map exp_test_cases; in ATF_TEST_CASE_BODY()
223 const model::test_case tc1("default-metadata", in ATF_TEST_CASE_BODY()
224 model::metadata_builder().build()); in ATF_TEST_CASE_BODY()
226 model::test_cases_map::value_type(tc1.name(), tc1)); in ATF_TEST_CASE_BODY()
231 model::metadata_builder().set_description("text").build()); in ATF_TEST_CASE_BODY()
233 const model::test_case tc1("with-metadata", in ATF_TEST_CASE_BODY()
234 model::metadata_builder() in ATF_TEST_CASE_BODY()
237 model::test_cases_map::value_type(tc1.name(), tc1)); in ATF_TEST_CASE_BODY()
241 const model::test_case tc1("fully_built", in ATF_TEST_CASE_BODY()
242 model::metadata_builder() in ATF_TEST_CASE_BODY()
245 exp_test_cases.insert(model::test_cases_map::value_type(tc1.name(), tc1)); in ATF_TEST_CASE_BODY()