Boost logo

Boost-Commit :

From: emil_at_[hidden]
Date: 2008-04-15 17:13:26


Author: emildotchevski
Date: 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
New Revision: 44442
URL: http://svn.boost.org/trac/boost/changeset/44442

Log:
Boost Exception header compilation tests added.
Added:
   trunk/libs/exception/test/enable_current_exception_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/enable_error_info_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/error_info_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/exception_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/info_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/info_tuple_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/to_string_hpp_test.cpp (contents, props changed)
   trunk/libs/exception/test/to_string_stub_hpp_test.cpp (contents, props changed)
Text files modified:
   trunk/boost/exception.hpp | 2 +-
   trunk/libs/exception/example/cloning_2.cpp | 2 +-
   trunk/libs/exception/test/Jamfile.v2 | 10 ++++++++++
   3 files changed, 12 insertions(+), 2 deletions(-)

Modified: trunk/boost/exception.hpp
==============================================================================
--- trunk/boost/exception.hpp (original)
+++ trunk/boost/exception.hpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -7,7 +7,7 @@
 #define UUID_1D94A7C6054E11DB9804B622A1EF5492
 
 #include <boost/exception/info_tuple.hpp>
-#include <boost/exception/cloning.hpp>
+#include <boost/exception_ptr.hpp>
 #include <boost/throw_exception.hpp>
 
 #endif

Modified: trunk/libs/exception/example/cloning_2.cpp
==============================================================================
--- trunk/libs/exception/example/cloning_2.cpp (original)
+++ trunk/libs/exception/example/cloning_2.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -5,7 +5,7 @@
 
 //This example shows how to transport cloning-enabled boost::exceptions between threads.
 
-#include <boost/exception/cloning.hpp>
+#include <boost/exception_ptr.hpp>
 #include <boost/thread.hpp>
 #include <boost/bind.hpp>
 

Modified: trunk/libs/exception/test/Jamfile.v2
==============================================================================
--- trunk/libs/exception/test/Jamfile.v2 (original)
+++ trunk/libs/exception/test/Jamfile.v2 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -26,3 +26,13 @@
 run error_info_test.cpp ;
 run what_test.cpp ;
 compile-fail exception_fail.cpp ;
+
+#headers
+compile enable_current_exception_hpp_test.cpp ;
+compile enable_error_info_hpp_test.cpp ;
+compile error_info_hpp_test.cpp ;
+compile exception_hpp_test.cpp ;
+compile info_hpp_test.cpp ;
+compile info_tuple_hpp_test.cpp ;
+compile to_string_hpp_test.cpp ;
+compile to_string_stub_hpp_test.cpp ;

Added: trunk/libs/exception/test/enable_current_exception_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/enable_current_exception_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/enable_current_exception.hpp>

Added: trunk/libs/exception/test/enable_error_info_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/enable_error_info_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/enable_error_info.hpp>

Added: trunk/libs/exception/test/error_info_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/error_info_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/error_info.hpp>

Added: trunk/libs/exception/test/exception_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/exception_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception.hpp>

Added: trunk/libs/exception/test/info_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/info_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/info.hpp>

Added: trunk/libs/exception/test/info_tuple_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/info_tuple_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/info_tuple.hpp>

Added: trunk/libs/exception/test/to_string_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/to_string_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/to_string.hpp>

Added: trunk/libs/exception/test/to_string_stub_hpp_test.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/exception/test/to_string_stub_hpp_test.cpp 2008-04-15 17:13:24 EDT (Tue, 15 Apr 2008)
@@ -0,0 +1,6 @@
+//Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under 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 <boost/exception/to_string_stub.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