2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-08 23:22:13 +00:00
Commit Graph

549 Commits

Author SHA1 Message Date
Gennadiy Rozental
1df0dd5850 Removed unit_test_framework namespace
test_being_aborted moved into framework namespace
New decorators: enable_if/disable_if to facilitate change status at construction time
Further work on restructuring unit_test_suite_impl split into multiple new headers under boost/test/tree/decorator.hpp

[SVN r74663]
2011-10-03 06:59:41 +00:00
Gennadiy Rozental
e8bcb5ada1 corrected manipulator handling in lazy_ostream
added some forwards 

[SVN r74641]
2011-10-02 09:53:11 +00:00
Gennadiy Rozental
235acea2fa Removed deprecated headers/interfaces:
auto_unit_test.hpp
    test_exec_monitor.hpp (Test Execution Monitor)
    unit_test_framework.hpp
    BOOST_BITWISE_EQUAL( L, R )
    BOOST_MESSAGE( M )
    BOOST_CHECKPOINT( M )
Eliminated callback.hpp in favor of boost::function. 
Eliminated need for sero_return_wrapper
Eliminated test_func_with_bound_param in favor of boost::bind
Eliminated auto_tc_exp_fail in favor on new decorator based implementation
Started header reorganization.
    introduced subdirectory tools for testing tools related headers 
    introduced subdirectory tree for test tree management related headers
    introduced subdirectory interaction for interaction based testing
    test_tools.hpp header split into interface (stay as it was) and implementation places in tools/impl.hpp
Execution monitor: new interface vexecute - to be used to monitor nullary functions with no result values
Introduced notion of auto-registered test unit decorators. General interface and infrastructure put in place. Following decorators already implemented:
    decorator::label - adds labels to a test unit
    decorator::expected_failures - set expected failures for test unit
    decorator::timeout - sets timeout for test unit
    decorator::description - sets test unit description
    decorator::depends_on - sets test unit dependency
New macro BOOST_TEST_DECORATOR is to be used to specify decorators
Added operator+ and operator += for basic_cstring and std::string
Eliminated some old workarounds
BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES deprecated use decorator interface instead
test_case::test_func switched back to readonly property
test_tree_visitor interface extended to facilitate visitors applying the same action to all test units. Added:
     virtual bool    visit( test_unit const& )
and redirected other interfaces use it as default.
Fixed bug in lazy_ostream_impl construction

[SVN r74640]
2011-10-02 09:00:16 +00:00
Gennadiy Rozental
971ed7f606 introduced support for "run by label"
run by name/label now recognizes dependencies
traverse_test_tree now able traverse whole tree ignoring enable/disable status
dependencies became public property of test unit

[SVN r74402]
2011-09-16 03:26:16 +00:00
Gennadiy Rozental
601eab0343 made "run" argument multiplicable
facilitated CLA parser reuse for multiple parsing sessions (mostly for internal unit testing)
introduced list_context CLA


[SVN r74401]
2011-09-16 03:22:37 +00:00
Gennadiy Rozental
c177f7062c facilitated CLA parser reuse for multiple parsing sessions
fixed bug in handling boolean parameters

[SVN r74400]
2011-09-16 03:19:43 +00:00
Gennadiy Rozental
ff7b86026f support for failure context
[SVN r74248]
2011-09-06 07:14:08 +00:00
John Maddock
abf897e466 check BOOST_NO_FENV_H before making use of it.
[SVN r70474]
2011-03-23 12:24:19 +00:00
Steven Watanabe
704e7cb516 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
1753857f1b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Bryce Adelstein-Lelbach
6e20d0bc70 Added a detail header for fenv. Please use boost/detail/fenv.hpp in Boost code
to avoid problems with Clang/glibc.



[SVN r66458]
2010-11-08 17:10:25 +00:00
Bryce Adelstein-Lelbach
dfd5bb405f Neglected a "!"
[SVN r66452]
2010-11-08 13:17:36 +00:00
Bryce Adelstein-Lelbach
3bdcf44e75 Clang hand-holding, mostly for issues caused by Clang defining GCC macros.
[SVN r66442]
2010-11-07 20:05:04 +00:00
Steven Watanabe
f6ee970ecf Fix Boost.Test on msvc 7.1 based on a patch from David Walthall
[SVN r63010]
2010-06-16 02:31:08 +00:00
Steven Watanabe
cd47d62b46 Fix Boost.Test on Sun.
[SVN r62992]
2010-06-15 18:55:48 +00:00
Steven Watanabe
0f1a713690 Call test_finish/test_unit_finish in the reverse order from test_start/test_unit_start. Fixes #3978
[SVN r62805]
2010-06-11 15:18:46 +00:00
Steven Watanabe
456ea98bb6 Fix -Wshadow warnings. Fixes #4017
[SVN r62799]
2010-06-11 13:55:31 +00:00
Steven Watanabe
f7d4ce565a Add missing #includes. Fixes #3979
[SVN r62783]
2010-06-11 03:49:17 +00:00
Steven Watanabe
23b228310a Add boost_ prefix to extern "C" functions. Fixes #3811
[SVN r62782]
2010-06-11 03:39:22 +00:00
Steven Watanabe
10430e190e #include <osreldate.h> on FreeBSD. Fixes #3897
[SVN r62780]
2010-06-11 01:33:45 +00:00
Steven Watanabe
6f818d8a18 Fixes for como
[SVN r62779]
2010-06-11 00:51:35 +00:00
Jürgen Hunold
81db53feca Upgrade Boost.Test to use the symbol visibility macros.
[SVN r62426]
2010-06-04 14:31:54 +00:00
David Deakins
e494c42902 Windows CE does not support returning from functions inside the _try/__except handler.
[SVN r62228]
2010-05-26 04:07:36 +00:00
David Deakins
3522f510f2 Checked in the correct Windows CE fix.
[SVN r62226]
2010-05-26 03:36:31 +00:00
David Deakins
975335c188 - Windows CE does not have the _controlfp_s function
[SVN r62225]
2010-05-26 03:27:46 +00:00
John Maddock
9610212b41 Fix unconditional use of non-standard glibc specific functions.
[SVN r62194]
2010-05-25 11:23:34 +00:00
Gennadiy Rozental
b62301d91b cygwin fix
[SVN r62163]
2010-05-23 13:57:12 +00:00
Douglas Gregor
44a26f62c4 Darwin does not have feenablexcept. Fixes #4222.
[SVN r62068]
2010-05-17 16:16:08 +00:00
Gennadiy Rozental
ef88f846e3 New floating point portable interfaces introduced in namespace fpe
FPE enable/disable now works on *nix as well
FPE handling is split from system errors handling. You can detect FPE even if catch_system_error is false
SIGCHLD handling removed
seh_catch_preventer eliminated in latest versions of MSVC
Added an ability to erase registered exception translator
Lazy_ostream updated to be usable in more use cases
New production testing tools interface introduced
New header for the execution monitor standalone usage

[SVN r62016]
2010-05-16 02:45:31 +00:00
Jeremiah Willcock
0e5ea12e3a Fixed tab and no-newline-at-end-of-file issues from inspection report
[SVN r61435]
2010-04-20 17:54:16 +00:00
Eric Niebler
e013305c6b remove dependence on non-standard va_copy macro
[SVN r58746]
2010-01-06 08:53:54 +00:00
Gennadiy Rozental
d2e8058c68 use ifdef va_copy
[SVN r58702]
2010-01-05 09:56:28 +00:00
Gennadiy Rozental
cc5d4d58c6 use va_copy
[SVN r58556]
2009-12-29 06:50:37 +00:00
Gennadiy Rozental
cfeac9330b in preparation of production use of test tools
[SVN r58526]
2009-12-25 09:20:28 +00:00
Gennadiy Rozental
12d761dbf4 added support for the colored output
[SVN r58338]
2009-12-13 09:24:47 +00:00
Gennadiy Rozental
1c5e0b5b35 fix priority for the progress monitor
[SVN r58337]
2009-12-13 09:22:44 +00:00
Gennadiy Rozental
2e3bd1025d Avoid catching SIGCHILD altogether. One should exanine system call exit code instead. Fixes #3664
[SVN r57995]
2009-11-28 10:25:09 +00:00
Gennadiy Rozental
fd8d9b3e4e hmm works other way around
[SVN r57864]
2009-11-23 15:49:13 +00:00
Gennadiy Rozental
166f9c6bfe support for log_sink and report_sink is added
[SVN r57857]
2009-11-23 05:57:27 +00:00
Gennadiy Rozental
f922f64e80 Use CData to print error message. Fixes #3636
[SVN r57854]
2009-11-23 03:01:38 +00:00
Gennadiy Rozental
710a00829b Warnings cleanup.Fixes #2646. Fixes #3598.
[SVN r57853]
2009-11-23 02:23:54 +00:00
Gennadiy Rozental
16c08f39c7 forgot ;
[SVN r57852]
2009-11-23 00:07:09 +00:00
Gennadiy Rozental
7f619d22b1 Handles the case where parent pid == process pid and != 0. Fixes #3495. Fixes #3481. Fixes #3592
[SVN r57850]
2009-11-22 21:57:05 +00:00
Gennadiy Rozental
8d7739da40 Attempt at CodeGear fix. Fixes #3497
[SVN r57848]
2009-11-22 21:36:04 +00:00
Jürgen Hunold
42b4678bd9 Refactored: use static_cast and const pointer where possible.
[SVN r56501]
2009-10-01 10:12:00 +00:00
Gennadiy Rozental
77ae5e000a missing namespace
[SVN r56469]
2009-09-29 08:58:45 +00:00
Gennadiy Rozental
98f8485ca7 apparently compiler might want to examine tu.second twice: before and after calling destructor
Fixes #2889
Fixes #3432
Fixes #2647

[SVN r56467]
2009-09-29 01:33:36 +00:00
Gennadiy Rozental
b49be0ace9 BOOST_FIXTURE_TEST_CASE_TEMPLATE introduced
[SVN r56390]
2009-09-26 22:38:17 +00:00
Gennadiy Rozental
95da6265e6 enable logging from initialization procedures
[SVN r56029]
2009-09-05 08:49:07 +00:00
Gennadiy Rozental
b99dd4b019 support for exception inception location added
support for boost::exception added

[SVN r55515]
2009-08-11 00:29:39 +00:00