MCPcopy Create free account
hub / github.com/boostorg/leaf / test_single_thread

Function test_single_thread

test/so_dll_test.cpp:131–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129#endif // #ifndef BOOST_LEAF_NO_EXCEPTIONS
130
131void test_single_thread()
132{
133 BOOST_TEST_EQ(test_result(hidden_result2, true), 0);
134 BOOST_TEST_EQ(test_result(hidden_result1, true), 0);
135
136#ifndef BOOST_LEAF_NO_EXCEPTIONS
137 BOOST_TEST_EQ(test_exception(hidden_throw1, true), 0);
138 BOOST_TEST_EQ(test_catch(hidden_throw1), 0);
139 BOOST_TEST_EQ(test_exception(hidden_throw2, true), 0);
140 BOOST_TEST_EQ(test_catch(hidden_throw2), 0);
141#endif // #ifndef BOOST_LEAF_NO_EXCEPTIONS
142}
143
144void test_multithreaded()
145{

Callers 1

mainFunction · 0.85

Calls 3

test_exceptionFunction · 0.85
test_catchFunction · 0.85
test_resultFunction · 0.70

Tested by

no test coverage detected