Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81326 - trunk/libs/test/test
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-13 18:59:25


Author: rogeeff
Date: 2012-11-13 18:59:24 EST (Tue, 13 Nov 2012)
New Revision: 81326
URL: http://svn.boost.org/trac/boost/changeset/81326

Log:
globals renamed
Text files modified:
   trunk/libs/test/test/test_tree_management_test.cpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 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-13 18:59:24 EST (Tue, 13 Nov 2012)
@@ -100,7 +100,7 @@
 {
     test_case* tc1 = BOOST_TEST_CASE( &empty_ );
 
- BOOST_CHECK_EQUAL( tc1->p_type, tut_case );
+ BOOST_CHECK_EQUAL( tc1->p_type, TUT_CASE );
     BOOST_CHECK_EQUAL( tc1->p_type_name, const_string( "case" ) );
     BOOST_CHECK_EQUAL( tc1->p_parent_id, 0U );
     BOOST_CHECK_NE( tc1->p_id, INV_TEST_UNIT_ID );
@@ -112,9 +112,9 @@
     BOOST_CHECK( tc1->p_enabled );
 
     BOOST_CHECK_EQUAL( &framework::get<test_case>( tc1->p_id ), tc1 );
- BOOST_CHECK_EQUAL( &framework::get( tc1->p_id, tut_case ), tc1 );
+ BOOST_CHECK_EQUAL( &framework::get( tc1->p_id, TUT_CASE ), tc1 );
 
- BOOST_CHECK_THROW( &framework::get( tc1->p_id, tut_suite ), framework::internal_error );
+ BOOST_CHECK_THROW( &framework::get( tc1->p_id, TUT_SUITE ), framework::internal_error );
 
     test_case* tc2 = make_test_case( &empty_, "my test case", "test_file_name", 1 );
     BOOST_CHECK_EQUAL( tc2->p_name, const_string( "my test case" ) );
@@ -128,7 +128,7 @@
 {
     test_suite* ts1 = BOOST_TEST_SUITE( "TestSuite" );
 
- BOOST_CHECK_EQUAL( ts1->p_type, tut_suite );
+ BOOST_CHECK_EQUAL( ts1->p_type, TUT_SUITE );
     BOOST_CHECK_EQUAL( ts1->p_type_name, const_string( "suite" ) );
     BOOST_CHECK_EQUAL( ts1->p_parent_id, 0U );
     BOOST_CHECK_NE( ts1->p_id, INV_TEST_UNIT_ID );
@@ -146,7 +146,7 @@
     BOOST_CHECK_EQUAL( ts1->size(), 0U );
 
     BOOST_CHECK_EQUAL( &framework::get<test_suite>( ts1->p_id ), ts1 );
- BOOST_CHECK_EQUAL( &framework::get( ts1->p_id, tut_suite ), ts1 );
+ BOOST_CHECK_EQUAL( &framework::get( ts1->p_id, TUT_SUITE ), ts1 );
 }
 
 //____________________________________________________________________________//


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