9 #include <boost/version.hpp>
12 #if BOOST_VERSION >= 105900
13 #include <boost/test/tools/output_test_stream.hpp>
15 #include <boost/test/output_test_stream.hpp>
17 #include <boost/test/unit_test.hpp>
18 #include <boost/test/unit_test_suite.hpp>
20 using boost::test_tools::output_test_stream;
34 std::string msg_aea(
"Test exception abstract");
38 output_test_stream output;
40 BOOST_CHECK(output.is_equal(
"Test exception abstract"));
44 output.is_equal(
"AbstractError [#10]: Test exception abstract\n"));
48 std::string msg_aet(
"Test exception traces simple");
50 output_test_stream output;
53 output.is_equal(
"TracesError [#300]: Test exception traces simple\n"));
57 std::string msg_aet2(
"Test exception traces ");
61 output.is_equal(
"TracesError [#300]: Test exception traces (2,3)\n"));