Home
last modified time | relevance | path

Searched refs:unit_test (Results 1 – 25 of 1057) sorted by relevance

12345678910>>...43

/third_party/boost/libs/test/doc/html/
Dstandalone_HTML.manifest215 boost/unit_test/data/monomorphic/array.html
216 boost/unit_test/data/monomorphic/is_datas_idm45267320812496.html
218 boost/unit_test/data/monomorphic/collection.html
219 boost/unit_test/data/monomorphic/is_datas_idm45267288345840.html
221 boost/unit_test/data/monomorphic/delayed_dataset.html
222 boost/unit_test/data/monomorphic/is_datas_idm45267288323040.html
224 boost/unit_test/data/monomorphic/has_dataset.html
225 boost/unit_test/data/monomorphic/has_data_idm45267288312208.html
226 boost/unit_test/data/monomorphic/is_dataset.html
227 boost/unit_test/data/monomorphic/is_datas_idm45267288305760.html
[all …]
/third_party/boost/boost/test/
Dunit_test_suite.hpp37 boost::unit_test::make_test_case( boost::function<void ()>(test_function), \
43 boost::unit_test::make_test_case( (test_function), \
52 ( new boost::unit_test::test_suite( testsuite_name, __FILE__, __LINE__ ) )
69 boost::unit_test::decorator::collector_t::instance() ) \
137 BOOST_TEST_DECORATOR( * boost::unit_test::expected_failures( n ) ) \
152 boost::unit_test::setup_conditional(t); \
156 boost::unit_test::teardown_conditional(t); \
163 boost::unit_test::make_test_case( \
173 boost::unit_test::decorator::collector_t::instance() ) \
242 boost::unit_test::setup_conditional(t); \
[all …]
Dunit_test_log.hpp37 namespace unit_test { namespace
231 (::boost::unit_test::unit_test_log \
232 << ::boost::unit_test::log::begin( BOOST_TEST_L(__FILE__), __LINE__ ))(ll) \
244 (::boost::unit_test::unit_test_log \
245 << ::boost::unit_test::log::begin( \
248 ( ::boost::unit_test::log_messages ) \
254 BOOST_TEST_LOG_ENTRY( ::boost::unit_test::log_messages ) \
261 ::boost::unit_test::unit_test_log.set_checkpoint( \
269 ::boost::unit_test::unit_test_log.set_checkpoint( \
Ddebug.hpp69 unit_test::const_string binary_path; ///< path to executable for current process
70unit_test::const_string display; ///< if debugger has a GUI, which display to use (on U…
71unit_test::const_string init_done_lock; ///< path to a uniquely named lock file, which is used…
94 std::string BOOST_TEST_DECL set_debugger( unit_test::const_string dbg_id, dbg_starter s = dbg_start…
118 …id BOOST_TEST_DECL detect_memory_leaks( bool on_off, unit_test::const_string report_file = unit_te…
/third_party/boost/libs/test/doc/test_output/
Dlogger_api.qbk12 log. The interface of the logger is provided by singleton class [classref boost::unit_test::unit_te…
16 boost::unit_test::unit_test_log
31 boost::unit_test::unit_test_log.set_stream( std::ostream& );
37 boost::unit_test::unit_test_log.set_stream( boost::unit_test::output_format, std::ostream& );
40 [tip See [memberref boost::unit_test::unit_test_log_t::set_stream] and [enumref boost::unit_test::o…
59 boost::unit_test::unit_test_log.set_threshold_level( boost::unit_test::log_level );
65 …boost::unit_test::unit_test_log.set_threshold_level( boost::unit_test::output_format, boost::unit_…
69 [tip See [memberref boost::unit_test::unit_test_log_t::set_threshold_level] and [enumref boost::uni…
85 boost::unit_test::unit_test_log.set_format( boost::unit_test::output_format );
91 boost::unit_test::unit_test_log.add_format( boost::unit_test::output_format );
[all …]
/third_party/boost/libs/test/test/test-organization-ts/
Ddataset-master-test-suite-accessible-test.cpp49 boost::unit_test::data::size_t size() const { in size()
65 int argc = boost::unit_test::framework::master_test_suite().argc; in dataset_loader()
66 char** argv = boost::unit_test::framework::master_test_suite().argv; in dataset_loader()
76 namespace boost { namespace unit_test { namespace data { namespace
90 … boost::unit_test::data::make_delayed<dataset_loader>( ) ^ boost::unit_test::data::make(expected),
99 …boost::unit_test::data::make_delayed<dataset_loader>( ) ^ dataset_loader({"--param1=1", "--param2=…
107 …boost::unit_test::data::make_delayed<dataset_loader>( "--param1=1", "--param2=2" ) ^ boost::unit_t…
114 …boost::unit_test::data::make_delayed<dataset_loader>( ) * dataset_loader({"--param1=1", "--param2=…
121 …dataset_loader({"--param1=1", "--param2=2"}) * boost::unit_test::data::make_delayed<dataset_loader…
129 …boost::unit_test::data::make_delayed<dataset_loader>( ) + dataset_loader({"--param1=1", "--param2=…
[all …]
Dtest_unit-report-clashing-names.cpp25 using namespace boost::unit_test; in BOOST_AUTO_TEST_CASE()
34 boost::unit_test::framework::setup_error ); in BOOST_AUTO_TEST_CASE()
39 using namespace boost::unit_test; in BOOST_AUTO_TEST_CASE()
49 boost::unit_test::framework::setup_error ); in BOOST_AUTO_TEST_CASE()
61 using namespace boost::unit_test; in BOOST_AUTO_TEST_CASE()
76 boost::unit_test::framework::setup_error ); in BOOST_AUTO_TEST_CASE()
87 using namespace boost::unit_test; in BOOST_AUTO_TEST_CASE()
96 boost::unit_test::framework::setup_error ); in BOOST_AUTO_TEST_CASE()
99 …t_suite1->add( BOOST_TEST_CASE_NAME( boost::bind( test2, i ), "test-X-" + boost::unit_test::utils:… in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/test/tools/
Dcollection_comparison_op.hpp68 unit_test::is_forward_iterable<Lhs>::value && !unit_test::is_cstring<Lhs>::value
69 && unit_test::is_forward_iterable<Rhs>::value && !unit_test::is_cstring<Rhs>::value,
75 typedef unit_test::bt_iterator_traits<Lhs> t_Lhs_iterator; in lexicographic_compare()
76 typedef unit_test::bt_iterator_traits<Rhs> t_Rhs_iterator; in lexicographic_compare()
133 (unit_test::is_cstring<Lhs>::value || unit_test::is_cstring<Rhs>::value),
137 typedef typename unit_test::deduce_cstring_transform<Lhs>::type lhs_char_type; in lexicographic_compare()
138 typedef typename unit_test::deduce_cstring_transform<Rhs>::type rhs_char_type; in lexicographic_compare()
154 unit_test::is_forward_iterable<Lhs>::value && !unit_test::is_cstring<Lhs>::value
155 && unit_test::is_forward_iterable<Rhs>::value && !unit_test::is_cstring<Rhs>::value,
159 typedef unit_test::bt_iterator_traits<Lhs> t_Lhs_iterator; in element_compare()
[all …]
/third_party/boost/boost/test/utils/runtime/
Dmodifier.hpp46 auto const& description = unit_test::static_constant<nfp::typed_keyword<cstring,struct descript…
47 auto const& help = unit_test::static_constant<nfp::typed_keyword<cstring,struct help_t>>…
48 auto const& env_var = unit_test::static_constant<nfp::typed_keyword<cstring,struct env_var_…
49 auto const& end_of_params = unit_test::static_constant<nfp::typed_keyword<cstring,struct end_of_p…
50 auto const& negation_prefix = unit_test::static_constant<nfp::typed_keyword<cstring,struct neg_pref…
51 auto const& value_hint = unit_test::static_constant<nfp::typed_keyword<cstring,struct value_hi…
52 auto const& optional_value = unit_test::static_constant<nfp::keyword<struct optional_value_t>>::va…
53 auto const& default_value = unit_test::static_constant<nfp::keyword<struct default_value_t>>::val…
54 auto const& callback = unit_test::static_constant<nfp::keyword<struct callback_t>>::value;
57 using enum_values = unit_test::static_constant<
[all …]
/third_party/googletest/googletest/test/
Dgtest-unittest-api_test.cc57 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestSuites() local
59 unit_test.total_test_suite_count())]; in GetSortedTestSuites()
61 for (int i = 0; i < unit_test.total_test_suite_count(); ++i) in GetSortedTestSuites()
62 test_suites[i] = unit_test.GetTestSuite(i); in GetSortedTestSuites()
65 test_suites + unit_test.total_test_suite_count(), in GetSortedTestSuites()
73 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestSuite() local
74 for (int i = 0; i < unit_test.total_test_suite_count(); ++i) { in FindTestSuite()
75 const TestSuite* test_suite = unit_test.GetTestSuite(i); in FindTestSuite()
109 UnitTest* unit_test = UnitTest::GetInstance(); in TEST() local
111 ASSERT_EQ(2 + kTypedTestSuites, unit_test->total_test_suite_count()); in TEST()
[all …]
/third_party/boost/libs/test/test/framework-ts/
Dlogger-for-tests.hpp19 using namespace boost::unit_test;
29 boost::unit_test::const_string pattern_file_name = boost::unit_test::const_string(), in output_test_stream_for_loggers()
127 boost::unit_test::unit_test_log.set_format(log_format); in log_setup_teardown()
129 boost::unit_test::unit_test_log.add_format(additional_log_format); in log_setup_teardown()
131 boost::unit_test::unit_test_log.set_stream(output); in log_setup_teardown()
133 m_previous_ll = boost::unit_test::unit_test_log.set_threshold_level(ll); in log_setup_teardown()
138 boost::unit_test::unit_test_log.set_format(OF_CLF); in ~log_setup_teardown()
139 boost::unit_test::unit_test_log.set_stream(std::cout); in ~log_setup_teardown()
140 boost::unit_test::unit_test_log.set_threshold_level( m_previous_ll ); in ~log_setup_teardown()
141 boost::unit_test::unit_test_log.configure(); // forces reconfiguration in ~log_setup_teardown()
/third_party/boost/boost/test/utils/basic_cstring/
Dcompare.hpp35 namespace unit_test { namespace
102 operator <( boost::unit_test::basic_cstring<CharT> const& x, in operator <()
103 boost::unit_test::basic_cstring<CharT> const& y ) in operator <()
105 typedef typename boost::unit_test::basic_cstring<CharT>::traits_type traits_type; in operator <()
115 operator <=( boost::unit_test::basic_cstring<CharT> const& x, in operator <=()
116 boost::unit_test::basic_cstring<CharT> const& y ) in operator <=()
125 operator >( boost::unit_test::basic_cstring<CharT> const& x, in operator >()
126 boost::unit_test::basic_cstring<CharT> const& y ) in operator >()
135 operator >=( boost::unit_test::basic_cstring<CharT> const& x, in operator >=()
136 boost::unit_test::basic_cstring<CharT> const& y ) in operator >=()
/third_party/boost/libs/process/test/
Dasync.cpp37 BOOST_AUTO_TEST_CASE(async_wait, *boost::unit_test::timeout(5))
39 using boost::unit_test::framework::master_test_suite;
89 BOOST_AUTO_TEST_CASE(async_wait_sync_wait, *boost::unit_test::timeout(5))
91 using boost::unit_test::framework::master_test_suite;
135 BOOST_AUTO_TEST_CASE(async_wait_different_contexts, *boost::unit_test::timeout(10))
137 using boost::unit_test::framework::master_test_suite;
201 BOOST_AUTO_TEST_CASE(async_wait_abort, *boost::unit_test::timeout(5))
203 using boost::unit_test::framework::master_test_suite;
240 BOOST_AUTO_TEST_CASE(async_future, *boost::unit_test::timeout(3))
242 using boost::unit_test::framework::master_test_suite;
[all …]
Dbind_stdout.cpp46 BOOST_AUTO_TEST_CASE(sync_io, *boost::unit_test::timeout(5))
48 using boost::unit_test::framework::master_test_suite;
89 BOOST_AUTO_TEST_CASE(async_io, *boost::unit_test::timeout(2))
91 using boost::unit_test::framework::master_test_suite;
112 BOOST_AUTO_TEST_CASE(nul, *boost::unit_test::timeout(2))
114 using boost::unit_test::framework::master_test_suite;
137 BOOST_AUTO_TEST_CASE(file_io, *boost::unit_test::timeout(2))
139 using boost::unit_test::framework::master_test_suite;
Dbind_stderr.cpp44 BOOST_AUTO_TEST_CASE(sync_io, *boost::unit_test::timeout(2))
46 using boost::unit_test::framework::master_test_suite;
81 BOOST_AUTO_TEST_CASE(async_io, *boost::unit_test::timeout(2))
83 using boost::unit_test::framework::master_test_suite;
104 BOOST_AUTO_TEST_CASE(nul, *boost::unit_test::timeout(2))
106 using boost::unit_test::framework::master_test_suite;
126 BOOST_AUTO_TEST_CASE(file_io, *boost::unit_test::timeout(2))
128 using boost::unit_test::framework::master_test_suite;
Dbind_stdin.cpp47 BOOST_AUTO_TEST_CASE(sync_io, *boost::unit_test::timeout(10))
50 using boost::unit_test::framework::master_test_suite;
110 BOOST_AUTO_TEST_CASE(async_io, *boost::unit_test::timeout(2))
113 using boost::unit_test::framework::master_test_suite;
144 BOOST_AUTO_TEST_CASE(nul, *boost::unit_test::timeout(2))
148 using boost::unit_test::framework::master_test_suite;
169 BOOST_AUTO_TEST_CASE(file_io, *boost::unit_test::timeout(2))
172 using boost::unit_test::framework::master_test_suite;
211 BOOST_AUTO_TEST_CASE(file_io_C, *boost::unit_test::timeout(2))
215 using boost::unit_test::framework::master_test_suite;
Dasync_system_stackful_error.cpp29 BOOST_AUTO_TEST_CASE(stackful, *boost::unit_test::timeout(15))
31 using boost::unit_test::framework::master_test_suite;
56 BOOST_AUTO_TEST_CASE(stackful_except, *boost::unit_test::timeout(15))
58 using boost::unit_test::framework::master_test_suite;
83 BOOST_AUTO_TEST_CASE(stackful_error, *boost::unit_test::timeout(15))
85 using boost::unit_test::framework::master_test_suite;
Dpipe.cpp22 BOOST_AUTO_TEST_CASE(plain, *boost::unit_test::timeout(2))
36 BOOST_AUTO_TEST_CASE(named, *boost::unit_test::timeout(2))
58 BOOST_AUTO_TEST_CASE(copy_pipe, *boost::unit_test::timeout(2))
73 BOOST_AUTO_TEST_CASE(move_pipe, *boost::unit_test::timeout(2))
88 BOOST_AUTO_TEST_CASE(stream, *boost::unit_test::timeout(2))
105 BOOST_AUTO_TEST_CASE(stream_move, *boost::unit_test::timeout(2))
130 BOOST_AUTO_TEST_CASE(ostream_move, *boost::unit_test::timeout(2))
155 BOOST_AUTO_TEST_CASE(stream_move_assignment, *boost::unit_test::timeout(2))
182 BOOST_AUTO_TEST_CASE(ostream_move_assignment, *boost::unit_test::timeout(2))
209 BOOST_AUTO_TEST_CASE(stream_line, *boost::unit_test::timeout(2))
[all …]
Denv.cpp32 BOOST_AUTO_TEST_CASE(inherit_env, *boost::unit_test::timeout(2))
34 using boost::unit_test::framework::master_test_suite;
72 BOOST_AUTO_TEST_CASE(inherit_mod_env, *boost::unit_test::timeout(2))
74 using boost::unit_test::framework::master_test_suite;
115 BOOST_AUTO_TEST_CASE(modifided_env, *boost::unit_test::timeout(2))
117 using boost::unit_test::framework::master_test_suite;
145 BOOST_AUTO_TEST_CASE(append, *boost::unit_test::timeout(5))
147 using boost::unit_test::framework::master_test_suite;
Dposix_specific.cpp29 BOOST_AUTO_TEST_CASE(bind_fd, *boost::unit_test::timeout(2))
31 using boost::unit_test::framework::master_test_suite;
52 BOOST_AUTO_TEST_CASE(bind_fds, *boost::unit_test::timeout(2))
54 using boost::unit_test::framework::master_test_suite;
81 BOOST_AUTO_TEST_CASE(execve_set_on_error, *boost::unit_test::timeout(2))
92 BOOST_AUTO_TEST_CASE(execve_throw_on_error, *boost::unit_test::timeout(2))
106 BOOST_AUTO_TEST_CASE(leak_test, *boost::unit_test::timeout(5))
108 using boost::unit_test::framework::master_test_suite;
/third_party/googletest/googletest/samples/
Dsample9_unittest.cc55 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd() argument
56 fprintf(stdout, "TEST %s\n", unit_test.Passed() ? "PASSED" : "FAILED"); in OnTestProgramEnd()
114 UnitTest& unit_test = *UnitTest::GetInstance(); in main() local
119 TestEventListeners& listeners = unit_test.listeners(); in main()
138 for (int i = 0; i < unit_test.total_test_suite_count(); ++i) { in main()
139 const testing::TestSuite& test_suite = *unit_test.GetTestSuite(i); in main()
/third_party/boost/boost/test/utils/
Dforeach.hpp37 namespace unit_test { namespace
225 #define BOOST_TEST_FE_ANY ::boost::unit_test::for_each::static_any_t
226 #define BOOST_TEST_FE_IS_CONST( COL ) ::boost::unit_test::for_each::is_const_coll( COL )
229 ::boost::unit_test::for_each::begin( \
235 ::boost::unit_test::for_each::end( \
241 ::boost::unit_test::for_each::done( \
249 ::boost::unit_test::for_each::next( \
256 ::boost::unit_test::for_each::prev( \
266 ::boost::unit_test::for_each::deref( \
/third_party/boost/boost/beast/_experimental/unit_test/
Dmain.ipp10 #include <boost/beast/_experimental/unit_test/amount.hpp>
11 #include <boost/beast/_experimental/unit_test/dstream.hpp>
12 #include <boost/beast/_experimental/unit_test/global_suites.hpp>
13 #include <boost/beast/_experimental/unit_test/match.hpp>
14 #include <boost/beast/_experimental/unit_test/reporter.hpp>
15 #include <boost/beast/_experimental/unit_test/suite.hpp>
36 using namespace boost::beast::unit_test;
/third_party/boost/libs/beast/include/boost/beast/_experimental/unit_test/
Dmain.ipp10 #include <boost/beast/_experimental/unit_test/amount.hpp>
11 #include <boost/beast/_experimental/unit_test/dstream.hpp>
12 #include <boost/beast/_experimental/unit_test/global_suites.hpp>
13 #include <boost/beast/_experimental/unit_test/match.hpp>
14 #include <boost/beast/_experimental/unit_test/reporter.hpp>
15 #include <boost/beast/_experimental/unit_test/suite.hpp>
36 using namespace boost::beast::unit_test;
/third_party/boost/libs/math/test/
Dquaternion_mult_incl_test.cpp16 boost::unit_test::test_suite * init_unit_test_suite(int, char *[]) in init_unit_test_suite()
18 ::boost::unit_test::unit_test_log. in init_unit_test_suite()
19 set_threshold_level(::boost::unit_test::log_messages); in init_unit_test_suite()
21 boost::unit_test::test_suite * test = in init_unit_test_suite()

12345678910>>...43