Commit Graph

3194 Commits

Author SHA1 Message Date
Andrey Semashev
9b122e16f2 Added a missing include.
[SVN r85186]
2013-08-01 22:16:45 +00:00
John Maddock
8b12e766df Disable C++11 as a build requirement: tests all pass without it, and it's presence prevents testing in C++03 mode, or with GCC prior to 4.5.
[SVN r83488]
2013-03-18 11:58:14 +00:00
Gennadiy Rozental
09732ac755 added missing include
[SVN r82995]
2013-02-19 09:51:23 +00:00
Vicente J. Botet Escriba
b41e2c5b29 Test: remove warning unused variable at.
[SVN r82977]
2013-02-18 18:29:02 +00:00
Vicente J. Botet Escriba
f7726f7ad0 Test: added missing include files
[SVN r82835]
2013-02-12 18:14:03 +00:00
Gennadiy Rozental
b6699ef92c ifdef new tool usage
[SVN r82783]
2013-02-08 07:42:31 +00:00
Gennadiy Rozental
096d1312da Disable new tools id there is no variadics, but enable variadics for PGI
[SVN r82758]
2013-02-06 09:01:28 +00:00
Gennadiy Rozental
4f7fc06c4b fix shared_ptr in bool context
[SVN r82756]
2013-02-06 03:26:15 +00:00
Gennadiy Rozental
604cb435ec number of warnings/remarks cleaned up
[SVN r82748]
2013-02-05 09:22:23 +00:00
Gennadiy Rozental
4631efa972 number of warnings/remarks cleaned up
[SVN r82747]
2013-02-05 09:20:53 +00:00
Gennadiy Rozental
0b4af99471 do not report warnings as errors for now.
[SVN r82731]
2013-02-04 17:30:54 +00:00
Gennadiy Rozental
3ee193f9f5 Try to turn on C++11 features for gcc
[SVN r82720]
2013-02-04 08:36:47 +00:00
Gennadiy Rozental
efa8325a84 Unit test update to reflect previous commit's changes
[SVN r82719]
2013-02-04 08:34:26 +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
954d3ab699 Thread: merge [81791]-tools dir missing
[SVN r81913]
2012-12-13 21:32:58 +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
51af202d13 Removed usage of deprecated macros in Boost.Test
[SVN r81568]
2012-11-26 18:31:42 +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
9fa49dfe61 globals renamed
[SVN r81326]
2012-11-13 23:59:24 +00:00
Gennadiy Rozental
04d3b1400a avoid result_type
Fixes #6555 

[SVN r81322]
2012-11-13 12:55:14 +00:00
Gennadiy Rozental
31d6e0e202 self test updated
[SVN r81321]
2012-11-13 12:53:54 +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
460a4da99d added more #ifndef BOOST_NO_CXX11_LAMBDAS
[SVN r81311]
2012-11-12 19:48:22 +00:00
Gennadiy Rozental
59e9a21ed7 check only file name
[SVN r81310]
2012-11-12 19:00:57 +00:00
Gennadiy Rozental
da5bd1ec0b new C++11 specific target
[SVN r81297]
2012-11-11 12:08:53 +00:00
Gennadiy Rozental
2930d02a0c various portability fixes to allow data driven test cases (partially) on pre c++11 compilers
[SVN r81296]
2012-11-11 12:07:37 +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
5c7a5332d0 updated unit test
[SVN r81252]
2012-11-08 10:46:07 +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
584ba71ff7 typos fixed
[SVN r81249]
2012-11-08 07:55:59 +00:00
Gennadiy Rozental
70d8a3ea7c older compilers support
[SVN r81248]
2012-11-08 07:47:12 +00:00
Gennadiy Rozental
bea5c30f99 older compilers support
[SVN r81247]
2012-11-08 07:45:45 +00:00
Gennadiy Rozental
8726564961 test update
[SVN r81246]
2012-11-08 07:18:35 +00:00
Gennadiy Rozental
5fbaaab527 test update
[SVN r81245]
2012-11-08 07:18:11 +00:00
Gennadiy Rozental
ac807f15dc test update
[SVN r81244]
2012-11-08 07:17:36 +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
fa664bb897 forgoten test updates
[SVN r81221]
2012-11-06 15:09:49 +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
329bd16cb6 test case for framework::current_auto_test_suite
[SVN r81194]
2012-11-05 09:04:22 +00:00