Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-10 17:37:58


Author: danieljames
Date: 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
New Revision: 42667
URL: http://svn.boost.org/trac/boost/changeset/42667

Log:
Move the Boost.Test includes into exception.hpp
Text files modified:
   branches/unordered/trunk/libs/unordered/test/exception/constructor_exception_tests.cpp | 4 ----
   branches/unordered/trunk/libs/unordered/test/exception/copy_exception_tests.cpp | 4 ----
   branches/unordered/trunk/libs/unordered/test/exception/erase_exception_tests.cpp | 4 ----
   branches/unordered/trunk/libs/unordered/test/exception/insert_exception_tests.cpp | 4 ----
   branches/unordered/trunk/libs/unordered/test/exception/rehash_exception_tests.cpp | 4 ----
   branches/unordered/trunk/libs/unordered/test/exception/swap_exception_tests.cpp | 4 ----
   branches/unordered/trunk/libs/unordered/test/objects/exception.hpp | 4 ++++
   7 files changed, 4 insertions(+), 24 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/test/exception/constructor_exception_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/exception/constructor_exception_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/exception/constructor_exception_tests.cpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -4,10 +4,6 @@
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 #include "./containers.hpp"
-
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-#include <boost/test/exception_safety.hpp>
 #include "../helpers/random_values.hpp"
 #include "../helpers/input_iterator.hpp"
 

Modified: branches/unordered/trunk/libs/unordered/test/exception/copy_exception_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/exception/copy_exception_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/exception/copy_exception_tests.cpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -4,10 +4,6 @@
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 #include "./containers.hpp"
-
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-#include <boost/test/exception_safety.hpp>
 #include "../helpers/random_values.hpp"
 
 test::seed_t seed(73041);

Modified: branches/unordered/trunk/libs/unordered/test/exception/erase_exception_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/exception/erase_exception_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/exception/erase_exception_tests.cpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -4,10 +4,6 @@
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 #include "./containers.hpp"
-
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-#include <boost/test/exception_safety.hpp>
 #include "../helpers/random_values.hpp"
 #include "../helpers/invariants.hpp"
 #include "../helpers/helpers.hpp"

Modified: branches/unordered/trunk/libs/unordered/test/exception/insert_exception_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/exception/insert_exception_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/exception/insert_exception_tests.cpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -4,10 +4,6 @@
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 #include "./containers.hpp"
-
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-#include <boost/test/exception_safety.hpp>
 #include <string>
 #include "../helpers/random_values.hpp"
 #include "../helpers/invariants.hpp"

Modified: branches/unordered/trunk/libs/unordered/test/exception/rehash_exception_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/exception/rehash_exception_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/exception/rehash_exception_tests.cpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -4,10 +4,6 @@
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 #include "./containers.hpp"
-
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-#include <boost/test/exception_safety.hpp>
 #include <string>
 #include "../helpers/random_values.hpp"
 #include "../helpers/invariants.hpp"

Modified: branches/unordered/trunk/libs/unordered/test/exception/swap_exception_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/exception/swap_exception_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/exception/swap_exception_tests.cpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -4,10 +4,6 @@
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 #include "./containers.hpp"
-
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-#include <boost/test/exception_safety.hpp>
 #include "../helpers/random_values.hpp"
 #include "../helpers/invariants.hpp"
 

Modified: branches/unordered/trunk/libs/unordered/test/objects/exception.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/objects/exception.hpp (original)
+++ branches/unordered/trunk/libs/unordered/test/objects/exception.hpp 2008-01-10 17:37:57 EST (Thu, 10 Jan 2008)
@@ -6,6 +6,10 @@
 #if !defined(BOOST_UNORDERED_TEST_OBJECTS_HEADER)
 #define BOOST_UNORDERED_TEST_OBJECTS_HEADER
 
+#define BOOST_TEST_MAIN
+#include <boost/test/unit_test.hpp>
+#include <boost/test/exception_safety.hpp>
+
 #include <cstddef>
 #include <boost/limits.hpp>
 #include <boost/test/test_tools.hpp>


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