Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72519 - sandbox/assign_v2/libs/assign/v2/test/unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-06-09 12:36:44


Author: e_r
Date: 2011-06-09 12:36:43 EDT (Thu, 09 Jun 2011)
New Revision: 72519
URL: http://svn.boost.org/trac/boost/changeset/72519

Log:
upd assign_v2
Added:
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv_deque.cpp (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv_put.cpp (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/option_data.cpp (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/option_modifier.cpp (contents, props changed)

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv_deque.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv_deque.cpp 2011-06-09 12:36:43 EDT (Thu, 09 Jun 2011)
@@ -0,0 +1,32 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// 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_CSV_DEQUE_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_CSV_DEQUE_ER_2010_CPP
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/deque/csv_deque_basic.cpp>
+#include <libs/assign/v2/test/deque/csv_deque_ext.cpp>
+
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+test_suite* init_unit_test_suite( int argc, char* argv[] )
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
+ {
+ namespace ns = xxx_deque;
+ test->add( BOOST_TEST_CASE( &ns::xxx_csv_deque_basic::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_csv_deque_ext::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_DEQUE_ER_2010_CPP

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv_put.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/csv_put.cpp 2011-06-09 12:36:43 EDT (Thu, 09 Jun 2011)
@@ -0,0 +1,35 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// 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_CSV_PUT_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_CSV_PUT_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/put/csv_put_basic.cpp>
+#include <libs/assign/v2/test/put/csv_put_ext.cpp>
+#include <libs/assign/v2/test/put/do_csv_put.cpp>
+
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+test_suite* init_unit_test_suite( int argc, char* argv[] )
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
+ {
+ namespace ns = xxx_put;
+ test->add( BOOST_TEST_CASE( &ns::xxx_csv_put_basic::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_csv_put_ext::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_do_csv_put::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_CSV_PUT_ER_2010_CPP

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/option_data.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/option_data.cpp 2011-06-09 12:36:43 EDT (Thu, 09 Jun 2011)
@@ -0,0 +1,32 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// 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_OPTION_DATA_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_OPTION_DATA_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/option/data.cpp>
+
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+test_suite* init_unit_test_suite( int argc, char* argv[] )
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
+ {
+ namespace ns = xxx_option;
+ test->add( BOOST_TEST_CASE( &ns::xxx_data::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_OPTION_DATA_ER_2010_CPP
+

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/option_modifier.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/option_modifier.cpp 2011-06-09 12:36:43 EDT (Thu, 09 Jun 2011)
@@ -0,0 +1,42 @@
+//////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to the //
+// 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_OPTION_MODIFIER_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_OPTION_MODIFIER_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/option/iterate.cpp>
+#include <libs/assign/v2/test/option/list.cpp>
+#include <libs/assign/v2/test/option/mapped.cpp>
+#include <libs/assign/v2/test/option/repeat.cpp>
+#include <libs/assign/v2/test/option/row_major.cpp>
+#include <libs/assign/v2/test/option/std_modifier.cpp>
+
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+test_suite* init_unit_test_suite( int argc, char* argv[] )
+{
+ test_suite* test = BOOST_TEST_SUITE( "BOOST_ASSIGN_V2" );
+ using namespace test_assign_v2;
+ {
+ namespace ns = xxx_option;
+ test->add( BOOST_TEST_CASE( &ns::xxx_iterate::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_list::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_mapped::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_repeat::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_row_major::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_std_modifier::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_OPTION_MODIFIER_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