Lines Matching full:model
29 #include "model/test_program.hpp"
34 #include "model/exceptions.hpp"
35 #include "model/metadata.hpp"
36 #include "model/test_case.hpp"
37 #include "model/test_result.hpp"
52 struct model::test_program::impl : utils::noncopyable {
66 model::metadata md;
71 model::test_cases_map test_cases;
84 const model::metadata& md_, const model::test_cases_map& test_cases_) : in impl()
102 set_test_cases(const model::test_cases_map& test_cases_) in set_test_cases()
104 for (model::test_cases_map::const_iterator iter = test_cases_.begin(); in set_test_cases()
107 const model::test_case& test_case = (*iter).second; in set_test_cases()
113 test_cases.insert(model::test_cases_map::value_type( in set_test_cases()
129 model::test_program::test_program(const std::string& interface_name_, in test_program()
133 const model::metadata& md_, in test_program()
134 const model::test_cases_map& test_cases_) : in test_program()
142 model::test_program::~test_program(void) in ~test_program()
151 model::test_program::interface_name(void) const in interface_name()
161 model::test_program::relative_path(void) const in relative_path()
171 model::test_program::absolute_path(void) const in absolute_path()
182 model::test_program::root(void) const in root()
192 model::test_program::test_suite_name(void) const in test_suite_name()
201 const model::metadata&
202 model::test_program::get_metadata(void) const in get_metadata()
216 const model::test_case&
217 model::test_program::find(const std::string& name) const in find()
232 const model::test_cases_map&
233 model::test_program::test_cases(void) const in test_cases()
248 model::test_program::set_test_cases(const model::test_cases_map& test_cases_) in set_test_cases()
261 model::test_program::operator==(const test_program& other) const in operator ==()
279 model::test_program::operator!=(const test_program& other) const in operator !=()
299 model::test_program::operator<(const test_program& other) const in operator <()
312 model::operator<<(std::ostream& output, const test_program& object) in operator <<()
327 struct model::test_program_builder::impl : utils::noncopyable {
329 model::test_program prototype;
332 model::metadata metadata;
335 model::test_cases_map test_cases;
344 impl(const model::test_program& prototype_) : in impl()
346 metadata(model::metadata_builder().build()), in impl()
359 model::test_program_builder::test_program_builder( in test_program_builder()
362 _pimpl(new impl(model::test_program(interface_name_, binary_, root_, in test_program_builder()
364 model::metadata_builder().build(), in test_program_builder()
365 model::test_cases_map()))) in test_program_builder()
371 model::test_program_builder::~test_program_builder(void) in ~test_program_builder()
381 model::test_program_builder&
382 model::test_program_builder::add_test_case(const std::string& test_case_name) in add_test_case()
384 return add_test_case(test_case_name, model::metadata_builder().build()); in add_test_case()
394 model::test_program_builder&
395 model::test_program_builder::add_test_case(const std::string& test_case_name, in add_test_case()
396 const model::metadata& metadata) in add_test_case()
398 const model::test_case test_case(test_case_name, metadata); in add_test_case()
401 _pimpl->test_cases.insert(model::test_cases_map::value_type( in add_test_case()
412 model::test_program_builder&
413 model::test_program_builder::set_metadata(const model::metadata& metadata) in set_metadata()
426 model::test_program
427 model::test_program_builder::build(void) const in build()
447 model::test_program_ptr
448 model::test_program_builder::build_ptr(void) const in build_ptr()