From df03e4ef73afc3fa8bbc10e6922633b2ec1c2ff0 Mon Sep 17 00:00:00 2001 From: Gennadiy Rozental Date: Wed, 14 Dec 2005 05:12:24 +0000 Subject: [PATCH] dll support introduced amount of aborted test cases in now computed. If test case is aborted - the whole test subtree is marked as aborted [SVN r32026] --- include/boost/test/results_collector.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/boost/test/results_collector.hpp b/include/boost/test/results_collector.hpp index 99b2df4d..9846d814 100644 --- a/include/boost/test/results_collector.hpp +++ b/include/boost/test/results_collector.hpp @@ -45,7 +45,7 @@ inline void first_failed_assertion() {} // ************** test_results ************** // // ************************************************************************** // -class test_results { +class BOOST_TEST_DECL test_results { public: test_results(); @@ -58,6 +58,7 @@ public: counter_prop p_test_cases_passed; counter_prop p_test_cases_failed; counter_prop p_test_cases_skipped; + counter_prop p_test_cases_aborted; bool_prop p_aborted; bool_prop p_skipped; @@ -75,7 +76,7 @@ public: // ************** results_collector ************** // // ************************************************************************** // -class results_collector_t : public test_observer, public singleton { +class BOOST_TEST_DECL results_collector_t : public test_observer, public singleton { public: // test_observer interface implementation void test_start( counter_t test_cases_amount ); @@ -111,6 +112,11 @@ BOOST_TEST_SINGLETON_INST( results_collector ) // Revision History : // // $Log$ +// Revision 1.2 2005/12/14 05:12:24 rogeeff +// dll support introduced +// amount of aborted test cases in now computed. If test case is aborted - the whole +// test subtree is marked as aborted +// // Revision 1.1 2005/02/20 08:27:06 rogeeff // This a major update for Boost.Test framework. See release docs for complete list of fixes/updates //