From 7634deec5cc983d4eba9ec2204d9d4988cb25d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 16 Mar 2013 19:31:32 +0000 Subject: [PATCH] Added insertion test to vector-like containers [SVN r83469] --- doc/container.qbk | 4 ++-- proj/vc7ide/container.vcproj | 3 +++ test/vector_test.hpp | 7 ++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/container.qbk b/doc/container.qbk index e38288b..285e5fd 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -665,8 +665,8 @@ use [*Boost.Container]? There are several reasons for that: * Support for `BOOST_NO_EXCEPTIONS` [@https://svn.boost.org/trac/boost/ticket/7227 #7227]. * Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7921 #7921], [@https://svn.boost.org/trac/boost/ticket/7969 #7969], - [@https://svn.boost.org/trac/boost/ticket/8118 #8118]. - + [@https://svn.boost.org/trac/boost/ticket/8118 #8118], + [@https://svn.boost.org/trac/boost/ticket/8294 #8294]. [endsect] [section:release_notes_boost_1_53_00 Boost 1.53 Release] diff --git a/proj/vc7ide/container.vcproj b/proj/vc7ide/container.vcproj index 21e2815..185a5c0 100644 --- a/proj/vc7ide/container.vcproj +++ b/proj/vc7ide/container.vcproj @@ -300,6 +300,9 @@ + + diff --git a/test/vector_test.hpp b/test/vector_test.hpp index e21b9ba..b1a4fb5 100644 --- a/test/vector_test.hpp +++ b/test/vector_test.hpp @@ -31,6 +31,7 @@ #include #include #include +#include "insert_test.hpp" namespace boost{ namespace container { @@ -102,6 +103,10 @@ int vector_test() typedef typename MyBoostVector::value_type IntType; const int max = 100; + if(!test_range_insertion()){ + return 1; + } + { BOOST_TRY{ MyBoostVector *boostvector = new MyBoostVector; @@ -317,6 +322,7 @@ int vector_test() } BOOST_CATCH_END } + std::cout << std::endl << "Test OK!" << std::endl; return 0; } @@ -328,4 +334,3 @@ int vector_test() #include #endif //BOOST_CONTAINER_TEST_VECTOR_TEST_HEADER -