Changeset 74640

Timestamp:
Oct 2, 2011, 9:00:16 AM (11 years ago)
Author:
Gennadiy Rozental
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.