|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75002 - trunk/boost/test
From: gennadiy.rozental_at_[hidden]
Date: 2011-10-17 00:36:05
Author: rogeeff
Date: 2011-10-17 00:35:59 EDT (Mon, 17 Oct 2011)
New Revision: 75002
URL: http://svn.boost.org/trac/boost/changeset/75002
Log:
Added checkpoints at fixture entry points, test case entry point and test case exit point for auto registered test cases
Fixes #5008
Text files modified:
trunk/boost/test/unit_test_suite.hpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/boost/test/unit_test_suite.hpp
==============================================================================
--- trunk/boost/test/unit_test_suite.hpp (original)
+++ trunk/boost/test/unit_test_suite.hpp 2011-10-17 00:35:59 EDT (Mon, 17 Oct 2011)
@@ -86,8 +86,11 @@
\
static void BOOST_AUTO_TC_INVOKER( test_name )() \
{ \
+ BOOST_TEST_CHECKPOINT('"' << #test_name << "\" fixture entry."); \
test_name t; \
+ BOOST_TEST_CHECKPOINT('"' << #test_name << "\" entry."); \
t.test_method(); \
+ BOOST_TEST_CHECKPOINT('"' << #test_name << "\" exit."); \
} \
\
struct BOOST_AUTO_TC_UNIQUE_ID( test_name ) {}; \
@@ -121,8 +124,11 @@
template<typename TestType> \
static void run( boost::type<TestType>* = 0 ) \
{ \
+ BOOST_TEST_CHECKPOINT('"'<<#test_name <<"\" fixture entry."); \
test_name<TestType> t; \
+ BOOST_TEST_CHECKPOINT('"' << #test_name << "\" entry."); \
t.test_method(); \
+ BOOST_TEST_CHECKPOINT('"' << #test_name << "\" exit."); \
} \
}; \
\
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk