diff --git a/include/boost/test/impl/compiler_log_formatter.ipp b/include/boost/test/impl/compiler_log_formatter.ipp index 4887ff58..0e83448b 100644 --- a/include/boost/test/impl/compiler_log_formatter.ipp +++ b/include/boost/test/impl/compiler_log_formatter.ipp @@ -260,21 +260,29 @@ compiler_log_formatter::print_prefix( std::ostream& output, const_string file_na void compiler_log_formatter::entry_context_start( std::ostream& output, log_level l ) { - output << (l == log_successful_tests ? "\nAssertion" : "\nFailure" ) << " occurred in a following context:"; + if( l == log_messages ) { + output << "\n[context:"; + } + else { + output << (l == log_successful_tests ? "\nAssertion" : "\nFailure" ) << " occurred in a following context:"; + } } //____________________________________________________________________________// void -compiler_log_formatter::entry_context_finish( std::ostream& output ) +compiler_log_formatter::entry_context_finish( std::ostream& output, log_level l ) { + if( l == log_messages ) { + output << "]"; + } output.flush(); } //____________________________________________________________________________// void -compiler_log_formatter::log_entry_context( std::ostream& output, const_string context_descr ) +compiler_log_formatter::log_entry_context( std::ostream& output, log_level l, const_string context_descr ) { output << "\n " << context_descr; } diff --git a/include/boost/test/impl/junit_log_formatter.ipp b/include/boost/test/impl/junit_log_formatter.ipp index 7f31ade9..0ec8d438 100644 --- a/include/boost/test/impl/junit_log_formatter.ipp +++ b/include/boost/test/impl/junit_log_formatter.ipp @@ -776,7 +776,7 @@ junit_log_formatter::entry_context_start( std::ostream& /*ostr*/, log_level ) //____________________________________________________________________________// void -junit_log_formatter::entry_context_finish( std::ostream& /*ostr*/ ) +junit_log_formatter::entry_context_finish( std::ostream& /*ostr*/, log_level ) { // no op, may be removed junit_impl::junit_log_helper& last_entry = get_current_log_entry(); @@ -788,7 +788,7 @@ junit_log_formatter::entry_context_finish( std::ostream& /*ostr*/ ) //____________________________________________________________________________// void -junit_log_formatter::log_entry_context( std::ostream& /*ostr*/, const_string context_descr ) +junit_log_formatter::log_entry_context( std::ostream& /*ostr*/, log_level , const_string context_descr ) { junit_impl::junit_log_helper& last_entry = get_current_log_entry(); if(last_entry.skipping) diff --git a/include/boost/test/impl/unit_test_log.ipp b/include/boost/test/impl/unit_test_log.ipp index 717e166b..6ef7d930 100644 --- a/include/boost/test/impl/unit_test_log.ipp +++ b/include/boost/test/impl/unit_test_log.ipp @@ -474,14 +474,14 @@ unit_test_log_t::log_entry_context( log_level l ) { BOOST_TEST_FOREACH( unit_test_log_data_helper_impl&, current_logger_data, s_log_impl().m_log_formatter_data ) { if( current_logger_data.m_enabled ) { - current_logger_data.m_log_formatter->log_entry_context( current_logger_data.stream(), frame ); + current_logger_data.m_log_formatter->log_entry_context( current_logger_data.stream(), l, frame ); } } } BOOST_TEST_FOREACH( unit_test_log_data_helper_impl&, current_logger_data, s_log_impl().m_log_formatter_data ) { if( current_logger_data.m_enabled ) { - current_logger_data.m_log_formatter->entry_context_finish( current_logger_data.stream() ); + current_logger_data.m_log_formatter->entry_context_finish( current_logger_data.stream(), l ); } } } diff --git a/include/boost/test/impl/xml_log_formatter.ipp b/include/boost/test/impl/xml_log_formatter.ipp index 81284020..ef44f1ea 100644 --- a/include/boost/test/impl/xml_log_formatter.ipp +++ b/include/boost/test/impl/xml_log_formatter.ipp @@ -199,7 +199,7 @@ xml_log_formatter::entry_context_start( std::ostream& ostr, log_level ) //____________________________________________________________________________// void -xml_log_formatter::entry_context_finish( std::ostream& ostr ) +xml_log_formatter::entry_context_finish( std::ostream& ostr, log_level ) { ostr << BOOST_TEST_L( "" ); } @@ -207,7 +207,7 @@ xml_log_formatter::entry_context_finish( std::ostream& ostr ) //____________________________________________________________________________// void -xml_log_formatter::log_entry_context( std::ostream& ostr, const_string context_descr ) +xml_log_formatter::log_entry_context( std::ostream& ostr, log_level, const_string context_descr ) { ostr << BOOST_TEST_L( "" ) << utils::cdata() << context_descr << BOOST_TEST_L( "" ); } diff --git a/include/boost/test/output/compiler_log_formatter.hpp b/include/boost/test/output/compiler_log_formatter.hpp index cb6172aa..50359334 100644 --- a/include/boost/test/output/compiler_log_formatter.hpp +++ b/include/boost/test/output/compiler_log_formatter.hpp @@ -51,8 +51,8 @@ public: void log_entry_finish( std::ostream& ); void entry_context_start( std::ostream&, log_level ); - void log_entry_context( std::ostream&, const_string ); - void entry_context_finish( std::ostream& ); + void log_entry_context( std::ostream&, log_level l, const_string ); + void entry_context_finish( std::ostream&, log_level l ); protected: virtual void print_prefix( std::ostream&, const_string file, std::size_t line ); diff --git a/include/boost/test/output/junit_log_formatter.hpp b/include/boost/test/output/junit_log_formatter.hpp index 325a1d8a..713d3b01 100644 --- a/include/boost/test/output/junit_log_formatter.hpp +++ b/include/boost/test/output/junit_log_formatter.hpp @@ -118,8 +118,8 @@ public: void log_entry_finish( std::ostream& ); void entry_context_start( std::ostream&, log_level ); - void log_entry_context( std::ostream&, const_string ); - void entry_context_finish( std::ostream& ); + void log_entry_context( std::ostream&, log_level, const_string ); + void entry_context_finish( std::ostream&, log_level ); //! Discards changes in the log level virtual void set_log_level(log_level ll) diff --git a/include/boost/test/output/xml_log_formatter.hpp b/include/boost/test/output/xml_log_formatter.hpp index 4d848a04..1d8dec0f 100644 --- a/include/boost/test/output/xml_log_formatter.hpp +++ b/include/boost/test/output/xml_log_formatter.hpp @@ -54,8 +54,8 @@ public: void log_entry_finish( std::ostream& ); void entry_context_start( std::ostream&, log_level ); - void log_entry_context( std::ostream&, const_string ); - void entry_context_finish( std::ostream& ); + void log_entry_context( std::ostream&, log_level, const_string ); + void entry_context_finish( std::ostream&, log_level ); private: // Data members diff --git a/include/boost/test/unit_test_log_formatter.hpp b/include/boost/test/unit_test_log_formatter.hpp index 77fec40a..79b74e08 100644 --- a/include/boost/test/unit_test_log_formatter.hpp +++ b/include/boost/test/unit_test_log_formatter.hpp @@ -248,7 +248,7 @@ public: // @name Log entry context report /// Invoked by Unit Test Framework to start log entry context report - + // /// Unit Test Framework logs for failed assertions and uncaught exceptions context if one was defined by a test module. /// Context consists of multiple "scopes" identified by description messages assigned by the test module using /// BOOST_TEST_INFO/BOOST_TEST_CONTEXT statements. @@ -258,18 +258,20 @@ public: virtual void entry_context_start( std::ostream& os, log_level l ) = 0; /// Invoked by Unit Test Framework to report log entry context "scope" description - + // /// Each "scope" description is reported by separate call to log_entry_context. /// @param[in] os output stream to write a messages into + /// @param[in] l entry log_level, to be used to fine tune the message /// @param[in] value context "scope" description /// @see log_entry_start, entry_context_finish - virtual void log_entry_context( std::ostream& os, const_string value ) = 0; + virtual void log_entry_context( std::ostream& os, log_level l, const_string value ) = 0; /// Invoked by Unit Test Framework to finish log entry context report - + /// /// @param[in] os output stream to write a messages into + /// @param[in] l entry log_level, to be used to fine tune the message /// @see log_entry_start, entry_context_context - virtual void entry_context_finish( std::ostream& os ) = 0; + virtual void entry_context_finish( std::ostream& os, log_level l ) = 0; // @} // @name Log level management diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index d21c6fe4..f5bc1fd5 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -137,6 +137,7 @@ test-suite "framework-ts" [ boost.test-self-test run : framework-ts : run-by-name-or-label-test ] [ boost.test-self-test run : framework-ts : version-uses-module-name : included ] [ boost.test-self-test run : framework-ts : test-macro-global-fixture : : baseline-outputs/global-fixtures-test.pattern ] + [ boost.test-self-test run : framework-ts : message-in-datatestcase-test : : baseline-outputs/messages-in-datasets-test.pattern : : : : $(requirements_datasets) ] ; #_________________________________________________________________________________________________# diff --git a/test/baseline-outputs/global-fixtures-test.pattern b/test/baseline-outputs/global-fixtures-test.pattern index bce003f9..b81d9dfe 100644 --- a/test/baseline-outputs/global-fixtures-test.pattern +++ b/test/baseline-outputs/global-fixtures-test.pattern @@ -3,55 +3,55 @@ *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithCtor: dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -59,13 +59,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -158,13 +158,13 @@ CONTEXT: @@ -202,13 +202,13 @@ INFO: @@ -284,13 +284,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithCtor: dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -366,56 +366,56 @@ MESSAGE: *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy": condition 2>3 is not satisfied [2 <= 3] -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithCtor: dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZZZZZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -423,13 +423,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -522,13 +522,13 @@ CONTEXT: @@ -566,13 +566,13 @@ INFO: @@ -648,13 +648,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors": condition 2>3 is not satisfied [2 <= 3] -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithCtor: dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -731,63 +731,63 @@ MESSAGE: *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy": +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy": non sense -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy": non sense +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithCtor: dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -795,13 +795,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -843,13 +843,13 @@ MESSAGE: @@ -942,13 +942,13 @@ CONTEXT: @@ -986,13 +986,13 @@ INFO: @@ -1095,13 +1095,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy no errors": +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy no errors": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy no errors": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy no errors": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy no errors": non sense -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy no errors": non sense +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithCtor: dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* @@ -1154,13 +1154,13 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -1201,7 +1201,7 @@ MESSAGE: 3 is not satisfied [2 <= 3] MESSAGE: @@ -1227,13 +1227,13 @@ MESSAGE: + * 3-format ******************************************************************* @@ -1276,7 +1276,7 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -1332,7 +1332,7 @@ ASSERTION FAILURE: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy no errors": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy no errors": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* - + * 3-format ******************************************************************* @@ -1393,7 +1393,7 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -1430,7 +1430,7 @@ ASSERTION FAILURE: + * 3-format ******************************************************************* @@ -1480,7 +1480,7 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -1555,7 +1555,7 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithCtor: ctor -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy no errors": with some message +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy no errors": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy no errors": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* - + * 3-format ******************************************************************* @@ -1640,7 +1640,7 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -1696,7 +1696,7 @@ CONTEXT: ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -1802,13 +1802,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -1901,13 +1901,13 @@ CONTEXT: @@ -1945,13 +1945,13 @@ INFO: @@ -2027,13 +2027,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function GlobalFixtureWithSetup::setup-calling function done -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -2111,58 +2111,58 @@ MESSAGE: *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy": condition 2>3 is not satisfied [2 <= 3] GlobalFixtureWithSetup::setup-calling function done -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZZZZZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -2170,13 +2170,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -2269,13 +2269,13 @@ CONTEXT: @@ -2313,13 +2313,13 @@ INFO: @@ -2395,13 +2395,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors": condition 2>3 is not satisfied [2 <= 3] GlobalFixtureWithSetup::setup-calling function done -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -2480,65 +2480,65 @@ MESSAGE: *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy": +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy": non sense +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy": non sense GlobalFixtureWithSetup::setup-calling function done -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -2546,13 +2546,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -2604,13 +2604,13 @@ MESSAGE: @@ -2703,13 +2703,13 @@ CONTEXT: @@ -2747,13 +2747,13 @@ INFO: @@ -2856,13 +2856,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy no errors": +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy no errors": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy no errors": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy no errors": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy no errors": non sense +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy no errors": non sense GlobalFixtureWithSetup::setup-calling function done -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* @@ -2917,13 +2917,13 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -2974,7 +2974,7 @@ MESSAGE: 3 is not satisfied [2 <= 3] MESSAGE: @@ -3000,13 +3000,13 @@ MESSAGE: + * 3-format ******************************************************************* @@ -3051,7 +3051,7 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -3117,7 +3117,7 @@ MESSAGE: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy no errors": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy no errors": very_bad_foo is fatal Failure occurred in a following context: some context GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* - + * 3-format ******************************************************************* @@ -3180,7 +3180,7 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -3227,7 +3227,7 @@ MESSAGE: + * 3-format ******************************************************************* @@ -3279,7 +3279,7 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -3364,7 +3364,7 @@ MESSAGE: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithSetup ctor GlobalFixtureWithSetup::setup-calling function -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy no errors": with some message +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy no errors": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy no errors": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown GlobalFixtureWithSetup dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* - + * 3-format ******************************************************************* @@ -3451,7 +3451,7 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -3517,7 +3517,7 @@ MESSAGE: ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -3623,13 +3623,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -3722,13 +3722,13 @@ CONTEXT: @@ -3766,13 +3766,13 @@ INFO: @@ -3848,13 +3848,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithTeardown::teardown-calling function GlobalFixtureWithTeardown::teardown-calling function done GlobalFixtureWithTeardown dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -3932,58 +3932,58 @@ MESSAGE: *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithTeardown::teardown-calling function -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy": condition 2>3 is not satisfied [2 <= 3] GlobalFixtureWithTeardown::teardown-calling function done GlobalFixtureWithTeardown dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -ZZZZZZZZZZZZZZZ3 is not satisfied [2 <= 3]]]> +ZZZZZZZZZZZZZZZ3 is not satisfied [2 <= 3]]]> * 3-format ******************************************************************* @@ -3991,13 +3991,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -4090,13 +4090,13 @@ CONTEXT: @@ -4134,13 +4134,13 @@ INFO: @@ -4216,13 +4216,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithTeardown::teardown-calling function -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors": condition 2>3 is not satisfied [2 <= 3] GlobalFixtureWithTeardown::teardown-calling function done GlobalFixtureWithTeardown dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ3 is not satisfied [2 <= 3]]]> +3 is not satisfied [2 <= 3]]]>ZZZZZZ3 is not satisfied [2 <= 3]]]> * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -4301,65 +4301,65 @@ MESSAGE: *********************** * 1-format ******************************************************************* Running 5 test cases... -xxx/test-macro-global-fixture.cpp:282: Entering test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Entering test suite "Fake Test Suite Hierarchy" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:283: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/bad_foo": +xxx/test-macro-global-fixture.cpp:282: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:283: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:282: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:283: Entering test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy/very_bad_foo": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_foo" -xxx/test-macro-global-fixture.cpp:285: Entering test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message +xxx/test-macro-global-fixture.cpp:283: Leaving test case "very_bad_foo" +xxx/test-macro-global-fixture.cpp:284: Entering test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy/very_bad_exception": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy/very_bad_exception": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:285: Leaving test case "very_bad_exception" -xxx/test-macro-global-fixture.cpp:276: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:277: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:284: Leaving test case "very_bad_exception" +xxx/test-macro-global-fixture.cpp:275: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:276: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:277: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:276: Leaving test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:279: Entering test suite "1 bad test case inside" -xxx/test-macro-global-fixture.cpp:280: Entering test case "bad_foo" -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": +xxx/test-macro-global-fixture.cpp:276: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:275: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:278: Entering test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:279: Entering test case "bad_foo" +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense -xxx/test-macro-global-fixture.cpp:280: Leaving test case "bad_foo" -xxx/test-macro-global-fixture.cpp:279: Leaving test suite "1 bad test case inside" +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy/1 bad test case inside/bad_foo": non sense +xxx/test-macro-global-fixture.cpp:279: Leaving test case "bad_foo" +xxx/test-macro-global-fixture.cpp:278: Leaving test suite "1 bad test case inside" GlobalFixtureWithTeardown::teardown-calling function -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy": +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy": non sense +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy": non sense GlobalFixtureWithTeardown::teardown-calling function done GlobalFixtureWithTeardown dtor -xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hierarchy" +xxx/test-macro-global-fixture.cpp:281: Leaving test suite "Fake Test Suite Hierarchy" * 2-format ******************************************************************* -ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -4367,13 +4367,13 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -4425,13 +4425,13 @@ MESSAGE: @@ -4524,13 +4524,13 @@ CONTEXT: @@ -4568,13 +4568,13 @@ INFO: @@ -4677,13 +4677,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithTeardown::teardown-calling function -xxx/test-macro-global-fixture.cpp:152: error: in "Fake Test Suite Hierarchy no errors": +xxx/test-macro-global-fixture.cpp:154: error: in "Fake Test Suite Hierarchy no errors": this is a message -xxx/test-macro-global-fixture.cpp:155: info: check true has passed -xxx/test-macro-global-fixture.cpp:159: error: in "Fake Test Suite Hierarchy no errors": with some message +xxx/test-macro-global-fixture.cpp:157: info: check true has passed +xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy no errors": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/test-macro-global-fixture.cpp:161: error: in "Fake Test Suite Hierarchy no errors": non sense +xxx/test-macro-global-fixture.cpp:163: error: in "Fake Test Suite Hierarchy no errors": non sense GlobalFixtureWithTeardown::teardown-calling function done GlobalFixtureWithTeardown dtor -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* @@ -4738,13 +4738,13 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -4795,7 +4795,7 @@ MESSAGE: 3 is not satisfied [2 <= 3] MESSAGE: @@ -4821,13 +4821,13 @@ MESSAGE: ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -4913,7 +4913,7 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -4938,13 +4938,13 @@ MESSAGE: @@ -5037,13 +5037,13 @@ CONTEXT: @@ -5081,7 +5081,7 @@ INFO: @@ -5177,13 +5177,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithTeardown::teardown-calling function -xxx/test-macro-global-fixture.cpp:173: fatal error: in "Fake Test Suite Hierarchy no errors": very_bad_foo is fatal +xxx/test-macro-global-fixture.cpp:168: fatal error: in "Fake Test Suite Hierarchy no errors": very_bad_foo is fatal Failure occurred in a following context: some context -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* @@ -5231,7 +5231,7 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -5255,7 +5255,7 @@ MESSAGE: 3 is not satisfied [2 <= 3] MESSAGE: @@ -5281,7 +5281,7 @@ MESSAGE: ZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -5365,7 +5365,7 @@ xxx/test-macro-global-fixture.cpp:282: Leaving test suite "Fake Test Suite Hiera @@ -5409,13 +5409,13 @@ MESSAGE: @@ -5508,13 +5508,13 @@ CONTEXT: @@ -5552,7 +5552,7 @@ INFO: @@ -5667,13 +5667,13 @@ CONTEXT: * 1-format ******************************************************************* Running 2 test cases... -xxx/test-macro-global-fixture.cpp:294: Entering test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Entering test suite "Fake Test Suite Hierarchy no errors" GlobalFixtureWithTeardown ctor -xxx/test-macro-global-fixture.cpp:296: Entering test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:148: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +xxx/test-macro-global-fixture.cpp:295: Entering test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:150: warning: in "Fake Test Suite Hierarchy no errors/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case Fake Test Suite Hierarchy no errors/almost_good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:296: Leaving test case "almost_good_foo" -xxx/test-macro-global-fixture.cpp:291: Entering test suite "1 test cases inside" -xxx/test-macro-global-fixture.cpp:292: Entering test case "good_foo" +xxx/test-macro-global-fixture.cpp:295: Leaving test case "almost_good_foo" +xxx/test-macro-global-fixture.cpp:290: Entering test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Entering test case "good_foo" Test case Fake Test Suite Hierarchy no errors/1 test cases inside/good_foo did not check any assertions -xxx/test-macro-global-fixture.cpp:292: Leaving test case "good_foo" -xxx/test-macro-global-fixture.cpp:291: Leaving test suite "1 test cases inside" +xxx/test-macro-global-fixture.cpp:291: Leaving test case "good_foo" +xxx/test-macro-global-fixture.cpp:290: Leaving test suite "1 test cases inside" GlobalFixtureWithTeardown::teardown-calling function -xxx/test-macro-global-fixture.cpp:182: error: in "Fake Test Suite Hierarchy no errors": with some message +xxx/test-macro-global-fixture.cpp:177: error: in "Fake Test Suite Hierarchy no errors": with some message Failure occurred in a following context: Context value=something Context value2=something different unknown location:0: fatal error: in "Fake Test Suite Hierarchy no errors": unknown type -xxx/test-macro-global-fixture.cpp:182: last checkpoint +xxx/test-macro-global-fixture.cpp:177: last checkpoint Failure occurred in a following context: exception context should be shown -xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hierarchy no errors" +xxx/test-macro-global-fixture.cpp:293: Leaving test suite "Fake Test Suite Hierarchy no errors" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZZZZ +3 is not satisfied [2 <= 3]]]>ZZZZZZ * 3-format ******************************************************************* @@ -5726,7 +5726,7 @@ xxx/test-macro-global-fixture.cpp:294: Leaving test suite "Fake Test Suite Hiera @@ -5769,7 +5769,7 @@ MESSAGE: 3 is not satisfied [2 <= 3] MESSAGE: @@ -5795,7 +5795,7 @@ MESSAGE: ZZZ +ZZZ * 3-format ******************************************************************* @@ -50,13 +50,13 @@ xxx/log-formatter-test.cpp:212: Leaving test suite "1 bad test case inside" @@ -94,13 +94,13 @@ INFO: 3 is not satisfied [2 <= 3] +xxx/log-formatter-test.cpp:44: warning: in "1 almost good test case inside/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] Test case 1 almost good test case inside/almost_good_foo did not check any assertions xxx/log-formatter-test.cpp:216: Leaving test case "almost_good_foo" xxx/log-formatter-test.cpp:215: Leaving test suite "1 almost good test case inside" * 2-format ******************************************************************* -3 is not satisfied [2 <= 3]]]>ZZZ +3 is not satisfied [2 <= 3]]]>ZZZ * 3-format ******************************************************************* 3 is not satisfied [2 <= 3] MESSAGE: @@ -161,19 +161,19 @@ xxx/log-formatter-test.cpp:219: Entering test case "good_foo" Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions xxx/log-formatter-test.cpp:219: Leaving test case "good_foo" xxx/log-formatter-test.cpp:220: Entering test case "bad_foo" -xxx/log-formatter-test.cpp:47: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": +xxx/log-formatter-test.cpp:48: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": this is a message -xxx/log-formatter-test.cpp:50: info: check true has passed -xxx/log-formatter-test.cpp:54: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": with some message +xxx/log-formatter-test.cpp:51: info: check true has passed +xxx/log-formatter-test.cpp:55: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": with some message Failure occurred in a following context: Context value=something Context value2=something different -xxx/log-formatter-test.cpp:56: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": non sense xxx/log-formatter-test.cpp:220: Leaving test case "bad_foo" xxx/log-formatter-test.cpp:218: Leaving test suite "2 test cases inside" * 2-format ******************************************************************* -ZZZZZZ +ZZZZZZ * 3-format ******************************************************************* @@ -189,13 +189,13 @@ xxx/log-formatter-test.cpp:218: Leaving test suite "2 test cases inside" @@ -235,13 +235,13 @@ INFO: ZZZZZZ +ZZZZZZ * 3-format ******************************************************************* @@ -291,13 +291,13 @@ xxx/log-formatter-test.cpp:222: Leaving test suite "3 test cases inside" @@ -331,7 +331,7 @@ INFO: ZZZZZZZZZZZZ +ZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -454,13 +454,13 @@ xxx/log-formatter-test.cpp:230: Leaving test suite "4 test cases inside" @@ -494,7 +494,7 @@ INFO: @@ -589,13 +589,13 @@ INFO: ZZZZZZZZZZZZZZZZZZZZZZZZ +ZZZZZZZZZZZZZZZZZZZZZZZZ * 3-format ******************************************************************* @@ -785,13 +785,13 @@ xxx/log-formatter-test.cpp:236: Leaving test suite "Fake Test Suite Hierarchy" @@ -833,13 +833,13 @@ INFO: @@ -894,13 +894,13 @@ INFO: @@ -934,7 +934,7 @@ INFO: @@ -1031,13 +1031,13 @@ INFO: ZZZZZZ +* 3-format ******************************************************************* + + + + + + + + + +* 3-format ******************************************************************* + + + + + + + diff --git a/test/framework-ts/log-formatter-test.cpp b/test/framework-ts/log-formatter-test.cpp index e72ad12e..9566cec8 100644 --- a/test/framework-ts/log-formatter-test.cpp +++ b/test/framework-ts/log-formatter-test.cpp @@ -13,17 +13,18 @@ #define BOOST_TEST_MAIN #include #include -#include #include #include #include #include typedef boost::onullstream onullstream_type; -#include // BOOST #include +// our special logger for tests +#include "logger-for-tests.hpp" + // STL #include #include @@ -56,13 +57,6 @@ void bad_foo() { BOOST_CHECK_MESSAGE( 1 == 2.3, "non sense" ); } -struct log_guard { - ~log_guard() - { - unit_test_log.set_stream( std::cout ); - } -}; - void very_bad_foo() { BOOST_TEST_CONTEXT("some context") { BOOST_FAIL( "very_bad_foo is fatal" ); @@ -126,89 +120,6 @@ struct guard { } }; - - -class output_test_stream_for_loggers : public output_test_stream { - -public: - explicit output_test_stream_for_loggers( - boost::unit_test::const_string pattern_file_name = boost::unit_test::const_string(), - bool match_or_save = true, - bool text_or_binary = true ) - : output_test_stream(pattern_file_name, match_or_save, text_or_binary) - {} - - static std::string normalize_path(const std::string &str) { - const std::string to_look_for[] = {"\\"}; - const std::string to_replace[] = {"/"}; - return utils::replace_all_occurrences_of( - str, - to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), - to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) - ); - } - - static std::string get_basename() { - static std::string basename; - - if(basename.empty()) { - basename = normalize_path(__FILE__); - std::string::size_type basename_pos = basename.rfind('/'); - if(basename_pos != std::string::npos) { - basename = basename.substr(basename_pos+1); - } - } - return basename; - } - - virtual std::string get_stream_string_representation() const { - std::string current_string = output_test_stream::get_stream_string_representation(); - - std::string pathname_fixes; - { - static const std::string to_look_for[] = {normalize_path(__FILE__)}; - static const std::string to_replace[] = {"xxx/" + get_basename() }; - pathname_fixes = utils::replace_all_occurrences_of( - current_string, - to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), - to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) - ); - } - - std::string other_vars_fixes; - { - static const std::string to_look_for[] = {"time=\"*\"", - get_basename() + "(*):", - "unknown location(*):", - "; testing time: *us\n", // removing this is far more easier than adding a testing time - "; testing time: *ms\n", - "*", - "condition 2>3 is not satisfied\n", - "condition 2>3 is not satisfied]", - }; - - static const std::string to_replace[] = {"time=\"0.1234\"", - get_basename() + ":*:" , - "unknown location:*:", - "\n", - "\n", - "ZZZ", - "condition 2>3 is not satisfied [2 <= 3]\n", - "condition 2>3 is not satisfied [2 <= 3]]", - }; - - other_vars_fixes = utils::replace_all_occurrences_with_wildcards( - pathname_fixes, - to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), - to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) - ); - } - - return other_vars_fixes; - } - -}; - //____________________________________________________________________________// @@ -224,7 +135,10 @@ BOOST_AUTO_TEST_CASE( test_result_reports ) ? (runtime_config::save_pattern() ? PATTERN_FILE_NAME : "./baseline-outputs/" PATTERN_FILE_NAME ) : framework::master_test_suite().argv[1] ); - output_test_stream_for_loggers test_output( pattern_file_name, !runtime_config::save_pattern() ); + output_test_stream_for_loggers test_output( pattern_file_name, + !runtime_config::save_pattern(), + true, + __FILE__ ); #line 207 test_suite* ts_0 = BOOST_TEST_SUITE( "0 test cases inside" ); diff --git a/test/framework-ts/logger-for-tests.hpp b/test/framework-ts/logger-for-tests.hpp new file mode 100644 index 00000000..4c2f18e6 --- /dev/null +++ b/test/framework-ts/logger-for-tests.hpp @@ -0,0 +1,105 @@ +// (C) Copyright Raffi Enficiaud 2017. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/test for the library home page. +// +// tests Unit Test Framework logging facilities against +// pattern file +// *************************************************************************** + + +#ifndef BOOST_TEST_TESTS_LOGGER_FOR_TESTS_HPP__ +#define BOOST_TEST_TESTS_LOGGER_FOR_TESTS_HPP__ + +#include +#include + +using namespace boost::unit_test; +using boost::test_tools::output_test_stream; + +class output_test_stream_for_loggers : public output_test_stream { + + std::string const source_filename; + std::string const basename; + +public: + explicit output_test_stream_for_loggers( + boost::unit_test::const_string pattern_file_name = boost::unit_test::const_string(), + bool match_or_save = true, + bool text_or_binary = true, + const std::string& source_filename_ = __FILE__) + : output_test_stream(pattern_file_name, match_or_save, text_or_binary) + , source_filename(source_filename_) + , basename(get_basename(source_filename_)) + {} + + static std::string normalize_path(const std::string &str) { + const std::string to_look_for[] = {"\\"}; + const std::string to_replace[] = {"/"}; + return utils::replace_all_occurrences_of( + str, + to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), + to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) + ); + } + + static std::string get_basename(const std::string &source_filename) { + std::string basename = normalize_path(source_filename); + std::string::size_type basename_pos = basename.rfind('/'); + if(basename_pos != std::string::npos) { + basename = basename.substr(basename_pos+1); + } + return basename; + } + + virtual std::string get_stream_string_representation() const { + std::string current_string = output_test_stream::get_stream_string_representation(); + + std::string pathname_fixes; + { + const std::string to_look_for[] = {normalize_path(source_filename)}; + const std::string to_replace[] = {"xxx/" + basename }; + pathname_fixes = utils::replace_all_occurrences_of( + current_string, + to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), + to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) + ); + } + + std::string other_vars_fixes; + { + const std::string to_look_for[] = {"time=\"*\"", + basename + "(*):", + "unknown location(*):", + "; testing time: *us\n", // removing this is far more easier than adding a testing time + "; testing time: *ms\n", + "*", + "condition 2>3 is not satisfied\n", + "condition 2>3 is not satisfied]", + }; + + const std::string to_replace[] = {"time=\"0.1234\"", + basename + ":*:" , + "unknown location:*:", + "\n", + "\n", + "ZZZ", + "condition 2>3 is not satisfied [2 <= 3]\n", + "condition 2>3 is not satisfied [2 <= 3]]", + }; + + other_vars_fixes = utils::replace_all_occurrences_with_wildcards( + pathname_fixes, + to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), + to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) + ); + } + + return other_vars_fixes; + } + +}; + +#endif /* BOOST_TEST_TESTS_LOGGER_FOR_TESTS_HPP__ */ diff --git a/test/framework-ts/message-in-datatestcase-test.cpp b/test/framework-ts/message-in-datatestcase-test.cpp new file mode 100644 index 00000000..5376beda --- /dev/null +++ b/test/framework-ts/message-in-datatestcase-test.cpp @@ -0,0 +1,137 @@ +// (C) Copyright Raffi Enficiaud 2017. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/test for the library home page. + +#define BOOST_TEST_MODULE message in dataset + +#include + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "logger-for-tests.hpp" + +// STL +#include +#include + + +using boost::test_tools::output_test_stream; +using namespace boost::unit_test; + + + +#line 34 +std::string filenames[] = { "util/test_image1.jpg", "util/test_image2.jpg" }; +BOOST_DATA_TEST_CASE(test_update, + boost::unit_test::data::make(filenames)) +{ + std::string field_name = "Volume"; + int value = 100; + + BOOST_TEST_MESSAGE("Testing update :"); + BOOST_TEST_MESSAGE("Update " << field_name << " with " << value); +} + +void check_pattern_loggers( + output_test_stream& output, + output_format log_format, + test_unit_id id, + bool bt_module_failed = false, + log_level ll = log_successful_tests ) +{ + boost::unit_test::unit_test_log.set_format(log_format); + boost::unit_test::unit_test_log.set_stream(output); + boost::unit_test::unit_test_log.set_threshold_level(ll); + + // output before fixture registration + output << "* " << log_format << "-format *******************************************************************"; + output << std::endl; + + framework::finalize_setup_phase( id ); + + bool setup_error_caught = false; + try { + framework::run( id, false ); // do not continue the test tree to have the test_log_start/end + } + catch (framework::setup_error&) { + BOOST_TEST_MESSAGE("Framework setup_error caught"); + setup_error_caught = true; + } + + output << std::endl; + + // we do not want the result of the comparison go to the "output" stream + boost::unit_test::unit_test_log.set_format(OF_CLF); + boost::unit_test::unit_test_log.set_stream(std::cout); + + BOOST_TEST( bt_module_failed == (( results_collector.results( id ).result_code() != 0 ) )); + BOOST_TEST( output.match_pattern(true) ); // flushes the stream at the end of the comparison. +} + +void check_pattern_loggers( + output_test_stream& output, + test_suite* ts, + bool bt_module_failed = false) +{ + ts->p_default_status.value = test_unit::RS_ENABLED; + + check_pattern_loggers( output, OF_CLF, ts->p_id, bt_module_failed ); + check_pattern_loggers( output, OF_XML, ts->p_id, bt_module_failed ); + check_pattern_loggers( output, OF_JUNIT, ts->p_id, bt_module_failed, log_successful_tests ); + check_pattern_loggers( output, OF_JUNIT, ts->p_id, bt_module_failed, log_cpp_exception_errors ); // should branch to the log log_all_errors +} + +struct guard { + ~guard() + { + boost::unit_test::unit_test_log.set_format( runtime_config::get( runtime_config::btrt_log_format ) ); + boost::unit_test::unit_test_log.set_stream( std::cout ); + } +}; + + +//____________________________________________________________________________// + + +BOOST_AUTO_TEST_CASE( messages_in_datasets ) +{ + guard G; + ut_detail::ignore_unused_variable_warning( G ); + +#define PATTERN_FILE_NAME "messages-in-datasets-test.pattern" + + std::string pattern_file_name( + framework::master_test_suite().argc == 1 + ? (runtime_config::save_pattern() ? PATTERN_FILE_NAME : "./baseline-outputs/" PATTERN_FILE_NAME ) + : framework::master_test_suite().argv[1] ); + + output_test_stream_for_loggers test_output( pattern_file_name, + !runtime_config::save_pattern(), + true, + __FILE__ ); + + auto dataset = boost::unit_test::data::make(filenames); + + test_unit_generator const& generator = boost::unit_test::data::ds_detail::test_case_gen( + "fake_name", + __FILE__, + 200, + std::forward(dataset) ); + test_suite* ts = BOOST_TEST_SUITE( "fake_datatest_case" ); + while(test_unit *tu = generator.next()) { + ts->add(tu); + } + + check_pattern_loggers(test_output, ts); +} diff --git a/test/framework-ts/test-macro-global-fixture.cpp b/test/framework-ts/test-macro-global-fixture.cpp index 732b7026..bb0cb86c 100644 --- a/test/framework-ts/test-macro-global-fixture.cpp +++ b/test/framework-ts/test-macro-global-fixture.cpp @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -22,6 +21,9 @@ typedef boost::onullstream onullstream_type; // BOOST #include +// our special logger for tests +#include "logger-for-tests.hpp" + // STL #include #include @@ -161,13 +163,6 @@ void bad_foo() { BOOST_CHECK_MESSAGE( 1 == 2.3, "non sense" ); } -struct log_guard { - ~log_guard() - { - unit_test_log.set_stream( std::cout ); - } -}; - void very_bad_foo() { BOOST_TEST_CONTEXT("some context") { BOOST_FAIL( "very_bad_foo is fatal" ); @@ -185,94 +180,11 @@ void very_bad_exception() { throw local_exception(); } -// to factorize out with the logger test -class output_test_stream_for_loggers : public output_test_stream { - -public: - explicit output_test_stream_for_loggers( - boost::unit_test::const_string pattern_file_name = boost::unit_test::const_string(), - bool match_or_save = true, - bool text_or_binary = true ) - : output_test_stream(pattern_file_name, match_or_save, text_or_binary) - {} - - static std::string normalize_path(const std::string &str) { - const std::string to_look_for[] = {"\\"}; - const std::string to_replace[] = {"/"}; - return utils::replace_all_occurrences_of( - str, - to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), - to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) - ); - } - - static std::string get_basename() { - static std::string basename; - - if(basename.empty()) { - basename = normalize_path(__FILE__); - std::string::size_type basename_pos = basename.rfind('/'); - if(basename_pos != std::string::npos) { - basename = basename.substr(basename_pos+1); - } - } - return basename; - } - - virtual std::string get_stream_string_representation() const { - std::string current_string = output_test_stream::get_stream_string_representation(); - - std::string pathname_fixes; - { - static const std::string to_look_for[] = {normalize_path(__FILE__)}; - static const std::string to_replace[] = {"xxx/" + get_basename() }; - pathname_fixes = utils::replace_all_occurrences_of( - current_string, - to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), - to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) - ); - } - - std::string other_vars_fixes; - { - static const std::string to_look_for[] = {"time=\"*\"", - get_basename() + "(*):", - "unknown location(*):", - "; testing time: *us\n", // removing this is far more easier than adding a testing time - "; testing time: *ms\n", - "*", - "condition 2>3 is not satisfied\n", - "condition 2>3 is not satisfied]", - }; - - static const std::string to_replace[] = {"time=\"0.1234\"", - get_basename() + ":*:" , - "unknown location:*:", - "\n", - "\n", - "ZZZ", - "condition 2>3 is not satisfied [2 <= 3]\n", - "condition 2>3 is not satisfied [2 <= 3]]", - }; - - other_vars_fixes = utils::replace_all_occurrences_with_wildcards( - pathname_fixes, - to_look_for, to_look_for + sizeof(to_look_for)/sizeof(to_look_for[0]), - to_replace, to_replace + sizeof(to_replace)/sizeof(to_replace[0]) - ); - } - - return other_vars_fixes; - } - -}; - - BOOST_AUTO_TEST_CASE( some_test ) { guard G; ut_detail::ignore_unused_variable_warning( G ); - +#line 275 test_suite* ts_1 = BOOST_TEST_SUITE( "1 test cases inside" ); ts_1->add( BOOST_TEST_CASE( good_foo ) ); @@ -304,7 +216,10 @@ BOOST_AUTO_TEST_CASE( some_test ) : framework::master_test_suite().argv[1] ); - output_test_stream_for_loggers test_output( pattern_file_name, !runtime_config::save_pattern() ); + output_test_stream_for_loggers test_output( pattern_file_name, + !runtime_config::save_pattern(), + true, + __FILE__ ); // legacy API, we test that we catch exceptions in the ctor, and tests // in the suite are running or not depending on that