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

1129 Commits

Author SHA1 Message Date
Raffi Enficiaud
0591dc21d3 Updating the documentation
- difference between skipped and disabled tests
- examples
- additional comments in the code
2018-06-25 20:12:37 +02:00
Raffi Enficiaud
9a9e1467fd Precondition failure is not an error and better handling of skipped tests
- Skipped tests is not an error
- Handling of skipped tests
  - Now printing when a test has been skipped because of the failed precondition
  - More demonstrative test
- Unit test reproducing the precondition error issue
2018-06-25 20:10:51 +02:00
Raffi Enficiaud
3f5d06cb22 Merge branch 'topic/13528-crashes-with-report_sink' into next-internal
* topic/13528-crashes-with-report_sink:
  Change log
  Execute the callback cleaner also for stdout/stderr
  Ensuring shutdown in all execution path

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2018-06-21 22:12:35 +02:00
Raffi Enficiaud
3b968571ab Execute the callback cleaner also for stdout/stderr 2018-06-21 22:11:48 +02:00
Raffi Enficiaud
b785e7b4ee Ensuring shutdown in all execution path
- added corresponding smoke test
2018-06-21 20:15:34 +02:00
Raffi Enficiaud
090814233f Merge branch 'topic/prevent-master-test-suite-from-copy' into next-internal
* topic/prevent-master-test-suite-from-copy:
  Change log
  Preventing the copy of the master test suite
2018-06-20 23:03:23 +02:00
Raffi Enficiaud
8f80e9de8c Preventing the copy of the master test suite 2018-06-20 22:38:07 +02:00
Raffi Enficiaud
2974245af9 Declaring all variables for floating point exceptions for the unsupported case 2018-06-20 20:11:17 +02:00
Raffi Enficiaud
9bd8ff4dd0 Guarding template test case with tuples declaration better 2018-04-27 18:07:04 +02:00
Reimar Döffinger
a0c4c81318 Change Windows.h include to all-lowercase.
Otherwise cross-compiling with MinGW on Linux
will fail.
2018-03-26 21:19:57 +02:00
Andrey Semashev
efdefe17f5 Fix stdcerr file creation on shutdown. 2018-03-20 13:50:43 +03:00
Raffi Enficiaud
40ee9bae08 Adding extensive tests
- modifying a bit the API of the unit_test_log to retrieve the stream
- defining a test that checks after the framework executed that the streams
  are correct
2018-02-19 23:30:05 +01:00
Raffi Enficiaud
908368f279 Framework now removes references to the streams at shutdown
- Adding explicit shutdown for loggers and result reports in the shutdown
- Callback for clearing the loggers / report streams
2018-02-14 11:14:22 +01:00
Raffi Enficiaud
801754362e Merge branch 'topic/13435-report-generation-before-observer-shutdown' into next-internal
* topic/13435-report-generation-before-observer-shutdown:
  Change log
  Moving the report generation before the global configuration shutdown
2018-02-12 00:48:21 +01:00
Raffi Enficiaud
3f70773a41 Merge branch 'topic/13058-warning-reinterpret-cast' into next-internal
* topic/13058-warning-reinterpret-cast:
  Change log
  static_cast instead of reinterpret_cast
2018-02-12 00:47:53 +01:00
Raffi Enficiaud
b2b30fda1c Moving the report generation before the global configuration shutdown
- adding dedicated test
2018-02-12 00:46:03 +01:00
Raffi Enficiaud
74ec7e1890 static_cast instead of reinterpret_cast 2018-02-11 19:10:06 +01:00
Raffi Enficiaud
6a3ef6d693 Closing some missing JUNIT tags
- Check the JUNIT build_info
2018-02-11 16:04:53 +01:00
Raffi Enficiaud
c4d0aa6587 Merge branch 'topic/13181-collection-compare-missing-typename' into next-internal
* topic/13181-collection-compare-missing-typename:
  Change log and documentation update
  Fixing VS compilation issues
  forward_iterable: const_iterator infered by the type returned by begin
2018-02-10 20:33:12 +01:00
Raffi Enficiaud
3fb63194cd Fixing VS compilation issues
- VS2012 does not work well with decltype
- VS2013 has a buggy initialization_list that is detected in later updates and lead to a compilation error
2018-02-10 20:31:08 +01:00
Raffi Enficiaud
bb95cdcc42 Merge branch 'topic/12596-sanitize-metacharacters-test-names' into next-internal
* topic/12596-sanitize-metacharacters-test-names:
  Change log
  Sanitizing chars in test case names that collide with runtime filters reserved chars
2018-02-10 20:28:35 +01:00
Raffi Enficiaud
dcfe8b2005 Increasing the arity of BOOST_DATA_TEST_CASE by switching to std::bind
std::bind compatible with boost::function allows for truly variadic.
2018-02-10 14:39:09 +01:00
Raffi Enficiaud
9f0291a6f1 forward_iterable: const_iterator infered by the type returned by begin
- fixing computation of size for types that have only begin/end
- adding test on the new type requirements
2018-02-04 20:42:53 +01:00
Raffi Enficiaud
e3e2a191cf Sanitizing chars in test case names that collide with runtime filters reserved chars
- Additional sanitizing logic for chars that appears on runtime filters
- Not sanitizing spaces anymore
- Remove leading and trailing spaces on test names
2018-02-04 19:53:31 +01:00
Raffi Enficiaud
7f70eff592 Merge branch 'topic/PR127-silence-unused-variable-warning' into next-internal
* topic/PR127-silence-unused-variable-warning:
  Change log
  Silence 'unused variable' warning
2018-01-31 23:42:33 +01:00
Marshall Clow
40e01f45e1 Silence 'unused variable' warning
Mac OS doesn't fall into the "UNIX based debugging" or "windows based debugging", so we get the "do nothing" behavior.
2018-01-31 22:46:24 +01:00
hia3
7ea2327848 Fix clang [-Wc++11-narrowing] error
Compiling on Windows with clang this code:

    #define BOOST_TEST_MODULE The Test
    #include <boost/test/included/unit_test.hpp>

command:

    "clang.exe" -c -x c++ test.cpp -Iboost -fno-ms-compatibility

produces:

    boost/test/utils/basic_cstring/basic_cstring.hpp:64:29: error: enumerator value evaluates to 18446744073709551615, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
2018-01-29 10:51:11 +01:00
Raffi Enficiaud
009ef6d554 Merge branch 'topic/13407-cygwin-crash' into next-internal
* topic/13407-cygwin-crash:
  Change log
  Fix non-initialized variable causing crash on Cygwin
2018-01-19 09:21:03 +01:00
Raffi Enficiaud
724a839d82 Fix non-initialized variable causing crash on Cygwin 2018-01-19 09:15:12 +01:00
Raffi Enficiaud
d2468aa70e Merge branch 'topic/13387-header-fail-compile' into next-internal
* topic/13387-header-fail-compile:
  Change log
  Fix missing includes
2018-01-18 20:47:07 +01:00
Raffi Enficiaud
bfcfe83644 Merge branch 'topic/PR125-unused-parameters' into next-internal
* topic/PR125-unused-parameters:
  Change log
  prevent 2 unused parameter warnings
2018-01-18 20:46:45 +01:00
Benjamin Roland Buch
ea44314e71 prevent 2 unused parameter warnings 2018-01-18 20:27:38 +01:00
Raffi Enficiaud
5b6521c995 Fix missing includes 2018-01-18 15:10:15 +01:00
Raffi Enficiaud
06d43a2177 Adding the possibility to instanciate a template test case with tuples
Addresses 12092
2018-01-18 14:33:39 +01:00
Raffi Enficiaud
036832069a Some doxygen fixes 2018-01-18 14:04:03 +01:00
Raffi Enficiaud
9f2c32e0d8 Merge branch 'topic/12597-report-tests-with-clashing-names' into develop
* topic/12597-report-tests-with-clashing-names:
  Change log and doc update
  Avoiding duplicate test cases in template and param test cases
  Check for clashing names in adding test units
2018-01-18 14:03:39 +01:00
Raffi Enficiaud
0d6227d436 Addressing build failures on mingw/windows 2018-01-18 09:36:57 +01:00
Raffi Enficiaud
77bda1ffd2 Avoiding duplicate test cases in template and param test cases
- fixing logging on non-existant stream
- fixing doc test cases with duplicate test cases
- updating log and report tests
2018-01-02 20:41:32 +01:00
Raffi Enficiaud
306b55259d Check for clashing names in adding test units
- clashing on name only
- adding tests
2018-01-02 20:41:04 +01:00
Raffi Enficiaud
9c0f4f0698 Merge branch 'topic/12969-problems-nullptr' into next-internal
* topic/12969-problems-nullptr:
  Change log
  Fix issue when library is compiled with non C++14 options (trac 12969)
2017-12-31 00:21:43 +01:00
Raffi Enficiaud
c767b8790a Fix issue when library is compiled with non C++14 options (trac 12969) 2017-12-31 00:18:30 +01:00
Raffi Enficiaud
dcefa9f6d6 Merge branch 'topic/passing-random-generator-to-children-suites' into next-internal
* topic/passing-random-generator-to-children-suites:
  Bugfix passing random generator
2017-12-29 21:09:53 +01:00
Raffi Enficiaud
0c36fae06f Fix patch and regression tests 2017-12-29 21:07:34 +01:00
Namezero
cbd780ea5b Dependency decorators on parent suites (trac #13149)
Dependency decorators on parent suites are not honored when a nested test selected to run via command line
2017-12-29 21:07:34 +01:00
Raffi Enficiaud
6393f2daad Bugfix passing random generator 2017-12-29 20:59:02 +01:00
Raffi Enficiaud
0e63a8fe53 Merge branch 'topic/PR-122-fix-fallthrough-warnings-gcc' into develop
* topic/PR-122-fix-fallthrough-warnings-gcc:
  Change log
  Fix some fallthrough warnings with gcc >= 7.
2017-12-29 20:39:55 +01:00
Romain Geissler
5edea86f6d Fix some fallthrough warnings with gcc >= 7. 2017-12-25 17:00:33 +01:00
Raffi Enficiaud
7615362bdc Merge branch 'topic/PR-121-warning-fix' into next-internal
* topic/PR-121-warning-fix:
  Change log
  fix compiler warning
2017-12-25 16:46:56 +01:00
James E. King III
3f305cebf0 fix compiler warning 2017-12-25 16:44:22 +01:00
Raffi Enficiaud
fdc68b6e6d Merge branch 'topic/PR118-Update-VxWorks-support' into next-internal
* topic/PR118-Update-VxWorks-support:
  Change log update
  Adapt Boost.Test to VxWorks
2017-12-25 16:33:36 +01:00