Commit Graph

3194 Commits

Author SHA1 Message Date
Gennadiy Rozental
e92119563b reinstated for now
[SVN r74676]
2011-10-03 20:35:43 +00:00
Gennadiy Rozental
dd1c8efdbc some minor fixes
[SVN r74674]
2011-10-03 20:22:46 +00:00
Gennadiy Rozental
a0894e6cb8 new decorator example
[SVN r74673]
2011-10-03 20:21:32 +00:00
Gennadiy Rozental
a5dbedae8c rename
[SVN r74672]
2011-10-03 20:20:27 +00:00
Gennadiy Rozental
25d7de0650 some missing files
[SVN r74666]
2011-10-03 10:57:52 +00:00
Gennadiy Rozental
535c7f772e New decorator::fixture - finally we have suite level fixtures
Separated test unit start/finish logic to share common parts
unit_test_monitor interface generalized to support sunning fixture methods
Fixed couple logic bugs in name filter handling

[SVN r74665]
2011-10-03 10:53:28 +00:00
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
28f4f74319 added decorator.cpp
[SVN r74655]
2011-10-02 18:40:43 +00:00
Gennadiy Rozental
e94d1a353c examples updated
[SVN r74645]
2011-10-02 09:59:38 +00:00
Gennadiy Rozental
c7edbf7d57 use new tool
[SVN r74644]
2011-10-02 09:58:21 +00:00
Gennadiy Rozental
286dc1db33 updated unit tests
[SVN r74643]
2011-10-02 09:57:34 +00:00
Gennadiy Rozental
1f4aa37f26 added decorator
removed test exec monitor

[SVN r74642]
2011-10-02 09:55:57 +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
be96e81747 new test for running by name/label functionality
[SVN r74399]
2011-09-16 03:16:10 +00:00
Gennadiy Rozental
a03cc1c363 new test for running by name/label functionality
[SVN r74398]
2011-09-16 03:15:16 +00:00
Gennadiy Rozental
c3cbee0263 switch to auto tools
[SVN r74396]
2011-09-16 03:13:46 +00:00
Gennadiy Rozental
a256246732 added cla examples jamfile
[SVN r74395]
2011-09-16 03:12:41 +00:00
Gennadiy Rozental
a4e6383a7e added missing examples
[SVN r74394]
2011-09-16 03:10:47 +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
d9dbf412f9 Reverting some accident changes to a few jamfiles from my last commit.
[SVN r68141]
2011-01-14 02:51:17 +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
Steven Watanabe
4007ed937a Fix a few doc typos. Fixes #4923. Fixes #4924.
[SVN r67134]
2010-12-09 17:08:15 +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
Hartmut Kaiser
62643ac712 Spirit: merging from trunk upto rev. 61489
[SVN r63640]
2010-07-04 22:38:38 +00:00
Jürgen Hunold
a3754fdf63 Merge r62426 from ^/trunk
------------------------------------------------------------------------
r62426 | jhunold | 2010-06-04 16:31:54 +0200 (Fr, 04 Jun 2010) | 2 lines

Upgrade Boost.Test to use the symbol visibility macros.

------------------------------------------------------------------------


[SVN r63441]
2010-06-29 19:57:44 +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
Steven Watanabe
97eaf85c57 Update the generated documentation for Boost.Test
[SVN r62776]
2010-06-10 22:57:00 +00:00
Steven Watanabe
9a7d76b446 Rename examples. Fixes #4161
[SVN r62774]
2010-06-10 21:56:35 +00:00
Steven Watanabe
66db99ef64 Fix file names in the Progam Execution Monitor docs. Fixes #3785.
[SVN r62771]
2010-06-10 21:33:46 +00:00
Steven Watanabe
dede18e5a8 Fix file names in the Execution Monitor documentation. Fixes #3784.
[SVN r62770]
2010-06-10 21:28:43 +00:00
Steven Watanabe
6b8e922e5a Use > instead of >= for BOOST_<level>_GT. Fixes #3463
[SVN r62769]
2010-06-10 21:14:08 +00:00
Steven Watanabe
b6a922a296 Put the documentation of logging floating point numbers in the right file. Fixes #3392.
[SVN r62768]
2010-06-10 21:03:19 +00:00
Steven Watanabe
58fb3439fc Fix the reference for report_format and report_level. Fixes #3374
[SVN r62765]
2010-06-10 20:53:47 +00:00
Steven Watanabe
fea88043c2 Use the correct name for BOOST_<level>_EQUAL_COLLECTIONS. Fixes #2717
[SVN r62763]
2010-06-10 20:11:03 +00:00
Steven Watanabe
f8c996b837 Use the correct name for detect_memory_leaks (instead of build_info). Fixes #2018
[SVN r62760]
2010-06-10 20:05:41 +00:00