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

3038 Commits

Author SHA1 Message Date
Raffi Enficiaud
fac1f77164 Repointing former SGI links 2019-02-15 13:39:54 +01:00
Raffi Enficiaud
b00085ed54 Correcting BOOST_TEST messages in the scope of the Contexts documentation 2019-02-15 13:39:54 +01:00
Raffi Enficiaud
89aeac71ac Fixing floating point dead link 2019-02-15 13:39:54 +01:00
Raffi Enficiaud
aae67d2ac2 Removing the need for samples from datasets 2019-02-15 13:39:54 +01:00
Raffi Enficiaud
e642b3ac15 Change log with TOC 2019-02-14 21:37:53 +01:00
Raffi Enficiaud
5771ddb4f8 Merge branch 'topic/GH-138-decorator-dataset-testcase' into next-internal
* topic/GH-138-decorator-dataset-testcase:
  Change log
  Fixing propagation of decorators to underlying test-case generator

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2019-02-14 08:33:24 +01:00
Raffi Enficiaud
6d44cd3014 Change log 2019-02-14 08:32:25 +01:00
Raffi Enficiaud
475a399d97 Merge branch 'topic/PR-205-Fix-MinGW-vsnprintf-compile-errors-warnings' into next-internal
* topic/PR-205-Fix-MinGW-vsnprintf-compile-errors-warnings:
  Change log
  Added unused variable markup to silence gcc warnings.
  Use legacy _vsnprintf on MinGW.

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2019-02-14 08:27:44 +01:00
Raffi Enficiaud
52c7da62d8 Fixing propagation of decorators to underlying test-case generator
The BOOST_DATA_TEST_CASE creates an implicit test suite. that consumes
all the decorators that have been declared prior to the BOOST_DATA_TEST_CASE
macro. In order to properly propagate the decorators to the underlying
test-case generator (the data test case), a new "stacked" decorator collector
has been implemented. The new decorator decorator::stack_decorator
allows the user to push the currently stacked decorator to a higher level of the
hierarchy.
2019-02-14 08:25:32 +01:00
Raffi Enficiaud
a2816aeb75 Merge branch 'topic/GH-197-plural-context-in-single-scope' into next-internal
* topic/GH-197-plural-context-in-single-scope:
  Change log
  Making BOOST_TEST_CONTEXT variadic and adding sticky context

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2019-02-13 07:15:12 +01:00
Raffi Enficiaud
fc546ae162 Change log 2019-02-13 07:11:59 +01:00
Andrey Semashev
40ddfdd0b1 Added unused variable markup to silence gcc warnings.
The singleton reference variables and a few other globals may not be actually
used in the user's code, which makes gcc emit warnings. This commit marks these
variables as potentially unused, which silences the warnings.
2019-02-13 07:11:59 +01:00
Andrey Semashev
c5ef935641 Use legacy _vsnprintf on MinGW.
Apparently, some versions of legacy MinGW headers don't provide
the standard vsnprintf function, as Appveyor CI fails for this target.
Thus we use the non-standard MSVC-specific _vsnprintf instead.
2019-02-12 01:12:04 +01:00
Raffi Enficiaud
35648b949d Change log 2019-02-12 01:05:05 +01:00
Raffi Enficiaud
1cf1503b23 Making BOOST_TEST_CONTEXT variadic and adding sticky context
To ease the creation of contexts, variadic let us declare several
values in one call (no extra brace) while ticky context let us
add new information while they arrive.

The example shows a random trial making a test fail. We force the failure
for the unit tests, which does not remove the documentation value of the
example.
2019-02-12 01:04:00 +01:00
Raffi Enficiaud
6653e061a8 Merge branch 'topic/GH-176-doc-dataset' into next-internal
* topic/GH-176-doc-dataset:
  Change log
  Added documentation on throwing dataset
2019-02-10 23:25:21 +01:00
Raffi Enficiaud
60eec92e0e Merge branch 'topic/GH-203-dataset-new-fixtures' into next-internal
* topic/GH-203-dataset-new-fixtures:
  Change log
  Extended fixture messages for template test cases
  Dataset test case: allowing fixtures w. setup/teardown

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2019-02-10 23:25:10 +01:00
Raffi Enficiaud
4738f8eecb Change log 2019-02-10 20:38:50 +01:00
Raffi Enficiaud
1cd5487b32 Added documentation on throwing dataset
Otherwise confusing people.
2019-02-10 20:37:45 +01:00
Raffi Enficiaud
161d62b5fc Change log 2019-02-10 20:25:06 +01:00
Raffi Enficiaud
638f7c1e0a Extended fixture messages for template test cases
Unifying the messages as for the other test-cases
2019-02-10 20:24:01 +01:00
Raffi Enficiaud
0b4eeb22c6 Dataset test case: allowing fixtures w. setup/teardown
Also the context is now spread to the fixture as well.
2019-02-10 20:23:52 +01:00
Raffi Enficiaud
ae1a6c608b Merge branch 'topic/floating-point-comparison-issues' into next-internal
* topic/floating-point-comparison-issues:
  Change log
  Relaxed tolerance based comparisons
2019-02-08 03:26:52 +01:00
Raffi Enficiaud
6078a93239 Change log 2019-02-08 01:41:44 +01:00
Raffi Enficiaud
80d342a806 Relaxed tolerance based comparisons
It is now possible to compare a type that is tolerance based together
with a type that is not necessarily tolerance based but still
arithmetic.

Doc update and tests.
2019-02-08 01:32:54 +01:00
Raffi Enficiaud
d803b0068f Merge branch 'topic/GH-199-runtime-type_mismatch-after-upgrade' into next-internal
* topic/GH-199-runtime-type_mismatch-after-upgrade:
  Change log
  Default visibility for enums and rtti objects facility
2019-02-08 00:01:38 +01:00
Raffi Enficiaud
78b21a159a Change log 2019-02-08 00:00:57 +01:00
Raffi Enficiaud
a84a5564f5 Default visibility for enums and rtti objects facility
Making the RTTI objects globally visible.
Some old versions of clang are apparently not honoring
the enum visibility.
2019-02-08 00:00:01 +01:00
Raffi Enficiaud
aa2ffbf1bf Merge branch 'topic/GH-177-boost_check_equal-str-test-failure' into next-internal
* topic/GH-177-boost_check_equal-str-test-failure:
  Change log
  Preventing the compiler to optimize out the duplicate strings
2019-02-04 22:01:42 +01:00
Raffi Enficiaud
2def713233 Merge branch 'topic/GH-181-doc-example-fail-in-release' into next-internal
* topic/GH-181-doc-example-fail-in-release:
  Change log
  Rewrite example22 and example23

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2019-02-04 22:01:08 +01:00
Raffi Enficiaud
15dce0b881 Change log 2019-02-04 21:59:08 +01:00
Raffi Enficiaud
c63640cef1 Rewrite example22 and example23
- Functions being optimized: making functions having side-effects to prevent
  optimizations to remove the calls.
- UB (divide by zero) is compiler implementation specific and does not raise
  an exception on CLANG, rewrite the test to serve the purpose of the
  boost.test macro.
2019-02-04 21:59:08 +01:00
Raffi Enficiaud
2f055d51f5 Merge branch 'topic/13106-console_test_runner-not-compiling' into next-internal
* topic/13106-console_test_runner-not-compiling:
  Change log
  Fixing the command line parsing

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2019-02-04 12:57:44 +01:00
Raffi Enficiaud
c692175042 Change log 2019-02-04 09:26:25 +01:00
Raffi Enficiaud
4820d0965e Fixing the command line parsing 2019-02-04 09:25:02 +01:00
Raffi Enficiaud
7022956c8b Change log 2019-02-04 08:00:48 +01:00
Raffi Enficiaud
ea77db2f31 Preventing the compiler to optimize out the duplicate strings 2019-02-04 07:59:53 +01:00
Raffi Enficiaud
f8fc344a73 Merge branch 'topic/deprecating-minimal' into next-internal
* topic/deprecating-minimal:
  Change log
  Deprecating boost.test minimal.hpp header
2019-02-04 07:58:20 +01:00
Raffi Enficiaud
7231005e99 Change log 2019-02-03 21:13:31 +01:00
Raffi Enficiaud
09c0f0ae53 Deprecating boost.test minimal.hpp header 2019-02-03 21:09:11 +01:00
Raffi Enficiaud
f9c674b54f Merge branch 'topic/PR-172-unused-variable-warning' into next-internal
* topic/PR-172-unused-variable-warning:
  Change log
  Using boost/core facility to silence unused variables
  Check for non-used variables when NDEBUG is defined
2019-02-03 20:06:54 +01:00
Raffi Enficiaud
554fde34e2 Change log 2019-02-03 20:06:27 +01:00
Raffi Enficiaud
5a2ee25b54 Using boost/core facility to silence unused variables
- removing boost.test workaround for unused variables
- deleting a file that apparently is not needed anymore
2019-02-03 20:05:23 +01:00
Peter Jansson
92ec933350 Check for non-used variables when NDEBUG is defined
When NDEBUG is defined, the compiler may warn about variables not used. They are only used in assert's.
2019-02-03 12:30:07 +01:00
Raffi Enficiaud
07009990a5 Merge branch 'topic/GH-194-master-test-suite-declared-twice' into next-internal
* topic/GH-194-master-test-suite-declared-twice:
  Change log
  Removed second declaration
2019-02-03 11:48:10 +01:00
Raffi Enficiaud
e1292fc57f Merge branch 'topic/requires' into next-internal
* topic/requires:
  Adding requires to bjam/examples
2019-02-03 11:47:50 +01:00
Raffi Enficiaud
c1780fc38b Merge branch 'topic/PR-195-Fix-MinGW-compilation-problems' into next-internal
* topic/PR-195-Fix-MinGW-compilation-problems:
  Change log
  Fix missing vsnprintf errors on MinGW.
2019-02-03 11:46:47 +01:00
Raffi Enficiaud
7e22ddd317 Merge branch 'topic/GH-160-format-overflow' into next-internal
* topic/GH-160-format-overflow:
  Change log
  Suppress color setup warnings
2019-02-03 11:46:38 +01:00
Raffi Enficiaud
f54238d2e4 Change log 2019-02-02 20:23:32 +01:00
Raffi Enficiaud
845f96aa31 Removed second declaration 2019-02-02 20:22:54 +01:00