|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81194 - trunk/libs/test/test
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-05 04:04:23
Author: rogeeff
Date: 2012-11-05 04:04:22 EST (Mon, 05 Nov 2012)
New Revision: 81194
URL: http://svn.boost.org/trac/boost/changeset/81194
Log:
test case for framework::current_auto_test_suite
Text files modified:
trunk/libs/test/test/test_tree_management_test.cpp | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
Modified: trunk/libs/test/test/test_tree_management_test.cpp
==============================================================================
--- trunk/libs/test/test/test_tree_management_test.cpp (original)
+++ trunk/libs/test/test/test_tree_management_test.cpp 2012-11-05 04:04:22 EST (Mon, 05 Nov 2012)
@@ -34,8 +34,15 @@
BOOST_AUTO_TEST_SUITE( S1 )
-BOOST_AUTO_TEST_CASE( tc3 ) {}
-BOOST_AUTO_TEST_CASE( tc4 ) {}
+void tc3() {}
+void tc4() {}
+
+struct myreg {
+ myreg() {
+ framework::current_auto_test_suite().add( BOOST_TEST_CASE( &tc3 ) );
+ framework::current_auto_test_suite().add( BOOST_TEST_CASE( &tc4 ) );
+ }
+} myreg_;
BOOST_AUTO_TEST_SUITE_END()
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