Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70506 - in sandbox/assign_v2/libs/assign/v2/test: . unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-03-24 12:37:07


Author: e_r
Date: 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
New Revision: 70506
URL: http://svn.boost.org/trac/boost/changeset/70506

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/libs/assign/v2/test/chain.cpp | 4 +---
   sandbox/assign_v2/libs/assign/v2/test/chain.h | 8 +++-----
   sandbox/assign_v2/libs/assign/v2/test/conversion.cpp | 4 +---
   sandbox/assign_v2/libs/assign/v2/test/conversion.h | 8 +++-----
   sandbox/assign_v2/libs/assign/v2/test/csv.cpp | 4 +---
   sandbox/assign_v2/libs/assign/v2/test/csv.h | 8 +++-----
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp | 13 ++++---------
   7 files changed, 16 insertions(+), 33 deletions(-)

Modified: sandbox/assign_v2/libs/assign/v2/test/chain.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/chain.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/chain.cpp 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -20,10 +20,9 @@
 #include <boost/assign/v2/chain/check.hpp>
 #include <boost/assign/v2/chain.hpp>
 #include <boost/assign/v2/chain/operator_and.hpp>
-#include <libs/assign/v2/test/utility/chain.h>
+#include <libs/assign/v2/test/chain.h>
 
 namespace test_assign_v2{
-namespace xxx_utility{
 namespace xxx_chain{
 
     // MSVC REMINDER : fully qualify boost::begin boost::end - error C2668
@@ -83,5 +82,4 @@
     }// test
 
 }// xxx_chain
-}// xxx_utility
 }// test_assign_v2

Modified: sandbox/assign_v2/libs/assign/v2/test/chain.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/chain.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/chain.h 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -7,17 +7,15 @@
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
-#ifndef LIBS_ASSIGN_V2_TEST_UTILITY_CHAIN_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_UTILITY_CHAIN_ER_2010_H
+#ifndef LIBS_ASSIGN_V2_TEST_CHAIN_ER_2010_H
+#define LIBS_ASSIGN_V2_TEST_CHAIN_ER_2010_H
 
 namespace test_assign_v2{
-namespace xxx_utility{
 namespace xxx_chain{
 
     void test();
 
 }// xxx_chain
-}// xxx_utility
 }// test_assign_v2
 
-#endif // LIBS_ASSIGN_V2_TEST_UTILITY_CHAIN_ER_2010_H
+#endif // LIBS_ASSIGN_V2_TEST_CHAIN_ER_2010_H

Modified: sandbox/assign_v2/libs/assign/v2/test/conversion.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/conversion.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/conversion.cpp 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -17,10 +17,9 @@
 #include <boost/assign/v2/ref/array.hpp>
 #include <boost/assign/v2/deque.hpp>
 #include <boost/range/algorithm/equal.hpp>
-#include <libs/assign/v2/test/utility/conversion.h>
+#include <libs/assign/v2/test/conversion.h>
 
 namespace test_assign_v2{
-namespace xxx_utility{
 namespace xxx_conversion{
 
     // suggested by JB:
@@ -116,6 +115,5 @@
     }
 
 }// xxx_conversion
-}// xxx_utility
 }// xxx_test_assign
 

Modified: sandbox/assign_v2/libs/assign/v2/test/conversion.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/conversion.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/conversion.h 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -7,17 +7,15 @@
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
-#ifndef LIBS_ASSIGN_V2_TEST_UTILITY_CONVERSION_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_UTILITY_CONVERSION_ER_2010_H
+#ifndef LIBS_ASSIGN_V2_TEST_CONVERSION_ER_2010_H
+#define LIBS_ASSIGN_V2_TEST_CONVERSION_ER_2010_H
 
 namespace test_assign_v2{
-namespace xxx_utility{
 namespace xxx_conversion{
 
     void test();
 
 }// xxx_conversion
-}// xxx_utility
 }// xxx_test_assign
 
-#endif // LIBS_ASSIGN_V2_TEST_UTILITY_CONVERSION_ER_2010_H
+#endif // LIBS_ASSIGN_V2_TEST_CONVERSION_ER_2010_H

Modified: sandbox/assign_v2/libs/assign/v2/test/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/csv.cpp 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -14,10 +14,9 @@
 #include <boost/assign/v2/put.hpp>
 #include <boost/assign/v2/option/push_front.hpp>
 #include <boost/range/algorithm/equal.hpp>
-#include <libs/assign/v2/test/utility/csv.h>
+#include <libs/assign/v2/test/csv.h>
 
 namespace test_assign_v2{
-namespace xxx_utility{
 namespace xxx_csv{
 
     void test(){
@@ -53,5 +52,4 @@
     }
 
 }// xxx_csv
-}// xxx_utility
 }// xxx_test_assign

Modified: sandbox/assign_v2/libs/assign/v2/test/csv.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/csv.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/csv.h 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -7,17 +7,15 @@
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
-#ifndef LIBS_ASSIGN_V2_TEST_UTILITY_CSV_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_UTILITY_CSV_ER_2010_H
+#ifndef LIBS_ASSIGN_V2_TEST_CSV_ER_2010_H
+#define LIBS_ASSIGN_V2_TEST_CSV_ER_2010_H
 
 namespace test_assign_v2{
-namespace xxx_utility{
 namespace xxx_csv{
 
     void test();
 
 }// xxx_csv
-}// xxx_utility
 }// xxx_test_assign
 
-#endif // LIBS_ASSIGN_V2_TEST_UTILITY_CSV_ER_2010_H
+#endif // LIBS_ASSIGN_V2_TEST_CSV_ER_2010_H

Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/utility.cpp 2011-03-24 12:37:06 EDT (Thu, 24 Mar 2011)
@@ -7,16 +7,14 @@
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
-#ifndef LIBS_ASSIGN_V2_TEST_UNIT_TEST_UTILITY_ER_2010_CPP
-#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_UTILITY_ER_2010_CPP
+#ifndef LIBS_ASSIGN_V2_TEST_UNIT_TEST_CSV_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_CSV_ER_2010_CPP
 
 #include <iostream> // needed?
 
 #include <boost/test/test_tools.hpp>
 #define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
-#include <libs/assign/v2/test/utility/chain.cpp>
-#include <libs/assign/v2/test/utility/conversion.cpp>
-#include <libs/assign/v2/test/utility/csv.cpp>
+#include <libs/assign/v2/test/csv.cpp>
 
 #include <boost/test/unit_test.hpp>
 using boost::unit_test::test_suite;
@@ -25,12 +23,9 @@
     test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
     using namespace test_assign_v2;
     {
- using namespace xxx_utility;
- test->add( BOOST_TEST_CASE( &xxx_chain::test ) );
- test->add( BOOST_TEST_CASE( &xxx_conversion::test ) );
             test->add( BOOST_TEST_CASE( &xxx_csv::test ) );
         }
     return test;
 }
 
-#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_UTILITY_ER_2010_CPP
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_CSV_ER_2010_CPP


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