Skip to content

Commit c800fa7

Browse files
committed
cvs keywords added
[SVN r14981]
1 parent f1f68b2 commit c800fa7

10 files changed

Lines changed: 216 additions & 61 deletions

src/cpp_main.cpp

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
// Boost Test Library cpp_main.cpp ------------------------------------------//
2-
3-
// (C) Copyright Beman Dawes 1995-2001. Gennadiy Rozental 2001-2202.
1+
// (C) Copyright Gennadiy Rozental 2001-2002.
2+
// (C) Copyright Beman Dawes 1995-2001.
43
// Permission to copy, use, modify, sell and distribute this software is
54
// granted provided this copyright notice appears in all copies. This software
65
// is provided "as is" without express or implied warranty, and with no
76
// claim as to its suitability for any purpose.
87

98
// See http://www.boost.org for updates, documentation, and revision history.
9+
//
10+
// File : $RCSfile$
11+
//
12+
// Version : $Id$
13+
//
14+
// Description : main function implementation for Program Executon Monitor
15+
// ***************************************************************************
1016

1117
// LOCAL
1218
#include <boost/test/execution_monitor.hpp>
@@ -78,12 +84,20 @@ int main( int argc, char* argv[] )
7884

7985
//____________________________________________________________________________//
8086

81-
// Revision History
82-
// 16 Nov 01 Minor message fix (Gennadiy)
83-
// 4 Jun 01 Rewrite to use exception_monitor
84-
// 26 Feb 01 Numerous changes suggested during formal review.
85-
// 25 Jan 01 catch_exceptions.hpp code factored out.
86-
// 22 Jan 01 Remove test_tools dependencies to reduce coupling.
87-
// 5 Nov 00 Initial boost version (Beman Dawes)
87+
// ***************************************************************************
88+
// Revision History :
89+
//
90+
// $Log$
91+
// Revision 1.5 2002/08/20 08:24:13 rogeeff
92+
// cvs keywords added
93+
//
94+
// 16 Nov 01 Minor message fix (Gennadiy)
95+
// 4 Jun 01 Rewrite to use exception_monitor
96+
// 26 Feb 01 Numerous changes suggested during formal review.
97+
// 25 Jan 01 catch_exceptions.hpp code factored out.
98+
// 22 Jan 01 Remove test_tools dependencies to reduce coupling.
99+
// 5 Nov 00 Initial boost version (Beman Dawes)
100+
101+
// ***************************************************************************
88102

89103
// EOF

src/execution_monitor.cpp

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
// Boost Test Library execution_monitor.cpp --------------------------------//
2-
3-
// (C) Copyright Gennadiy Rozental 2001.
1+
// (C) Copyright Gennadiy Rozental 2001-2002.
42
// (C) Copyright Beman Dawes and Ullrich Koethe 1995-2001.
53
// Permission to copy, use, modify, sell and distribute this software
64
// is granted provided this copyright notice appears in all copies.
75
// This software is provided "as is" without express or implied warranty,
86
// and with no claim as to its suitability for any purpose.
97

108
// See http://www.boost.org for updates, documentation, and revision history.
11-
9+
//
10+
// File : $RCSfile$
11+
//
12+
// Version : $Id$
13+
//
14+
// Description : provides execution monitor implementation for all supported
15+
// configurations, including Microsoft structured exception based, unix signals
16+
// based and special workarounds for borland
17+
//
1218
// Note that when testing requirements or user wishes preclude use of this
1319
// file as a separate compilation uses, it may be #included as a header file.
14-
20+
//
1521
// Header dependencies are deliberately restricted to reduce coupling to other
1622
// boost libraries.
23+
// ***************************************************************************
1724

1825
// LOCAL
1926
#include <boost/test/execution_monitor.hpp>
@@ -232,7 +239,7 @@ extern "C" {
232239

233240
static void execution_monitor_signal_handler( int sig )
234241
{
235-
siglongjmp(execution_monitor_jump_buffer(), sig );
242+
siglongjmp( execution_monitor_jump_buffer(), sig );
236243
}
237244

238245
}
@@ -450,17 +457,24 @@ static void report_error( execution_exception::error_code ec, char const* msg1,
450457

451458
} // namespace boost
452459

453-
454-
// Revision History
455-
// 5 Oct 01 Slightly reworked: (Gennadiy Rozental)
456-
// 5 Jun 01 Made SE code work with several Win32 compilers (Beman)
457-
// 4 Jun 01 New interface to old code (was catch_exceptions.hpp)
458-
// to avoid use of template as requested by users (Beman)
459-
// 4 Apr 01 Added signal handling code. (Ullrich)
460-
// 4 Apr 01 Removed default output at end of exception handling (Ullrich)
461-
// 26 Feb 01 Numerous changes suggested during formal review (Beman)
462-
// 25 Jan 01 catch_exceptions.hpp code factored out of cpp_main.cpp
463-
// 22 Jan 01 Remove test_tools dependencies to reduce coupling
464-
// 5 Nov 00 Initial boost version (Beman Dawes)
460+
// ***************************************************************************
461+
// Revision History :
462+
//
463+
// $Log$
464+
// Revision 1.7 2002/08/20 08:24:13 rogeeff
465+
// cvs keywords added
466+
//
467+
// 5 Oct 01 Slightly reworked: (Gennadiy Rozental)
468+
// 5 Jun 01 Made SE code work with several Win32 compilers (Beman)
469+
// 4 Jun 01 New interface to old code (was catch_exceptions.hpp)
470+
// to avoid use of template as requested by users (Beman)
471+
// 4 Apr 01 Added signal handling code. (Ullrich)
472+
// 4 Apr 01 Removed default output at end of exception handling (Ullrich)
473+
// 26 Feb 01 Numerous changes suggested during formal review (Beman)
474+
// 25 Jan 01 catch_exceptions.hpp code factored out of cpp_main.cpp
475+
// 22 Jan 01 Remove test_tools dependencies to reduce coupling
476+
// 5 Nov 00 Initial boost version (Beman Dawes)
477+
478+
// ***************************************************************************
465479

466480
// EOF

src/test_main.cpp

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
// test_main.cpp -----------------------------------------------------------//
2-
3-
// (C) Copyright Beman Dawes 1995-2001. Permission to copy, use, modify, sell
4-
// and distribute this software is granted provided this copyright notice
5-
// appears in all copies. This software is provided "as is" without express or
6-
// implied warranty, and with no claim as to its suitability for any purpose.
1+
// (C) Copyright Gennadiy Rozental 2001-2002.
2+
// (C) Copyright Beman Dawes 1995-2001.
3+
// Permission to copy, use, modify, sell and distribute this software
4+
// is granted provided this copyright notice appears in all copies.
5+
// This software is provided "as is" without express or implied warranty,
6+
// and with no claim as to its suitability for any purpose.
77

88
// See http://www.boost.org for updates, documentation, and revision history.
9+
//
10+
// File : $RCSfile$
11+
//
12+
// Version : $Id$
13+
//
14+
// Description : implements main function for Test Execution Monitor.
15+
// ***************************************************************************
916

1017
// LOCAL
1118
#include <boost/test/unit_test.hpp> // for unit test framework
@@ -76,12 +83,19 @@ int main( int argc, char* argv[] ) {
7683
);
7784
}
7885

79-
// Revision History
80-
81-
// 10 Apr 01 Use new unit_test log features (Ullrich)
82-
// 8 Apr 01 Use boost/test/unit_test.hpp as framework. (Beman)
83-
// 26 Feb 01 Numerous changes suggested during formal review. (Beman)
84-
// 22 Jan 01 Use boost/cpp_main.hpp as framework. (Beman)
85-
// 5 Nov 00 Initial boost version (Beman Dawes)
86+
// ***************************************************************************
87+
// Revision History :
88+
//
89+
// $Log$
90+
// Revision 1.6 2002/08/20 08:24:13 rogeeff
91+
// cvs keywords added
92+
//
93+
// 10 Apr 01 Use new unit_test log features (Ullrich)
94+
// 8 Apr 01 Use boost/test/unit_test.hpp as framework. (Beman)
95+
// 26 Feb 01 Numerous changes suggested during formal review. (Beman)
96+
// 22 Jan 01 Use boost/cpp_main.hpp as framework. (Beman)
97+
// 5 Nov 00 Initial boost version (Beman Dawes)
98+
99+
// ***************************************************************************
86100

87101
// EOF

src/test_tools.cpp

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
// is granted provided this copyright notice appears in all copies.
44
// This software is provided "as is" without express or implied warranty,
55
// and with no claim as to its suitability for any purpose.
6+
7+
// See http://www.boost.org for updates, documentation, and revision history.
8+
//
9+
// File : $RCSfile$
610
//
7-
// See http://www.boost.org for most recent version including documentation.
11+
// Version : $Id$
12+
//
13+
// Description : supplies offline implemtation for the Test Tools
14+
// ***************************************************************************
815

916
// LOCAL
1017
#include <boost/test/test_tools.hpp>
@@ -398,8 +405,16 @@ output_test_stream::sync()
398405

399406
} // namespace boost
400407

401-
// Revision History
402-
// ? ??? 01 Initial version (Ullrich Koethe)
408+
// ***************************************************************************
409+
// Revision History :
410+
//
411+
// $Log$
412+
// Revision 1.6 2002/08/20 08:24:13 rogeeff
413+
// cvs keywords added
414+
//
403415
// 5 Oct 01 Reworked version (Gennadiy Rozental)
416+
// ? ??? 01 Initial version (Ullrich Koethe)
417+
418+
// ***************************************************************************
404419

405420
// EOF

src/unit_test_log.cpp

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@
33
// is granted provided this copyright notice appears in all copies.
44
// This software is provided "as is" without express or implied warranty,
55
// and with no claim as to its suitability for any purpose.
6+
7+
// See http://www.boost.org for updates, documentation, and revision history.
8+
//
9+
// File : $RCSfile$
10+
//
11+
// Version : $Id$
612
//
7-
// See http://www.boost.org for most recent version including documentation.
13+
// Description : implemets Unit Test Log, Majority of implementation details
14+
// are hidden in this file with use of pimpl idiom.
15+
// ***************************************************************************
816

917
// LOCAL
1018
#include <boost/test/unit_test_log.hpp>
@@ -29,7 +37,7 @@ namespace boost {
2937
namespace unit_test_framework {
3038

3139
// ************************************************************************** //
32-
// ************** log manipulators ************** //
40+
// ************** unit_test_log ************** //
3341
// ************************************************************************** //
3442

3543
struct unit_test_log::Impl {
@@ -351,7 +359,15 @@ unit_test_log::start( unit_test_counter test_cases_amount, bool print_build_info
351359

352360
} // namespace boost
353361

354-
// Revision History
362+
// ***************************************************************************
363+
// Revision History :
364+
//
365+
// $Log$
366+
// Revision 1.6 2002/08/20 08:24:13 rogeeff
367+
// cvs keywords added
368+
//
355369
// 5 Oct 01 Initial version (Gennadiy Rozental)
356370

371+
// ***************************************************************************
372+
357373
// EOF

src/unit_test_main.cpp

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
// is granted provided this copyright notice appears in all copies.
44
// This software is provided "as is" without express or implied warranty,
55
// and with no claim as to its suitability for any purpose.
6+
7+
// See http://www.boost.org for updates, documentation, and revision history.
8+
//
9+
// File : $RCSfile$
10+
//
11+
// Version : $Id$
612
//
7-
// See http://www.boost.org for most recent version including documentation.
13+
// Description : main function implementation for Unit Test Framework
14+
// ***************************************************************************
815

916
#include <boost/test/unit_test.hpp> // for unit_test framework
1017
#include <boost/test/unit_test_result.hpp>
@@ -102,7 +109,15 @@ main( int argc, char* argv[] )
102109
return no_result_code ? boost::exit_success : unit_test_result::instance().result_code();
103110
}
104111

105-
// Revision History
112+
// ***************************************************************************
113+
// Revision History :
114+
//
115+
// $Log$
116+
// Revision 1.6 2002/08/20 08:24:13 rogeeff
117+
// cvs keywords added
118+
//
106119
// 5 Oct 01 Initial version (Gennadiy Rozental)
107120

121+
// ***************************************************************************
122+
108123
// EOF

src/unit_test_monitor.cpp

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
// (C) Copyright Ullrich Koethe 2001, Gennadiy Rozental 2001-2002.
1+
// (C) Copyright Gennadiy Rozental 2001-2002.
2+
// (C) Copyright Ullrich Koethe 2001.
23
// Permission to copy, use, modify, sell and distribute this software
34
// is granted provided this copyright notice appears in all copies.
45
// This software is provided "as is" without express or implied warranty,
56
// and with no claim as to its suitability for any purpose.
7+
8+
// See http://www.boost.org for updates, documentation, and revision history.
9+
//
10+
// File : $RCSfile$
11+
//
12+
// Version : $Id$
613
//
7-
// See http://www.boost.org for most recent version including documentation.
14+
// Description : implements specific subclass of Executon Monitor used by Unit
15+
// Test Framework to monitor test cases run.
16+
// ***************************************************************************
817

918
// LOCAL
1019
#include <boost/test/detail/unit_test_monitor.hpp>
@@ -77,7 +86,15 @@ unit_test_monitor::function()
7786

7887
} // namespace boost
7988

80-
// Revision History
89+
// ***************************************************************************
90+
// Revision History :
91+
//
92+
// $Log$
93+
// Revision 1.4 2002/08/20 08:24:13 rogeeff
94+
// cvs keywords added
95+
//
8196
// 5 Oct 01 Initial version (Gennadiy Rozental)
8297

98+
// ***************************************************************************
99+
83100
// EOF

src/unit_test_parameters.cpp

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1-
// (C) Copyright Gennadiy Rozental 2002.
1+
// (C) Copyright Gennadiy Rozental 2001-2002.
22
// Permission to copy, use, modify, sell and distribute this software
33
// is granted provided this copyright notice appears in all copies.
44
// This software is provided "as is" without express or implied warranty,
55
// and with no claim as to its suitability for any purpose.
6+
7+
// See http://www.boost.org for updates, documentation, and revision history.
8+
//
9+
// File : $RCSfile$
10+
//
11+
// Version : $Id$
612
//
7-
// See http://www.boost.org for most recent version including documentation.
13+
// Description : simple implementation for Unit Test Framework parameter
14+
// handling routines. May be rewritten in future to use some kind of
15+
// command-line arguments parsing facility and environment variable handling
16+
// facility
17+
// ***************************************************************************
818

919
// LOCAL
1020
#include <boost/test/detail/unit_test_parameters.hpp>
@@ -73,7 +83,15 @@ retrieve_framework_parameter( char const* parameter_name, int* argc, char** argv
7383

7484
} // namespace boost
7585

76-
// Revision History
86+
// ***************************************************************************
87+
// Revision History :
88+
//
89+
// $Log$
90+
// Revision 1.3 2002/08/20 08:24:13 rogeeff
91+
// cvs keywords added
92+
//
7793
// 26 Oct 01 Initial version (Gennadiy Rozental)
7894

95+
// ***************************************************************************
96+
7997
// EOF

0 commit comments

Comments
 (0)