Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70343 - in sandbox/assign_v2/libs/assign/v2/test: put put/pipe/optional unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-03-21 14:45:39


Author: e_r
Date: 2011-03-21 14:45:38 EDT (Mon, 21 Mar 2011)
New Revision: 70343
URL: http://svn.boost.org/trac/boost/changeset/70343

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp | 2 --
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.cpp | 12 ++++--------
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.h | 8 +++++---
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp | 2 ++
   4 files changed, 11 insertions(+), 13 deletions(-)

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe.cpp 2011-03-21 14:45:38 EDT (Mon, 21 Mar 2011)
@@ -8,7 +8,6 @@
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
 #include <libs/assign/v2/test/put/pipe/csv_put.h>
-#include <libs/assign/v2/test/put/pipe/fun.h>
 #include <libs/assign/v2/test/put/pipe/optional.h>
 #include <libs/assign/v2/test/put/pipe.h>
 
@@ -19,7 +18,6 @@
     void test()
     {
         xxx_csv_put::test();
- xxx_fun::test();
         xxx_optional::test();
     }
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.cpp 2011-03-21 14:45:38 EDT (Mon, 21 Mar 2011)
@@ -11,22 +11,17 @@
 #include <list>
 #include <vector>
 #include <boost/assign/v2/detail/config/check.hpp>
-
 #include <boost/assign/v2/deque/csv_deque.hpp>
 #include <boost/assign/v2/fun.hpp>
 #include <boost/assign/v2/put/pipe/csv_put.hpp>
 #include <boost/lambda/lambda.hpp>
 #include <boost/range/algorithm/equal.hpp>
-#include <libs/assign/v2/test/put/pipe/fun.h>
-
-#include <boost/range/algorithm/for_each.hpp>
-
-
-#include <iostream>
+#include <libs/assign/v2/test/put/pipe/optional/fun.h>
 
 namespace test_assign_v2{
 namespace xxx_put{
 namespace xxx_pipe{
+namespace xxx_optional{
 namespace xxx_fun{
 
     void test()
@@ -34,7 +29,7 @@
         using namespace boost;
         namespace as2 = assign::v2;
         {
- //[test_put_pipe_fun_math
+ //[test_put_pipe_optional_fun_math
             int k = 1; std::list<int> factorials;
                 using namespace lambda;
             
@@ -51,6 +46,7 @@
     }
 
 }// xxx_fun
+}// xxx_optional
 }// xxx_pipe
 }// xxx_value
 }// test_assign_v2

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.h (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/optional/fun.h 2011-03-21 14:45:38 EDT (Mon, 21 Mar 2011)
@@ -7,19 +7,21 @@
 // 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_PUT_PIPE_MODULO_FUN_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_PUT_PIPE_MODULO_FUN_ER_2010_H
+#ifndef LIBS_ASSIGN_V2_TEST_PUT_PIPE_OPTIONAL_FUN_ER_2010_H
+#define LIBS_ASSIGN_V2_TEST_PUT_PIPE_OPTIONAL_FUN_ER_2010_H
 
 namespace test_assign_v2{
 namespace xxx_put{
 namespace xxx_pipe{
+namespace xxx_optional{
 namespace xxx_fun{
 
     void test();
 
 }// xxx_fun
+}// xxx_optional
 }// xxx_pipe
 }// xxx_value
 }// xxx_test_assign
 
-#endif // LIBS_ASSIGN_V2_TEST_PUT_PIPE_MODULO_FUN_ER_2010_H
+#endif // LIBS_ASSIGN_V2_TEST_PUT_PIPE_OPTIONAL_FUN_ER_2010_H

Modified: sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/put.cpp 2011-03-21 14:45:38 EDT (Mon, 21 Mar 2011)
@@ -14,6 +14,7 @@
 #define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
 
 #include <libs/assign/v2/test/put/pipe/csv_put.cpp>
+#include <libs/assign/v2/test/put/pipe/optional/fun.cpp>
 #include <libs/assign/v2/test/put/pipe/optional/iterate.cpp>
 #include <libs/assign/v2/test/put/pipe/optional/lookup.cpp>
 #include <libs/assign/v2/test/put/pipe/optional/repeat.cpp>
@@ -30,6 +31,7 @@
     {
                 namespace ns = xxx_put;
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_csv_put::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_optional::xxx_fun::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_optional::xxx_iterate::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_optional::xxx_lookup::test ) );
                 test->add( BOOST_TEST_CASE( &ns::xxx_pipe::xxx_optional::xxx_repeat::test ) );


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