-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparing for supporting both new and old testing tools implementatio…
…n, 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 [SVN r82718]
- Loading branch information
Showing
37 changed files
with
2,224 additions
and
822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.