|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2007-10-22 07:11:52
Author: rogeeff
Date: 2007-10-22 07:11:51 EDT (Mon, 22 Oct 2007)
New Revision: 40280
URL: http://svn.boost.org/trac/boost/changeset/40280
Log:
correct patterns
Removed:
trunk/libs/test/test/.cvsignore
Text files modified:
trunk/libs/test/test/errors_handling_test.cpp | 36 -
trunk/libs/test/test/test_files/errors_handling_test.pattern | 778 ++++++++++++++++++++-------------------
trunk/libs/test/test/test_files/errors_handling_test.pattern2 | 552 ++++++++++++++--------------
trunk/libs/test/test/test_tree_management_test.cpp | 5
4 files changed, 676 insertions(+), 695 deletions(-)
Deleted: trunk/libs/test/test/.cvsignore
==============================================================================
--- trunk/libs/test/test/.cvsignore 2007-10-22 07:11:51 EDT (Mon, 22 Oct 2007)
+++ (empty file)
@@ -1,6 +0,0 @@
-bin
-res
-run_res
-run_test.bat
-run_tests.bat
-pattern.*
\ No newline at end of file
Modified: trunk/libs/test/test/errors_handling_test.cpp
==============================================================================
--- trunk/libs/test/test/errors_handling_test.cpp (original)
+++ trunk/libs/test/test/errors_handling_test.cpp 2007-10-22 07:11:51 EDT (Mon, 22 Oct 2007)
@@ -194,41 +194,5 @@
//____________________________________________________________________________//
-// ***************************************************************************
-// Revision History :
-//
-// $Log$
-// Revision 1.38 2006/03/19 11:49:04 rogeeff
-// *** empty log message ***
-//
-// Revision 1.37 2006/02/01 08:00:15 rogeeff
-// *** empty log message ***
-//
-// Revision 1.36 2005/12/14 06:01:02 rogeeff
-// *** empty log message ***
-//
-// Revision 1.35 2005/06/13 11:46:26 schoepflin
-// Use limited tests with Tru64/CXX.
-//
-// Revision 1.34 2005/06/11 19:20:58 rogeeff
-// *** empty log message ***
-//
-// Revision 1.33 2005/05/11 05:07:56 rogeeff
-// licence update
-//
-// Revision 1.32 2005/03/23 21:06:39 rogeeff
-// Sunpro CC 5.3 fixes
-//
-// Revision 1.31 2005/03/22 07:14:44 rogeeff
-// no message
-//
-// Revision 1.30 2005/02/23 06:36:01 vawjr
-// Deleted - extraneous \r characters in the file
-//
-// Revision 1.29 2005/02/20 08:28:34 rogeeff
-// This a major update for Boost.Test framework. See release docs for complete list of fixes/updates
-//
-// ***************************************************************************
-
// EOF
Modified: trunk/libs/test/test/test_files/errors_handling_test.pattern
==============================================================================
--- trunk/libs/test/test/test_files/errors_handling_test.pattern (original)
+++ trunk/libs/test/test/test_files/errors_handling_test.pattern 2007-10-22 07:11:51 EDT (Mon, 22 Oct 2007)
@@ -1,386 +1,392 @@
-
-===========================
-log level: log_successful_tests; error type: no error;
-
-Entering test case "error_on_demand"
-99: info: check 'no error' passed
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user message;
-
-Entering test case "error_on_demand"
-message
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user warning;
-
-Entering test case "error_on_demand"
-107: warning in "error_on_demand": warning
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user non-fatal error;
-
-Entering test case "error_on_demand"
-111: error in "error_on_demand": non-fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: cpp exception;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: system error;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user fatal error;
-
-Entering test case "error_on_demand"
-115: fatal error in "error_on_demand": fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: system fatal error;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-Test is aborted
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: no error;
-
-Entering test case "error_on_demand"
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user message;
-
-Entering test case "error_on_demand"
-message
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user warning;
-
-Entering test case "error_on_demand"
-107: warning in "error_on_demand": warning
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user non-fatal error;
-
-Entering test case "error_on_demand"
-111: error in "error_on_demand": non-fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: cpp exception;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: system error;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user fatal error;
-
-Entering test case "error_on_demand"
-115: fatal error in "error_on_demand": fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: system fatal error;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-Test is aborted
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_messages; error type: no error;
-
-
-===========================
-log level: log_messages; error type: user message;
-
-message
-
-===========================
-log level: log_messages; error type: user warning;
-
-107: warning in "error_on_demand": warning
-
-===========================
-log level: log_messages; error type: user non-fatal error;
-
-111: error in "error_on_demand": non-fatal error
-
-===========================
-log level: log_messages; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_messages; error type: system error;
-
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-
-===========================
-log level: log_messages; error type: user fatal error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_messages; error type: system fatal error;
-
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-Test is aborted
-
-===========================
-log level: log_warnings; error type: no error;
-
-
-===========================
-log level: log_warnings; error type: user message;
-
-
-===========================
-log level: log_warnings; error type: user warning;
-
-107: warning in "error_on_demand": warning
-
-===========================
-log level: log_warnings; error type: user non-fatal error;
-
-111: error in "error_on_demand": non-fatal error
-
-===========================
-log level: log_warnings; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_warnings; error type: system error;
-
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-
-===========================
-log level: log_warnings; error type: user fatal error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_warnings; error type: system fatal error;
-
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-
-===========================
-log level: log_all_errors; error type: no error;
-
-
-===========================
-log level: log_all_errors; error type: user message;
-
-
-===========================
-log level: log_all_errors; error type: user warning;
-
-
-===========================
-log level: log_all_errors; error type: user non-fatal error;
-
-111: error in "error_on_demand": non-fatal error
-
-===========================
-log level: log_all_errors; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_all_errors; error type: system error;
-
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-
-===========================
-log level: log_all_errors; error type: user fatal error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_all_errors; error type: system fatal error;
-
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-
-===========================
-log level: log_cpp_exception_errors; error type: no error;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: user message;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: user warning;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: user non-fatal error;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_cpp_exception_errors; error type: system error;
-
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-
-===========================
-log level: log_cpp_exception_errors; error type: user fatal error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_cpp_exception_errors; error type: system fatal error;
-
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-
-===========================
-log level: log_system_errors; error type: no error;
-
-
-===========================
-log level: log_system_errors; error type: user message;
-
-
-===========================
-log level: log_system_errors; error type: user warning;
-
-
-===========================
-log level: log_system_errors; error type: user non-fatal error;
-
-
-===========================
-log level: log_system_errors; error type: cpp exception;
-
-
-===========================
-log level: log_system_errors; error type: system error;
-
-0: fatal error in "error_on_demand": integer divide by zero
-126: last checkpoint: error_on_demand() divide by zero
-
-===========================
-log level: log_system_errors; error type: user fatal error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_system_errors; error type: system fatal error;
-
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-
-===========================
-log level: log_fatal_errors; error type: no error;
-
-
-===========================
-log level: log_fatal_errors; error type: user message;
-
-
-===========================
-log level: log_fatal_errors; error type: user warning;
-
-
-===========================
-log level: log_fatal_errors; error type: user non-fatal error;
-
-
-===========================
-log level: log_fatal_errors; error type: cpp exception;
-
-
-===========================
-log level: log_fatal_errors; error type: system error;
-
-
-===========================
-log level: log_fatal_errors; error type: user fatal error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_fatal_errors; error type: system fatal error;
-
-0: fatal error in "error_on_demand": memory access violation
-131: last checkpoint: write to an invalid address
-
-===========================
-log level: log_nothing; error type: no error;
-
-
-===========================
-log level: log_nothing; error type: user message;
-
-
-===========================
-log level: log_nothing; error type: user warning;
-
-
-===========================
-log level: log_nothing; error type: user non-fatal error;
-
-
-===========================
-log level: log_nothing; error type: cpp exception;
-
-
-===========================
-log level: log_nothing; error type: system error;
-
-
-===========================
-log level: log_nothing; error type: user fatal error;
-
-
-===========================
-log level: log_nothing; error type: system fatal error;
-
+
+===========================
+log level: log_successful_tests; error type: no error;
+
+Entering test case "error_on_demand"
+99: info: check 'no error' passed
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user message;
+
+Entering test case "error_on_demand"
+message
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user warning;
+
+Entering test case "error_on_demand"
+107: warning in "error_on_demand": warning
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user non-fatal error;
+
+Entering test case "error_on_demand"
+111: error in "error_on_demand": non-fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: cpp exception;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: system error;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user fatal error;
+
+Entering test case "error_on_demand"
+115: fatal error in "error_on_demand": fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: system fatal error;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+Test is aborted
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: no error;
+
+Entering test case "error_on_demand"
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user message;
+
+Entering test case "error_on_demand"
+message
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user warning;
+
+Entering test case "error_on_demand"
+107: warning in "error_on_demand": warning
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user non-fatal error;
+
+Entering test case "error_on_demand"
+111: error in "error_on_demand": non-fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: cpp exception;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: system error;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user fatal error;
+
+Entering test case "error_on_demand"
+115: fatal error in "error_on_demand": fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: system fatal error;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+Test is aborted
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_messages; error type: no error;
+
+
+===========================
+log level: log_messages; error type: user message;
+
+message
+Test case error_on_demand doesn't include any assertions
+
+===========================
+log level: log_messages; error type: user warning;
+
+107: warning in "error_on_demand": warning
+Test case error_on_demand doesn't include any assertions
+
+===========================
+log level: log_messages; error type: user non-fatal error;
+
+111: error in "error_on_demand": non-fatal error
+
+===========================
+log level: log_messages; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_messages; error type: system error;
+
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+
+===========================
+log level: log_messages; error type: user fatal error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_messages; error type: system fatal error;
+
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+Test is aborted
+
+===========================
+log level: log_warnings; error type: no error;
+
+
+===========================
+log level: log_warnings; error type: user message;
+
+
+===========================
+log level: log_warnings; error type: user warning;
+
+107: warning in "error_on_demand": warning
+
+===========================
+log level: log_warnings; error type: user non-fatal error;
+
+111: error in "error_on_demand": non-fatal error
+
+===========================
+log level: log_warnings; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_warnings; error type: system error;
+
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+
+===========================
+log level: log_warnings; error type: user fatal error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_warnings; error type: system fatal error;
+
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+
+===========================
+log level: log_all_errors; error type: no error;
+
+
+===========================
+log level: log_all_errors; error type: user message;
+
+
+===========================
+log level: log_all_errors; error type: user warning;
+
+
+===========================
+log level: log_all_errors; error type: user non-fatal error;
+
+111: error in "error_on_demand": non-fatal error
+
+===========================
+log level: log_all_errors; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_all_errors; error type: system error;
+
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+
+===========================
+log level: log_all_errors; error type: user fatal error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_all_errors; error type: system fatal error;
+
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+
+===========================
+log level: log_cpp_exception_errors; error type: no error;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: user message;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: user warning;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: user non-fatal error;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_cpp_exception_errors; error type: system error;
+
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+
+===========================
+log level: log_cpp_exception_errors; error type: user fatal error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_cpp_exception_errors; error type: system fatal error;
+
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+
+===========================
+log level: log_system_errors; error type: no error;
+
+
+===========================
+log level: log_system_errors; error type: user message;
+
+
+===========================
+log level: log_system_errors; error type: user warning;
+
+
+===========================
+log level: log_system_errors; error type: user non-fatal error;
+
+
+===========================
+log level: log_system_errors; error type: cpp exception;
+
+
+===========================
+log level: log_system_errors; error type: system error;
+
+0: fatal error in "error_on_demand": integer divide by zero
+126: last checkpoint: error_on_demand() divide by zero
+
+===========================
+log level: log_system_errors; error type: user fatal error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_system_errors; error type: system fatal error;
+
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+
+===========================
+log level: log_fatal_errors; error type: no error;
+
+
+===========================
+log level: log_fatal_errors; error type: user message;
+
+
+===========================
+log level: log_fatal_errors; error type: user warning;
+
+
+===========================
+log level: log_fatal_errors; error type: user non-fatal error;
+
+
+===========================
+log level: log_fatal_errors; error type: cpp exception;
+
+
+===========================
+log level: log_fatal_errors; error type: system error;
+
+
+===========================
+log level: log_fatal_errors; error type: user fatal error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_fatal_errors; error type: system fatal error;
+
+0: fatal error in "error_on_demand": memory access violation
+131: last checkpoint: write to an invalid address
+
+===========================
+log level: log_nothing; error type: no error;
+
+
+===========================
+log level: log_nothing; error type: user message;
+
+
+===========================
+log level: log_nothing; error type: user warning;
+
+
+===========================
+log level: log_nothing; error type: user non-fatal error;
+
+
+===========================
+log level: log_nothing; error type: cpp exception;
+
+
+===========================
+log level: log_nothing; error type: system error;
+
+
+===========================
+log level: log_nothing; error type: user fatal error;
+
+
+===========================
+log level: log_nothing; error type: system fatal error;
+
Modified: trunk/libs/test/test/test_files/errors_handling_test.pattern2
==============================================================================
--- trunk/libs/test/test/test_files/errors_handling_test.pattern2 (original)
+++ trunk/libs/test/test/test_files/errors_handling_test.pattern2 2007-10-22 07:11:51 EDT (Mon, 22 Oct 2007)
@@ -1,273 +1,279 @@
-
-===========================
-log level: log_successful_tests; error type: no error;
-
-Entering test case "error_on_demand"
-99: info: check 'no error' passed
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user message;
-
-Entering test case "error_on_demand"
-message
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user warning;
-
-Entering test case "error_on_demand"
-107: warning in "error_on_demand": warning
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: user non-fatal error;
-
-Entering test case "error_on_demand"
-111: error in "error_on_demand": non-fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: cpp exception;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_successful_tests; error type: system error;
-
-Entering test case "error_on_demand"
-115: fatal error in "error_on_demand": fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: no error;
-
-Entering test case "error_on_demand"
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user message;
-
-Entering test case "error_on_demand"
-message
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user warning;
-
-Entering test case "error_on_demand"
-107: warning in "error_on_demand": warning
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: user non-fatal error;
-
-Entering test case "error_on_demand"
-111: error in "error_on_demand": non-fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: cpp exception;
-
-Entering test case "error_on_demand"
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_test_suites; error type: system error;
-
-Entering test case "error_on_demand"
-115: fatal error in "error_on_demand": fatal error
-Leaving test case "error_on_demand"
-
-===========================
-log level: log_messages; error type: no error;
-
-
-===========================
-log level: log_messages; error type: user message;
-
-message
-
-===========================
-log level: log_messages; error type: user warning;
-
-107: warning in "error_on_demand": warning
-
-===========================
-log level: log_messages; error type: user non-fatal error;
-
-111: error in "error_on_demand": non-fatal error
-
-===========================
-log level: log_messages; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_messages; error type: system error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_warnings; error type: no error;
-
-
-===========================
-log level: log_warnings; error type: user message;
-
-
-===========================
-log level: log_warnings; error type: user warning;
-
-107: warning in "error_on_demand": warning
-
-===========================
-log level: log_warnings; error type: user non-fatal error;
-
-111: error in "error_on_demand": non-fatal error
-
-===========================
-log level: log_warnings; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_warnings; error type: system error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_all_errors; error type: no error;
-
-
-===========================
-log level: log_all_errors; error type: user message;
-
-
-===========================
-log level: log_all_errors; error type: user warning;
-
-
-===========================
-log level: log_all_errors; error type: user non-fatal error;
-
-111: error in "error_on_demand": non-fatal error
-
-===========================
-log level: log_all_errors; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_all_errors; error type: system error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_cpp_exception_errors; error type: no error;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: user message;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: user warning;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: user non-fatal error;
-
-
-===========================
-log level: log_cpp_exception_errors; error type: cpp exception;
-
-0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
-121: last checkpoint: error_on_demand() throw runtime_error
-
-===========================
-log level: log_cpp_exception_errors; error type: system error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_system_errors; error type: no error;
-
-
-===========================
-log level: log_system_errors; error type: user message;
-
-
-===========================
-log level: log_system_errors; error type: user warning;
-
-
-===========================
-log level: log_system_errors; error type: user non-fatal error;
-
-
-===========================
-log level: log_system_errors; error type: cpp exception;
-
-
-===========================
-log level: log_system_errors; error type: system error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_fatal_errors; error type: no error;
-
-
-===========================
-log level: log_fatal_errors; error type: user message;
-
-
-===========================
-log level: log_fatal_errors; error type: user warning;
-
-
-===========================
-log level: log_fatal_errors; error type: user non-fatal error;
-
-
-===========================
-log level: log_fatal_errors; error type: cpp exception;
-
-
-===========================
-log level: log_fatal_errors; error type: system error;
-
-115: fatal error in "error_on_demand": fatal error
-
-===========================
-log level: log_nothing; error type: no error;
-
-
-===========================
-log level: log_nothing; error type: user message;
-
-
-===========================
-log level: log_nothing; error type: user warning;
-
-
-===========================
-log level: log_nothing; error type: user non-fatal error;
-
-
-===========================
-log level: log_nothing; error type: cpp exception;
-
-
-===========================
-log level: log_nothing; error type: system error;
-
+
+===========================
+log level: log_successful_tests; error type: no error;
+
+Entering test case "error_on_demand"
+99: info: check 'no error' passed
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user message;
+
+Entering test case "error_on_demand"
+message
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user warning;
+
+Entering test case "error_on_demand"
+107: warning in "error_on_demand": warning
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: user non-fatal error;
+
+Entering test case "error_on_demand"
+111: error in "error_on_demand": non-fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: cpp exception;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_successful_tests; error type: system error;
+
+Entering test case "error_on_demand"
+115: fatal error in "error_on_demand": fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: no error;
+
+Entering test case "error_on_demand"
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user message;
+
+Entering test case "error_on_demand"
+message
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user warning;
+
+Entering test case "error_on_demand"
+107: warning in "error_on_demand": warning
+Test case error_on_demand doesn't include any assertions
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: user non-fatal error;
+
+Entering test case "error_on_demand"
+111: error in "error_on_demand": non-fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: cpp exception;
+
+Entering test case "error_on_demand"
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_test_suites; error type: system error;
+
+Entering test case "error_on_demand"
+115: fatal error in "error_on_demand": fatal error
+Leaving test case "error_on_demand"
+
+===========================
+log level: log_messages; error type: no error;
+
+
+===========================
+log level: log_messages; error type: user message;
+
+message
+Test case error_on_demand doesn't include any assertions
+
+===========================
+log level: log_messages; error type: user warning;
+
+107: warning in "error_on_demand": warning
+Test case error_on_demand doesn't include any assertions
+
+===========================
+log level: log_messages; error type: user non-fatal error;
+
+111: error in "error_on_demand": non-fatal error
+
+===========================
+log level: log_messages; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_messages; error type: system error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_warnings; error type: no error;
+
+
+===========================
+log level: log_warnings; error type: user message;
+
+
+===========================
+log level: log_warnings; error type: user warning;
+
+107: warning in "error_on_demand": warning
+
+===========================
+log level: log_warnings; error type: user non-fatal error;
+
+111: error in "error_on_demand": non-fatal error
+
+===========================
+log level: log_warnings; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_warnings; error type: system error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_all_errors; error type: no error;
+
+
+===========================
+log level: log_all_errors; error type: user message;
+
+
+===========================
+log level: log_all_errors; error type: user warning;
+
+
+===========================
+log level: log_all_errors; error type: user non-fatal error;
+
+111: error in "error_on_demand": non-fatal error
+
+===========================
+log level: log_all_errors; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_all_errors; error type: system error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_cpp_exception_errors; error type: no error;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: user message;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: user warning;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: user non-fatal error;
+
+
+===========================
+log level: log_cpp_exception_errors; error type: cpp exception;
+
+0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
+121: last checkpoint: error_on_demand() throw runtime_error
+
+===========================
+log level: log_cpp_exception_errors; error type: system error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_system_errors; error type: no error;
+
+
+===========================
+log level: log_system_errors; error type: user message;
+
+
+===========================
+log level: log_system_errors; error type: user warning;
+
+
+===========================
+log level: log_system_errors; error type: user non-fatal error;
+
+
+===========================
+log level: log_system_errors; error type: cpp exception;
+
+
+===========================
+log level: log_system_errors; error type: system error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_fatal_errors; error type: no error;
+
+
+===========================
+log level: log_fatal_errors; error type: user message;
+
+
+===========================
+log level: log_fatal_errors; error type: user warning;
+
+
+===========================
+log level: log_fatal_errors; error type: user non-fatal error;
+
+
+===========================
+log level: log_fatal_errors; error type: cpp exception;
+
+
+===========================
+log level: log_fatal_errors; error type: system error;
+
+115: fatal error in "error_on_demand": fatal error
+
+===========================
+log level: log_nothing; error type: no error;
+
+
+===========================
+log level: log_nothing; error type: user message;
+
+
+===========================
+log level: log_nothing; error type: user warning;
+
+
+===========================
+log level: log_nothing; error type: user non-fatal error;
+
+
+===========================
+log level: log_nothing; error type: cpp exception;
+
+
+===========================
+log level: log_nothing; error type: system error;
+
Modified: trunk/libs/test/test/test_tree_management_test.cpp
==============================================================================
--- trunk/libs/test/test/test_tree_management_test.cpp (original)
+++ trunk/libs/test/test/test_tree_management_test.cpp 2007-10-22 07:11:51 EDT (Mon, 22 Oct 2007)
@@ -139,6 +139,11 @@
BOOST_CHECK_EQUAL( ts1->get( "empty2" ), tc2->p_id );
BOOST_CHECK_EQUAL( ts1->get( "TestSuite2" ), ts2->p_id );
BOOST_CHECK_EQUAL( ts1->get( "another name" ), INV_TEST_UNIT_ID );
+
+ ts1->remove( tc1->p_id );
+ BOOST_CHECK_EQUAL( ts1->size(), 2U );
+ BOOST_CHECK_EQUAL( ts1->get( "empty1" ), INV_TEST_UNIT_ID );
+
}
//____________________________________________________________________________//
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