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

791 Commits

Author SHA1 Message Date
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
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
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
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
Raffi Enficiaud
daf74669a8 some doc 2015-03-20 15:38:59 +01:00
Raffi Enficiaud
948fa4481a const of the elements of the table 2015-03-20 15:34:40 +01:00
Raffi Enficiaud
a973700732 Trying to fix the array problem on Clang 3.4 2015-03-20 15:26:43 +01:00
Raffi Enficiaud
bb2898d632 MSVC-12 fix 2015-03-19 13:45:26 +01:00
Raffi Enficiaud
485028be7a making specialization of result_of::make for the C++03 version of operator+ on datasets. 2015-03-19 13:39:23 +01:00
Raffi Enficiaud
0d96ed0362 second thought: tables are not forward iterable concept 2015-03-19 12:04:27 +01:00
Raffi Enficiaud
f8ee05accb is_forward_iterable for fixed size arrays 2015-03-19 11:50:27 +01:00
Raffi Enficiaud
b90d1738ec blind fix for MSVC-8.0 2015-03-19 10:35:13 +01:00
Raffi Enficiaud
a6f3d88f2c fix "could not deduce template parameter" error on MSVC12 2015-03-19 10:18:26 +01:00
Raffi Enficiaud
0f34822448 Merge branch 'tractickets/11054-multiprecision_test_fixes-doc' into develop
* tractickets/11054-multiprecision_test_fixes-doc:
  Adding a test case for the floating points in multiprecision
  changelog
  close_at_tolerance : getting rid of redundant lines
  casting for compliance with multiprecision expression templates
  messages with the assertions
2015-03-18 23:36:59 +01:00
Raffi Enficiaud
79f9754078 close_at_tolerance : getting rid of redundant lines 2015-03-17 13:40:02 +01:00
Raffi Enficiaud
69439f53cd casting for compliance with multiprecision expression templates 2015-03-17 13:36:45 +01:00
Raffi Enficiaud
58622e28c8 messages with the assertions 2015-03-17 13:31:23 +01:00
Raffi Enficiaud
54b8f0970a fixing the warnings from the logs (thanks Jürgen) 2015-03-16 23:44:18 +01:00
Gennadiy Rozental
24e5ddec4a reworked decorators somewhat; introduce alternative API for attaching decorators; fixed gap in decorators support for test case generators; limited decorator designation to * only 2015-02-16 05:53:23 -05:00
Gennadiy Rozental
2b36dff4b5 validation of enabled/disabled conflict; implemented suite timeout support 2015-02-11 21:24:07 -05:00
Gennadiy Rozental
46e441d0c3 remove executable bit 2015-02-11 14:22:13 -05:00
Gennadiy Rozental
88fad5d519 combine decorators defined in independent locations for the same test unit (for example, separate definitions of the same test suite) 2015-02-02 01:49:36 -05:00
Gennadiy Rozental
5fc744142d added precondition decorator 2015-02-01 07:47:08 -05:00
Gennadiy Rozental
c48df2b3b2 fixed bug with filter parser and exposed interface for self test 2015-02-01 05:12:25 -05:00
Gennadiy Rozental
4b478b53c6 Major rework of filtering approach
the status (enabled/disabled) is split on default and run status. Default is deduced once at the end of setup phase. Run state is deduced before each test tree execution based on default and supplied filters
  disabled nodes are not removed from tree and can be reenabled dynamically
  dependency filtering is moved completely to execution phase into a precondition check step
  dependency tree is validated for loops
  dependency rank is respected in order of node execution now
  dependency works properly with random test execution

added support for selected vs. enabler filters

properly time test suites now

split initialization ans setup phase finalization into separate methods

--list_content parameter is now accepts optional string format name. Default is HRF. We now also support DOT output
  HRF output format is improved to include some test unit attributes (including description)

test suite is considered failing now if it has skipped test case

some messages produced changes to be syntactically correct: failed => has failed for example

properly report precondition failures in log messages

number of spelling errors fixed

small bug in random.hpp is fixed
2015-01-29 02:31:35 -05:00
Raffi Enficiaud
3824842a18 doxygen cosmetics 2015-01-26 10:08:40 +01:00
Raffi Enficiaud
1a72ac2680 Reverting the merge ef4fb45163 from the branch tractickets/7397 2015-01-14 20:50:33 +01:00
jamie
d442454b21 Remove --suppress_timer_output. Update test rules to allow passing arguments 2015-01-12 12:19:38 +00:00
jamie
6d5fdb93a2 Update has_time() to take into consideration --deprecated_timer_format 2015-01-12 11:57:37 +00:00
jamie
ab760e7c0f Merge remote-tracking branch 'upstream/develop' into ticket_7397 2015-01-11 15:49:13 +00:00
jamie
c53deefca8 Add suppress_timer_output option to allow pattern matching of test output 2015-01-11 15:49:04 +00:00
Andrzej Krzemieński
27d0387c1c Doc: typeo sould --> should 2015-01-09 22:37:53 +01:00
Raffi Enficiaud
a6a839043e Some more doxygen documentation 2015-01-09 00:49:23 +01:00
jamie
f06e9c770b Merge branch 'develop' into ticket_7397 and resolve conflicts 2015-01-07 19:16:04 +00:00
jamie
729e346cbd Replace BOOST_TEST_USE_DEPRECATED_TIMER macro with --deprecated_timer_format
Remove the macro BOOST_TEST_USE_DEPRECATED_TIMER and replace it with a
runtime cla --deprecated_timer_format. Additionally change <TestingTime>
to write the testing time in microseconds and add <CpuTime> giving the
time in nanoseconds. Existing scripts and parsers that handle the XML
output should not be affected by this change.
2015-01-07 18:54:12 +00:00
Raffi Enficiaud
28df9d5c9f ras 2015-01-07 00:25:00 +01:00
Raffi Enficiaud
888372e7f8 Doxygen is really broken 2015-01-06 14:51:30 +01:00
Raffi Enficiaud
4a4c198a90 A little more doxygen 2015-01-06 02:54:52 +01:00
Raffi Enficiaud
15d51fb46f Updating the example 64 for grids 2015-01-06 00:35:16 +01:00
Raffi Enficiaud
7b16480871 Doxygen 2015-01-05 20:29:10 +01:00
Raffi Enficiaud
819b13157a Doxygen documentation 2015-01-04 20:44:51 +01:00
Raffi Enficiaud
e8cb2b2ee8 Allowing documentation for random 2015-01-04 20:05:22 +01:00