2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-29 08:02:12 +00:00
Commit Graph

829 Commits

Author SHA1 Message Date
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
Raffi Enficiaud
5f1e6c2cb0 Fixing the issues when instantiating std::numeric_limits with an array (MSVC complains when T is of an array type) 2015-03-27 18:28:51 +01:00
Raffi Enficiaud
09e4185086 Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc
Conflicts:
	include/boost/test/tools/assertion.hpp
	include/boost/test/tools/floating_point_comparison.hpp
2015-03-27 17:51:25 +01:00
Raffi Enficiaud
402dd1e176 Merge branch 'local/fix_msvc_unit_tests' into develop
Conflicts:
	include/boost/test/tools/floating_point_comparison.hpp
2015-03-27 17:43:14 +01:00
Raffi Enficiaud
0aba7f87dd Fixing floating point comparisons
Now
- for the "close enough" method, shows the min of the fractions if they are both failing
- for the "very close" method, shows the min in all cases.
- the negation is included in the close_at_tolerance, otherwise the comparison is not storing the failing fraction (if the negation is outside)
2015-03-27 17:31:22 +01:00
Raffi Enficiaud
6432b13c96 Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc 2015-03-26 18:34:01 +01:00
Raffi Enficiaud
9fc6cd2eda Merge branch 'local/fix_msvc_unit_tests' into develop 2015-03-26 18:30:53 +01:00
Raffi Enficiaud
1e3d510088 Fixing tests for MSVC-11 2015-03-26 18:27:21 +01:00
Raffi Enficiaud
554d72ce1a Support for compilers without variadic macros
Fixing the tests as well
2015-03-26 13:59:01 +01:00
Raffi Enficiaud
9478ffef8c annoying warnings 2015-03-26 11:20:17 +01:00
Raffi Enficiaud
9e85362351 base should have virtual destructor because instanciated with shared_ptr 2015-03-25 22:28:12 +01:00
Raffi Enficiaud
40439a6593 Merge branch 'develop' into local/new_filtering_merge
* develop: (62 commits)
  Fixing tests on GCCs
  Fixing test on GCCs
  Fixing the tests of this file for GCCs
  Fix collection test on Gccs
  Adding support for C++11 to old gcc compilers as well Fixing issues with arrays
  Fixing counter for r-value ref supported but std::vector still lacking the proper constructor
  Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection
  silence a warning in gcc 4.5
  Revert "introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types"
  Revert "introduce fpc::tolerance_based to be used instead of is_floating_point. This should allow us to extend tolerance based comparisons t omore types"
  introduce fpc::tolerance_based to be used instead of is_floating_point. This should allow us to extend tolerance based comparisons t omore types
  introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types
  remove executable from header
  remove executable form header
  fix MSVC-12 tests
  ENABLE new test tools fix few leftovers from implementation of new FPV comparisons restore test case in test_fp_comparisons.cpp
  test to clear the error on CrystaX runners
  some doc
  const of the elements of the table
  Trying to fix the array problem on Clang 3.4
  ...

Conflicts:
	doc/examples.qbk
	doc/test_organization/decorators.qbk
	doc/test_organization/parametric_test_case_generation.qbk
	include/boost/test/data/monomorphic/fwd.hpp
	include/boost/test/data/monomorphic/generators/random.hpp
	include/boost/test/data/monomorphic/singleton.hpp
	include/boost/test/tools/floating_point_comparison.hpp
	test/test_files/test_tools_test.pattern
2015-03-25 22:19:11 +01:00
Raffi Enficiaud
1f94d4a9bb silencing a warning 2015-03-25 22:00:33 +01:00
Raffi Enficiaud
e99fd5494f Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc
* develop: (35 commits)
  Fixing tests on GCCs
  Fixing test on GCCs
  Fixing the tests of this file for GCCs
  Fix collection test on Gccs
  Adding support for C++11 to old gcc compilers as well Fixing issues with arrays
  Fixing counter for r-value ref supported but std::vector still lacking the proper constructor
  Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection
  silence a warning in gcc 4.5
  Revert "introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types"
  Revert "introduce fpc::tolerance_based to be used instead of is_floating_point. This should allow us to extend tolerance based comparisons t omore types"
  introduce fpc::tolerance_based to be used instead of is_floating_point. This should allow us to extend tolerance based comparisons t omore types
  introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types
  remove executable from header
  remove executable form header
  fix MSVC-12 tests
  ENABLE new test tools fix few leftovers from implementation of new FPV comparisons restore test case in test_fp_comparisons.cpp
  test to clear the error on CrystaX runners
  some doc
  const of the elements of the table
  Trying to fix the array problem on Clang 3.4
  ...

Conflicts:
	include/boost/test/tools/floating_point_comparison.hpp
	include/boost/test/tools/old/impl.hpp
2015-03-25 21:59:46 +01:00
Raffi Enficiaud
7cdd24dfe2 Merge branch 'local/fix_msvc_unit_tests' into develop
* local/fix_msvc_unit_tests:
  Adding support for C++11 to old gcc compilers
  Fixing tests on GCCs && Clang (Linux / OSX), VS 2013
  Fixing issues with arrays
  Fixing tests due to std::vector constructor
  Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection
2015-03-25 16:05:53 +01:00
Raffi Enficiaud
70d8da736b Adding support for C++11 to old gcc compilers as well
Fixing issues with arrays
2015-03-25 15:08:03 +01:00
Raffi Enficiaud
29813acd82 Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection 2015-03-25 12:09:39 +01:00
Raffi Enficiaud
1ece86b02d silence a warning in gcc 4.5 2015-03-25 09:57:18 +01:00
Raffi Enficiaud
1cb93a14d8 Revert "introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types"
This reverts commit 573eef160d.
2015-03-24 17:35:17 +01:00
Gennadiy Rozental
5199029320 cherry picking 573eef1
resolving the conflicts
2015-03-24 10:16:26 +01:00
Gennadiy Rozental
573eef160d introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types 2015-03-24 00:14:48 -04:00
Gennadiy Rozental
5c1c95110f remove executable from header 2015-03-23 19:50:31 -04:00
Gennadiy Rozental
adfea59e67 remove executable form header 2015-03-23 19:47:59 -04:00
Raffi Enficiaud
b41a9354e9 - macro indicating the availability of the variadic variant of BOOST_TEST
- replacing all boost::is_floating_point by a trait is_floating_point_comparable
- reporting the errors messages in the static_asserts
- compiling now the boost.mulitprecision test with C++03 and C++11
- adding the new API macros in the boost.mulitprecision test
2015-03-23 14:16:56 +01:00
Gennadiy Rozental
88f63abd2e ENABLE new test tools
fix few leftovers from implementation of new FPV comparisons
restore test case in test_fp_comparisons.cpp
2015-03-23 10:24:10 +01:00
Gennadiy Rozental
8a015db580 ENABLE new test tools
fix few leftovers from implementation of new FPV comparisons
restore test case in test_fp_comparisons.cpp
2015-03-23 04:52:43 -04:00