Gennadiy Rozental
4631efa972
number of warnings/remarks cleaned up
...
[SVN r82747]
2013-02-05 09:20:53 +00:00
Gennadiy Rozental
bae8de14b4
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
[SVN r82718]
2013-02-04 08:32:42 +00:00
Vicente J. Botet Escriba
0a13a6c811
Test: fix shared_ptr implicit conversion to bool introduced in [81780]
...
[SVN r81791]
2012-12-08 11:43:22 +00:00
Marshall Clow
8c598cd8df
Remove usage of deprecated macros
...
[SVN r81500]
2012-11-23 20:08:08 +00:00
David Deakins
288ac36b23
Correction for the WinCE patch in #7515 . crtdefs.h include file was missing for definition of uintptr_t.
...
[SVN r81469]
2012-11-21 22:48:44 +00:00
Gennadiy Rozental
8bd5193619
clang bug workaround
...
[SVN r81362]
2012-11-16 00:37:37 +00:00
Gennadiy Rozental
04d3b1400a
avoid result_type
...
Fixes #6555
[SVN r81322]
2012-11-13 12:55:14 +00:00
Gennadiy Rozental
b7adfa61f9
New feature: Boost.Test now reports number of failed warnings in passed test case and number of passed test cases with failed warnings
...
renamed some global constants to follow naming convention
removed some outdated workarounds
Fixes #6129
[SVN r81320]
2012-11-13 12:17:51 +00:00
Gennadiy Rozental
34cd7fc28d
various portability fixes to allow data driven test cases (partially) on pre c++11 compilers
...
[SVN r81295]
2012-11-11 12:06:15 +00:00
Gennadiy Rozental
fdc2fb470d
fine tuning compiler output
...
[SVN r81287]
2012-11-10 14:00:53 +00:00
Gennadiy Rozental
384b9207a2
new trait name is used
...
[SVN r81286]
2012-11-10 13:48:54 +00:00
Gennadiy Rozental
f2a505defe
remove warnings
...
[SVN r81285]
2012-11-10 13:42:58 +00:00
Jürgen Hunold
c3ec41073f
Fix: gcc-4.7.2: error: ‘>>’ should be ‘> >’ within a nested template argument list
...
gcc supports the angle bracket hat in c++11 only
[SVN r81255]
2012-11-08 20:34:04 +00:00
Gennadiy Rozental
3b85c18c4d
attempts at portable implementation
...
[SVN r81251]
2012-11-08 10:30:10 +00:00
Gennadiy Rozental
76b9f2e4c0
temporary fix
...
[SVN r81250]
2012-11-08 08:56:16 +00:00
Gennadiy Rozental
bea5c30f99
older compilers support
...
[SVN r81247]
2012-11-08 07:45:45 +00:00
Gennadiy Rozental
aa8d9aac3c
support for collection comparison using BOOST_TEST tool
...
[SVN r81243]
2012-11-08 07:06:30 +00:00
Gennadiy Rozental
57c8e7233b
fix initialization order
...
[SVN r81217]
2012-11-06 11:45:04 +00:00
Gennadiy Rozental
cc8d2ffd20
Restore original test case constructor
...
[SVN r81199]
2012-11-05 11:36:21 +00:00
Gennadiy Rozental
07497ecedc
New feature: location of test cases and test suites is registered and reported to improve integration with 3rd party runners
...
[SVN r81198]
2012-11-05 11:29:39 +00:00
Gennadiy Rozental
c7ddf6f8ea
eliminating msvc-10 warnings in release mode; Fixes #6074
...
[SVN r81197]
2012-11-05 10:27:19 +00:00
Gennadiy Rozental
4d6a16e015
enlarge error buffer size ten fold to handle long errors from boost::exception; Fixes #7046
...
[SVN r81196]
2012-11-05 09:23:00 +00:00
Gennadiy Rozental
cc4d0e3bbf
New feature: framework::current_auto_test_suite
...
To be used to manually register test units in a middle of automatically registered test suite
Fixes #7000
[SVN r81193]
2012-11-05 09:03:26 +00:00
Gennadiy Rozental
cad592965c
Fixes #7365
...
[SVN r81184]
2012-11-05 03:16:12 +00:00
Gennadiy Rozental
d890148580
fix for WinCE; Fixes #7515
...
[SVN r81183]
2012-11-05 02:35:38 +00:00
Gennadiy Rozental
306956169e
fix for Android; Fixes #7514
...
[SVN r81182]
2012-11-05 02:32:19 +00:00
Gennadiy Rozental
901678de7a
fix for vacpp; Fixes #6594
...
[SVN r81181]
2012-11-05 02:06:58 +00:00
Gennadiy Rozental
ef6b1abe83
fix for gcc warnings; Fixes #6712
...
[SVN r81180]
2012-11-05 01:06:17 +00:00
Gennadiy Rozental
c4b0e926ee
making operator unambiguous; Fixes #6071
...
[SVN r81179]
2012-11-05 00:57:46 +00:00
Gennadiy Rozental
d87891f7d4
added header for std::forward; Fixes #6345
...
[SVN r81178]
2012-11-05 00:53:57 +00:00
Gennadiy Rozental
942d321f39
MSVC fixes
...
[SVN r81143]
2012-11-02 00:28:20 +00:00
Gennadiy Rozental
e6ff88f67b
MSVC fix
...
[SVN r81142]
2012-11-02 00:14:01 +00:00
Gennadiy Rozental
469080bf6a
no declval on MSVC
...
[SVN r81141]
2012-11-01 22:50:02 +00:00
Gennadiy Rozental
c93812ba7d
gcc 4.7 version of data test case subsystem
...
[SVN r81140]
2012-11-01 22:39:25 +00:00
Gennadiy Rozental
e3cafa251e
gcc 4.7 version of data test case subsystem
...
[SVN r81139]
2012-11-01 22:30:51 +00:00
Gennadiy Rozental
85bfc01924
BOOST_TEST now accepts second optional second arg, in which case it behaves as BOOST_CHECK_MESSAGE
...
[SVN r81138]
2012-11-01 22:29:38 +00:00
Gennadiy Rozental
ca9c11fe35
improve data test case interface to support case without param name
...
[SVN r81107]
2012-10-29 20:21:14 +00:00
Gennadiy Rozental
9c6e6e6d44
moved keywords
...
[SVN r81021]
2012-10-20 09:35:58 +00:00
Gennadiy Rozental
d850279424
updated interface
...
[SVN r81020]
2012-10-19 21:51:13 +00:00
Jürgen Hunold
8aa644ca95
Fix: guard usage of c++11 <type_traits>
...
[SVN r81015]
2012-10-18 20:24:15 +00:00
Gennadiy Rozental
95b3f422c5
license update
...
[SVN r81012]
2012-10-18 08:26:30 +00:00
Gennadiy Rozental
c0f3377cb4
new param_type meta function which can be used to deduce type of the input parameter at compile type
...
license update
[SVN r81011]
2012-10-18 08:19:41 +00:00
Gennadiy Rozental
39e9ac3874
new "data driven test case" subsystem
...
[SVN r81009]
2012-10-18 07:43:44 +00:00
Gennadiy Rozental
228d0ebf4a
fixed namespace
...
[SVN r80369]
2012-09-03 08:21:58 +00:00
Paul A. Bristow
563c0a386e
Use BOOST_NO_CXX11_NUMERIC_LIMITS rather than now deprecated BOOST_NO_NUMERIC_LIMITS_LOWEST
...
[SVN r79466]
2012-07-13 09:17:54 +00:00
Paul A. Bristow
b0ffa72c0d
changed to test for support of max_digits10 isuing
...
BOOST_NO_NUMERIC_LIMITS_LOWEST is a proxy for support of max_digits10.
See https://svn.boost.org/trac/boost/ticket/5758#comment:6
[SVN r79379]
2012-07-09 13:52:43 +00:00
Paul A. Bristow
0755a41be1
Commented out output for radix 10 using max_digits10 until can test that it is supported.
...
[SVN r78942]
2012-06-14 10:22:36 +00:00
Paul A. Bristow
5d0597852d
Added test for radix 10 to use max_digits10 on printing values. https://svn.boost.org/trac/boost/ticket/5758
...
[SVN r78908]
2012-06-12 11:14:39 +00:00
Steven Watanabe
48687a9627
Fix Boost.Test on MinGW/__STRICT_ANSI__
...
[SVN r78540]
2012-05-22 16:14:07 +00:00
Dave Abrahams
4d2812d744
Replace all uses of boost/utility.hpp with more-granular includes. Solves modularization dependency nightmare.
...
[SVN r78502]
2012-05-18 04:44:04 +00:00