From eb7a736198a1748a3dc0431c71832aba1d70fadd Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Tue, 15 Apr 2008 21:13:24 +0000 Subject: [PATCH] Boost Exception header compilation tests added. [SVN r44442] --- example/cloning_2.cpp | 2 +- test/Jamfile.v2 | 10 ++++++++++ test/enable_current_exception_hpp_test.cpp | 6 ++++++ test/enable_error_info_hpp_test.cpp | 6 ++++++ test/error_info_hpp_test.cpp | 6 ++++++ test/exception_hpp_test.cpp | 6 ++++++ test/info_hpp_test.cpp | 6 ++++++ test/info_tuple_hpp_test.cpp | 6 ++++++ test/to_string_hpp_test.cpp | 6 ++++++ test/to_string_stub_hpp_test.cpp | 6 ++++++ 10 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 test/enable_current_exception_hpp_test.cpp create mode 100644 test/enable_error_info_hpp_test.cpp create mode 100644 test/error_info_hpp_test.cpp create mode 100644 test/exception_hpp_test.cpp create mode 100644 test/info_hpp_test.cpp create mode 100644 test/info_tuple_hpp_test.cpp create mode 100644 test/to_string_hpp_test.cpp create mode 100644 test/to_string_stub_hpp_test.cpp diff --git a/example/cloning_2.cpp b/example/cloning_2.cpp index 8fe4ec2..3c10786 100644 --- a/example/cloning_2.cpp +++ b/example/cloning_2.cpp @@ -5,7 +5,7 @@ //This example shows how to transport cloning-enabled boost::exceptions between threads. -#include +#include #include #include diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index e6db8e0..f87a81c 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -26,3 +26,13 @@ run errno_test.cpp ; 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 ; diff --git a/test/enable_current_exception_hpp_test.cpp b/test/enable_current_exception_hpp_test.cpp new file mode 100644 index 0000000..4745df5 --- /dev/null +++ b/test/enable_current_exception_hpp_test.cpp @@ -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 diff --git a/test/enable_error_info_hpp_test.cpp b/test/enable_error_info_hpp_test.cpp new file mode 100644 index 0000000..49badaf --- /dev/null +++ b/test/enable_error_info_hpp_test.cpp @@ -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 diff --git a/test/error_info_hpp_test.cpp b/test/error_info_hpp_test.cpp new file mode 100644 index 0000000..a47d620 --- /dev/null +++ b/test/error_info_hpp_test.cpp @@ -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 diff --git a/test/exception_hpp_test.cpp b/test/exception_hpp_test.cpp new file mode 100644 index 0000000..3f2ed76 --- /dev/null +++ b/test/exception_hpp_test.cpp @@ -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 diff --git a/test/info_hpp_test.cpp b/test/info_hpp_test.cpp new file mode 100644 index 0000000..34407bc --- /dev/null +++ b/test/info_hpp_test.cpp @@ -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 diff --git a/test/info_tuple_hpp_test.cpp b/test/info_tuple_hpp_test.cpp new file mode 100644 index 0000000..a4040ab --- /dev/null +++ b/test/info_tuple_hpp_test.cpp @@ -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 diff --git a/test/to_string_hpp_test.cpp b/test/to_string_hpp_test.cpp new file mode 100644 index 0000000..27b98a3 --- /dev/null +++ b/test/to_string_hpp_test.cpp @@ -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 diff --git a/test/to_string_stub_hpp_test.cpp b/test/to_string_stub_hpp_test.cpp new file mode 100644 index 0000000..475b72f --- /dev/null +++ b/test/to_string_stub_hpp_test.cpp @@ -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