Changeset 82718

Timestamp:
Feb 4, 2013, 8:32:42 AM (10 years ago)
Author:
Gennadiy Rozental
Message:

Preparing for supporting both new and old testing tools implementation, including macros to manage which one is to be used. Start using new tools internally. Completely split new and old tools implementation so they do not interfere with each other and also can be stitched on/off by macro separately.
Added support for collection comparison interface using BOOST_CHECK( c1 == c2 ). This interface supports all forward iterable collections (including boost::range, but it is currently broken due to error in boost::range.
Added support for floating point comparisons using BOOST_CHECK( a == b, tolerance ) interface. Both percent and fraction tolerance are supported.
NEW feature: added support for floating point comparisons using BOOST_CHECK( a >= b, tolerance ) interface (all kinds of comparisons: != >= >, <= <). Both percent and fraction tolerance are supported.
NEW feature: added support for bitwise comparison using BOOST_CHECK( a == b, bitwise ) interface
NEW feature: sticky tolerance. We now can specify type specific tolerance once and use it in multiple BOOST_CHECK( a==b ) with floating point values without specifying one. More over one can now specify a tolerance for the test case using the new decorator decorator::tolerance()
NEW feature: added support for fixture decorator with an argument
Rerouted printing values in new tools message formatting implementation through the print_helper_t interface to facilitate used defined overwrite.
predicate_result-> assertion_result to better convey the intended use
Implemented new error message formatting helpers
check_is_close_t, check_is_small_t eliminated. Use either functions or new tools API instead.
Added full set of comparison routines for basic_cstring
New traits: is_cstring
is_forward_iterable implementation improved
Failure to open a pattern file is not a warning, but just a message now
Use new C++11 config macros

(No files)

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