$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r70330 - sandbox/assign_v2/libs/assign/v2/test/unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-03-21 13:56:28
Author: e_r
Date: 2011-03-21 13:56:26 EDT (Mon, 21 Mar 2011)
New Revision: 70330
URL: http://svn.boost.org/trac/boost/changeset/70330
Log:
upd assign_v2
Added:
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/framework.cpp   (contents, props changed)
   sandbox/assign_v2/libs/assign/v2/test/unit_testing/optional.cpp   (contents, props changed)
Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/framework.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/framework.cpp	2011-03-21 13:56:26 EDT (Mon, 21 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_FRAMEWORK_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_FRAMEWORK_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/framework/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_framework;
+		test->add( BOOST_TEST_CASE( &ns::xxx_modifier::test ) );
+    }
+    return test;
+}
+
+#endif // LIBS_ASSIGN_V2_TEST_UNIT_TEST_FRAMEWORK_ER_2010_CPP
Added: sandbox/assign_v2/libs/assign/v2/test/unit_testing/optional.cpp
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/test/unit_testing/optional.cpp	2011-03-21 13:56:26 EDT (Mon, 21 Mar 2011)
@@ -0,0 +1,41 @@
+//////////////////////////////////////////////////////////////////////////////
+//  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_OPTIONAL_ER_2010_CPP
+#define LIBS_ASSIGN_V2_TEST_UNIT_TEST_OPTIONAL_ER_2010_CPP
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_V2_CHECK( p ) BOOST_CHECK( p )
+
+#include <libs/assign/v2/test/optional/fun.cpp>
+#include <libs/assign/v2/test/optional/iterate.cpp>
+#include <libs/assign/v2/test/optional/lookup.cpp>
+#include <libs/assign/v2/test/optional/repeat.cpp>
+#include <libs/assign/v2/test/optional/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_optional;
+		test->add( BOOST_TEST_CASE( &ns::xxx_fun::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_OPTIONAL_ER_2010_CPP
+