Home
last modified time | relevance | path

Searched refs:test_unit (Results 1 – 25 of 63) sorted by relevance

123

/third_party/boost/boost/test/tree/
Ddecorator.hpp42 class test_unit;
58 void store_in( test_unit& tu );
88 virtual void apply( test_unit& tu ) = 0;
117 void apply( test_unit& tu ) BOOST_OVERRIDE;
131 void apply( test_unit& tu ) BOOST_OVERRIDE;
148 void apply( test_unit& tu ) BOOST_OVERRIDE;
165 void apply( test_unit& tu ) BOOST_OVERRIDE;
182 void apply( test_unit& tu ) BOOST_OVERRIDE;
199 void apply( test_unit& tu ) BOOST_OVERRIDE;
212 void apply_impl( test_unit& tu, bool condition );
[all …]
Dobserver.hpp67 virtual void test_unit_start( test_unit const& /* test */) {} in test_unit_start()
72 virtual void test_unit_finish( test_unit const& /* test */, unsigned long /* elapsed */ ) {} in test_unit_finish()
73 …virtual void test_unit_skipped( test_unit const& tu, const_string ) { test_unit_skipped( tu ); } in test_unit_skipped()
74 virtual void test_unit_skipped( test_unit const& ) {} ///< backward compatibility in test_unit_skipped()
80 virtual void test_unit_timed_out( test_unit const& ) {} in test_unit_timed_out()
87 virtual void test_unit_aborted( test_unit const& ) {} in test_unit_aborted()
Dtest_unit.hpp55 class BOOST_TEST_DECL test_unit { class
64 typedef BOOST_READONLY_PROPERTY(id_list,(test_unit)) id_list_t;
66 typedef BOOST_READONLY_PROPERTY(std::vector<std::string>,(test_unit)) label_list_t;
69 typedef BOOST_READONLY_PROPERTY(std::vector<precondition_t>,(test_unit)) precond_list_t;
72 void depends_on( test_unit* tu );
112 ~test_unit();
114 test_unit( const_string tu_name, const_string tc_file, std::size_t tc_line, test_unit_type t );
116 explicit test_unit( const_string module_name );
125 virtual test_unit* next() const = 0;
135 class BOOST_TEST_DECL test_case : public test_unit {
[all …]
Dvisitor.hpp37 virtual bool visit( test_unit const& ) { return true; } in visit()
38 virtual void visit( test_case const& tc ) { visit( (test_unit const&)tc ); } in visit()
39 … virtual bool test_suite_start( test_suite const& ts ){ return visit( (test_unit const&)ts ); } in test_suite_start()
/third_party/boost/boost/test/impl/
Ddecorator.ipp16 #include <boost/test/tree/test_unit.hpp>
52 collector_t::store_in( test_unit& tu )
114 stack_decorator::apply( test_unit& /*tu*/ )
124 label::apply( test_unit& tu )
136 expected_failures::apply( test_unit& tu )
148 timeout::apply( test_unit& tu )
160 description::apply( test_unit& tu )
172 depends_on::apply( test_unit& tu )
179 test_unit* dep = &framework::master_test_suite();
203 enable_if_impl::apply_impl( test_unit& tu, bool condition )
[all …]
Dtest_tree.ipp22 #include <boost/test/tree/test_unit.hpp>
46 // ************** test_unit ************** //
49 test_unit::test_unit( const_string name, const_string file_name, std::size_t line_num, test_unit_ty…
67 test_unit::test_unit( const_string module_name )
84 test_unit::~test_unit()
92 test_unit::depends_on( test_unit* tu )
103 test_unit::add_precondition( precondition_t const& pc )
111 test_unit::check_preconditions() const
114 test_unit const& dep = framework::get( dep_id, TUT_ANY );
153 test_unit::increase_exp_fail( counter_t num )
[all …]
Dresults_collector.ipp22 #include <boost/test/tree/test_unit.hpp>
156 bool visit( test_unit const& tu) BOOST_OVERRIDE
188 results_collector_t::test_unit_start( test_unit const& tu )
202 …explicit results_collect_helper( test_results& tr, test_unit const& ts ) : m_tr( tr ), m_ts( ts ) …
244 test_unit const& m_ts;
250 results_collector_t::test_unit_finish( test_unit const& tu, unsigned long elapsed_in_microseconds )
272 results_collector_t::test_unit_skipped( test_unit const& tu, const_string /*reason*/ )
290 results_collector_t::test_unit_timed_out(test_unit const& tu)
329 results_collector_t::test_unit_aborted( test_unit const& tu )
Dxml_report_formatter.ipp22 #include <boost/test/tree/test_unit.hpp>
52 xml_report_formatter::test_unit_report_start( test_unit const& tu, std::ostream& ostr )
95 xml_report_formatter::test_unit_report_finish( test_unit const& tu, std::ostream& ostr )
103 xml_report_formatter::do_confirmation_report( test_unit const& tu, std::ostream& ostr )
Dframework.ipp33 #include <boost/test/tree/test_unit.hpp>
151 test_unit& tu = framework::get( tu_id, TUT_ANY );
218 bool pass( test_unit const& tu ) const
262 bool filter_unit( test_unit const& tu )
323 bool visit( test_unit const& tu ) BOOST_OVERRIDE
345 explicit set_run_status( test_unit::run_status rs, test_unit_id_list* dep_collector = 0 )
351 bool visit( test_unit const& tu ) BOOST_OVERRIDE
353 …const_cast<test_unit&>(tu).p_run_status.value = m_new_status == test_unit::RS_INVALID ? tu.p_defau…
356 test_unit const& dep = framework::get( dep_id, TUT_ANY );
372 test_unit::run_status m_new_status;
[all …]
Dxml_log_formatter.ipp22 #include <boost/test/tree/test_unit.hpp>
40 static const_string tu_type_name( test_unit const& tu )
83 xml_log_formatter::test_unit_start( std::ostream& ostr, test_unit const& tu )
97 xml_log_formatter::test_unit_finish( std::ostream& ostr, test_unit const& tu, unsigned long elapsed…
108 xml_log_formatter::test_unit_skipped( std::ostream& ostr, test_unit const& tu, const_string reason )
Dunit_test_main.ipp24 #include <boost/test/tree/test_unit.hpp>
61 void report_test_unit( test_unit const& tu )
64 m_os << (tu.p_default_status == test_unit::RS_ENABLED ? "*" : " ");
97 void report_test_unit( test_unit const& tu )
107 m_os << (tu.p_default_status == test_unit::RS_ENABLED ? ",color=green" : ",color=yellow");
130 test_unit const& dep = framework::get( dep_id, TUT_ANY );
169 bool visit( test_unit const& tu ) BOOST_OVERRIDE
/third_party/boost/boost/test/
Dresults_collector.hpp126 void test_unit_start( test_unit const& ) BOOST_OVERRIDE;
127 void test_unit_finish( test_unit const&, unsigned long ) BOOST_OVERRIDE;
128 void test_unit_skipped( test_unit const&, const_string ) BOOST_OVERRIDE;
129 void test_unit_aborted( test_unit const& ) BOOST_OVERRIDE;
130 void test_unit_timed_out( test_unit const& ) BOOST_OVERRIDE;
Dunit_test_log_formatter.hpp154 virtual void test_unit_start( std::ostream& os, test_unit const& tu ) = 0;
162 …virtual void test_unit_finish( std::ostream& os, test_unit const& tu, unsigned long elapsed…
169 …virtual void test_unit_skipped( std::ostream& os, test_unit const& tu, const_string /* reas… in test_unit_skipped()
176 virtual void test_unit_skipped( std::ostream& /* os */, test_unit const& /* tu */) {} in test_unit_skipped()
179 virtual void test_unit_aborted( std::ostream& /* os */, test_unit const& /* tu */) {} in test_unit_aborted()
182 virtual void test_unit_timed_out( std::ostream& /* os */, test_unit const& /* tu */) {} in test_unit_timed_out()
Dframework.hpp117 BOOST_TEST_DECL void deregister_test_unit( test_unit* tu );
202 BOOST_TEST_DECL test_unit const& current_test_unit();
220 BOOST_TEST_DECL test_unit& get( test_unit_id tu_id, test_unit_type tu_type );
246 BOOST_TEST_DECL void run( test_unit const* tu, bool continue_test = true );
256 BOOST_TEST_DECL void test_unit_aborted( test_unit const& );
263 BOOST_TEST_DECL void setup_for_execution( test_unit const& );
Dunit_test_log.hpp118 void test_unit_start( test_unit const& ) BOOST_OVERRIDE;
119 void test_unit_finish( test_unit const&, unsigned long elapsed ) BOOST_OVERRIDE;
120 void test_unit_skipped( test_unit const&, const_string ) BOOST_OVERRIDE;
121 void test_unit_aborted( test_unit const& ) BOOST_OVERRIDE;
122 void test_unit_timed_out( test_unit const& ) BOOST_OVERRIDE;
Dresults_reporter.hpp51 virtual void test_unit_report_start( test_unit const&, std::ostream& ostr ) = 0;
52 virtual void test_unit_report_finish( test_unit const&, std::ostream& ostr ) = 0;
54 virtual void do_confirmation_report( test_unit const&, std::ostream& ostr ) = 0;
Dprogress_monitor.hpp40 void test_unit_finish( test_unit const&, unsigned long ) BOOST_OVERRIDE;
41 void test_unit_skipped( test_unit const&, const_string ) BOOST_OVERRIDE;
/third_party/boost/boost/test/output/
Djunit_log_formatter.hpp106 void test_unit_start( std::ostream&, test_unit const& tu ) BOOST_OVERRIDE;
107 …void test_unit_finish( std::ostream&, test_unit const& tu, unsigned long elapsed ) BOOST_OVERRI…
108 …void test_unit_skipped( std::ostream&, test_unit const& tu, const_string reason ) BOOST_OVERRID…
109 void test_unit_aborted( std::ostream& os, test_unit const& tu ) BOOST_OVERRIDE;
110 void test_unit_timed_out( std::ostream& os, test_unit const& tu) BOOST_OVERRIDE;
Dxml_report_formatter.hpp40 void test_unit_report_start( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
41 void test_unit_report_finish( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
43 void do_confirmation_report( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
Dplain_report_formatter.hpp42 void test_unit_report_start( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
43 void test_unit_report_finish( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
45 void do_confirmation_report( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
Dxml_log_formatter.hpp44 void test_unit_start( std::ostream&, test_unit const& tu ) BOOST_OVERRIDE;
45 …void test_unit_finish( std::ostream&, test_unit const& tu, unsigned long elapsed ) BOOST_OVERRI…
46 …void test_unit_skipped( std::ostream&, test_unit const& tu, const_string reason ) BOOST_OVERRID…
Dcompiler_log_formatter.hpp43 void test_unit_start( std::ostream&, test_unit const& tu ) BOOST_OVERRIDE;
44 …void test_unit_finish( std::ostream&, test_unit const& tu, unsigned long elapsed ) BOOST_OVERRI…
45 …void test_unit_skipped( std::ostream&, test_unit const& tu, const_string reason ) BOOST_OVERRID…
/third_party/boost/libs/test/test/test-organization-ts/
Dtest_unit-order-test.cpp39 virtual void test_unit_start( ut::test_unit const& tu ) in test_unit_start()
56 master->p_default_status.value = ut::test_unit::RS_ENABLED; in run_tree()
149 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
162 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
318 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
330 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
342 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
353 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
364 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
376 master->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_FIXTURE_TEST_CASE()
Dtest_case_template-test.cpp86 test->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_AUTO_TEST_CASE()
109 test->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_AUTO_TEST_CASE()
132 test->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_AUTO_TEST_CASE()
153 test->p_default_status.value = ut::test_unit::RS_ENABLED; in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/test/test/framework-ts/
Dlog-count-skipped-test.cpp67 virtual bool visit( test_unit const& tu ) in check()
69 const_cast<test_unit&>(tu).p_default_status.value = test_case::RS_INHERIT; in check()
70 const_cast<test_unit&>(tu).p_run_status.value = test_case::RS_INVALID; in check()
81 framework::get<test_suite>(id).p_default_status.value = test_unit::RS_ENABLED; in check()

123