Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70285 - in sandbox/assign_v2/libs/assign/v2/test: . unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-03-20 22:22:09


Author: e_r
Date: 2011-03-20 22:22:07 EDT (Sun, 20 Mar 2011)
New Revision: 70285
URL: http://svn.boost.org/trac/boost/changeset/70285

Log:
upd assign_v2
Added:
   sandbox/assign_v2/libs/assign/v2/test/put.cpp (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/put.h (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/fun.cpp (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/modifier.cpp (contents, props changed)

Added: sandbox/assign_v2/libs/assign/v2/test/put.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/put.cpp 2011-03-20 22:22:07 EDT (Sun, 20 Mar 2011)
@@ -0,0 +1,25 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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) //
+//////////////////////////////////////////////////////////////////////////////
+#include <libs/assign/v2/test/put/pipe.h>
+#include <libs/assign/v2/test/put/put.h>
+#include <libs/assign/v2/test/put.h>
+
+namespace test_assign_v2{
+namespace xxx_put{
+
+ void test(){
+
+ xxx_put::test();
+ xxx_pipe::test();
+
+ }
+
+}// xxx_put
+}// test_assign_v2

Added: sandbox/assign_v2/libs/assign/v2/test/put.h
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/put.h 2011-03-20 22:22:07 EDT (Sun, 20 Mar 2011)
@@ -0,0 +1,21 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_PUT_ER_2010_H
+#define LIBS_ASSIGN_V2_TEST_PUT_ER_2010_H
+
+namespace test_assign_v2{
+namespace xxx_put{
+
+ void test();
+
+}// xxx_put
+}// test_assign_v2
+
+#endif // LIBS_ASSIGN_V2_TEST_REF_ER_2010_H

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/deque.cpp 2011-03-20 22:22:07 EDT (Sun, 20 Mar 2011)
@@ -0,0 +1,31 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_DEQUE_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_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.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;
+ {
+
+ test->add( BOOST_TEST_CASE( &ns::xxx_deque::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_DEQUE_ER_2010_CPP

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/fun.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/fun.cpp 2011-03-20 22:22:07 EDT (Sun, 20 Mar 2011)
@@ -0,0 +1,31 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_FUN_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_FUN_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/fun.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;
+ {
+
+ test->add( BOOST_TEST_CASE( &xxx_fun::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_FUN_ER_2010_CPP
\ No newline at end of file

Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/modifier.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/modifier.cpp 2011-03-20 22:22:07 EDT (Sun, 20 Mar 2011)
@@ -0,0 +1,40 @@
+//////////////////////////////////////////////////////////////////////////////
+// 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_MODIFIER_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_MODIFIER_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/modifier/deduce.cpp>
+#include <libs/assign/v2/test/modifier/iterate.cpp>
+#include <libs/assign/v2/test/modifier/lookup.cpp>
+#include <libs/assign/v2/test/modifier/repeat.cpp>
+#include <libs/assign/v2/test/modifier/standard.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_modifier;
+ test->add( BOOST_TEST_CASE( &ns::xxx_deduce::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_iterate::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_lookup::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_repeat::test ) );
+ test->add( BOOST_TEST_CASE( &ns::xxx_standard::test ) );
+ }
+ return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_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