2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-28 07:42:12 +00:00
Commit Graph

854 Commits

Author SHA1 Message Date
Raffi Enficiaud
2325c19609 typo 2015-05-18 16:47:33 +02:00
Gennadiy Rozental
3c62597b8f make sure 0.01 is cast to FPT 2015-05-16 03:00:39 -04:00
Raffi Enficiaud
e1e12c713a typo 2015-05-15 21:02:37 +02:00
Andrzej Krzemieński
3d31ec85fc close_at_tolerance: changed t >= 0 to t >= FPT(0)
My floating point type is not implicitly convertible from literal 0. close_at_tolerance should work with it as well.
2015-05-12 09:15:58 +02:00
Raffi Enficiaud
418c525f61 Revert "Adding the index of the current sample"
This reverts commit 0d9e3c7517.
2015-05-11 15:34:32 +02:00
Gennadiy Rozental
158f977203 commit after merge 2015-05-11 03:51:16 -04:00
Gennadiy Rozental
0e5c50cfb3 disable BOOST_TEST(a==b) for collection unless explicetly requested by the user 2015-05-11 03:09:35 -04:00
Raffi Enficiaud
0d9e3c7517 Adding the index of the current sample 2015-05-10 00:54:15 +02:00
Raffi Enficiaud
dc79c20c4b Fixing the broken tests 2015-05-10 00:34:11 +02:00
Raffi Enficiaud
da1e3bdd13 Fix 2015-05-09 23:05:20 +02:00
Gennadiy Rozental
7ea82a1f3e reorganize assertion.hpp to specialization in separate files 2015-05-09 14:35:07 -04:00
Raffi Enficiaud
757fbf7187 Doxygen update 2015-05-08 23:30:40 +02:00
Gennadiy Rozental
f339dfa9bb introduced 2 new manipulators: per_element and lexicographic; removed prod_tools.hpp 2015-05-08 05:53:48 -04:00
Gennadiy Rozental
9cde511a34 Merge branch 'develop' of https://github.com/boostorg/test into develop 2015-05-06 03:35:03 -04:00
Gennadiy Rozental
eb7aff0c53 Implemented proper lexicographic collection comparison and reporting 2015-05-06 03:34:49 -04:00
Raffi Enficiaud
858af1caac Update of the acceptable statements 2015-05-06 00:55:09 +02:00
Gennadiy Rozental
70e94cb21e Merge branch 'develop' of https://github.com/boostorg/test into develop 2015-05-05 03:43:39 -04:00
Gennadiy Rozental
ab369ea6c1 Improved error message in case of comparison of floating point numbers 2015-05-05 03:43:17 -04:00
Jessica Hamilton
c493546c32 Fix feature test of BOOST_NO_CXX11_VARIADIC_MACROS
Change b41a935 introduced regression failures due to preprocessor errors with respect to the && operator, leading to the following error:

../boost/test/test_tools.hpp:50:87: error: operator '&&' has no right operand
 #if !BOOST_PP_VARIADICS || ((__cplusplus >= 201103L) && BOOST_NO_CXX11_VARIADIC_MACROS)
2015-05-05 16:56:00 +12:00
Gennadiy Rozental
1b53567eff Merge branch 'develop' of https://github.com/boostorg/test into develop 2015-05-04 14:23:10 -04:00
Gennadiy Rozental
88512b5bda Fixed NE comparison for collection 2015-05-04 14:22:27 -04:00
Raffi Enficiaud
5edf00c6e5 forward iterable concept in the documentation
some text on collections for BOOST_TEST, with links to is_forward_iterable
2015-04-29 22:14:34 +02:00
Raffi Enficiaud
9fd8d002d9 small updates 2015-04-29 22:14:34 +02:00
Raffi Enficiaud
434c4c344f doxygen on floating point manipulators 2015-04-29 22:14:33 +02:00
Raffi Enficiaud
f0f1b89e10 Fix references to generated_by 2015-04-29 22:14:33 +02:00
Raffi Enficiaud
8ea54eb4e7 some better doxygen
doxygen sucks
2015-04-29 22:14:33 +02:00
Andrzej Krzemieński
91d3c5752f BOOST_FIXTURE_TEST_SUITE_WITH_DECOR not working 2015-04-28 15:40:28 +02:00
Raffi Enficiaud
d749f50323 removing the _D versions of the macros 2015-04-23 09:11:46 +02:00
Raffi Enficiaud
5323295b21 Merge branch 'develop' into local/new_filtering_merge
* develop: (23 commits)
  Correcting the quickbook as well
  Some more doxygen
  Bugfix: non exact types are floats
  Now testing the multiprecision library with the automatic support for approximate types
  FP test with new API as well
  Fixing the tests for compilers not supporting variadic macros
  Fixing the compilation issues due to unrecognized compiler options
  Following the changes of the bounds in the floating point comparisons
  Fixing the tests
  != comparison for floats is not strong
  Updating the documentations of the floating point comparison part. Links to doxygen Some more doxygen doc of the code
  cherry picking the update of the Jamfile, especially the support to SHORT_NAMES in doxygen
  updated doc
  empty lines removed
  simplified tolerance_based metafunction and close_at_tolerance; updated docs
  Fixing the issues when instantiating std::numeric_limits with an array (MSVC complains when T is of an array type)
  silencing a warning
  Fix tests
  fix MSVC-12 tests
  cherry picking 56fa327 leaving the old API for now (in all case) leaving the Jamfile as it is, as not all gcc variants of the dashboard support c++11.
  ...

Conflicts:
	include/boost/test/tools/assertion.hpp
	include/boost/test/tools/detail/tolerance_manip.hpp
	test/test_files/test_tools_test.pattern
2015-04-22 20:24:32 +02:00
Raffi Enficiaud
1b57153ca3 Some more doxygen 2015-04-22 14:44:45 +02:00
Raffi Enficiaud
4113e96e77 Bugfix: non exact types are floats 2015-04-20 19:50:54 +02:00
Raffi Enficiaud
958d6e0d68 Fixing the tests 2015-04-09 17:44:03 +02:00
Raffi Enficiaud
79931ded96 Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc
Conflicts:
	include/boost/test/tools/floating_point_comparison.hpp
2015-04-09 12:16:59 +02:00
Gennadiy Rozental
43ac9f31b6 != comparison for floats is not strong 2015-04-05 20:13:29 +01:00
Raffi Enficiaud
287cd60bc4 Updating the documentations of the floating point comparison part.
Links to doxygen
Some more doxygen doc of the code
2015-03-31 12:59:33 +02:00
Gennadiy Rozental
eeea1f90df simplified tolerance_based metafunction and close_at_tolerance; updated docs 2015-03-31 09:36:41 +01:00
Raffi Enficiaud
63a3421e06 Merge branch 'develop' into local/new_filtering_merge 2015-03-30 17:39:07 +02:00
Raffi Enficiaud
00bf9050a8 some more comments 2015-03-30 16:44:09 +02:00
Raffi Enficiaud
884840e5bd some documentation about the bitwise comparison 2015-03-30 16:41:31 +02:00
Raffi Enficiaud
960c9402dc some doxygen 2015-03-30 16:09:40 +02:00
Raffi Enficiaud
6a2427a23b Fixing issue in unit test for the line
BOOST_TEST( str1 != (str6+1) );

In that case, in MSVC <= 2008, right side of != is const char * const, and does not match the comparison operator dedicated to cstrings
2015-03-30 14:25:49 +02:00
Raffi Enficiaud
76826e49fa Merge branch 'local/fix_msvc_unit_tests' into develop 2015-03-30 11:02:32 +02:00
Raffi Enficiaud
15fe3f3b96 Merge branch 'tractickets/6766-incorrect-declaration-for-putenv-in-config.hpp' into develop
* tractickets/6766-incorrect-declaration-for-putenv-in-config.hpp:
  one more ticket
  update change log still surrounding with __SUN__
  Update config.hpp
2015-03-29 11:02:46 +02:00
Raffi Enficiaud
9879db3c3e Fixing the MSVC macros on GCC 2015-03-29 09:59:12 +02:00
Raffi Enficiaud
0f9739d97c Fixing the issue related to the forward declarations of templates on MSVC <= 2008 2015-03-30 10:51:24 +02:00
Adam Wulkiewicz
2484790e50 Fix compilation errors on msvc caused by min/max macros. 2015-03-30 10:20:30 +02:00
Adam Wulkiewicz
fb94f6a590 Fix compilation errors on msvc caused by min/max macros. 2015-03-29 05:49:09 +02:00
Raffi Enficiaud
cdf32e8124 update change log
still surrounding with __SUN__
2015-03-27 18:44:35 +01:00
akumta
7d4b389269 Update config.hpp
For ticket# 6766
2015-03-27 18:44:34 +01:00
Raffi Enficiaud
e23c46f509 Merge branch 'develop' into local/new_filtering_merge
Conflicts:
	include/boost/test/tools/assertion.hpp
	test/test_files/test_tools_test.pattern
2015-03-27 18:37:16 +01:00