d399a30 | Moritz Haase | 02 April 2020, 12:22:01 UTC | Suppress clang-tidy warning about vararg usage in assertion macros CATCH_INTERNAL_IGNORE_BUT_WARN() introduced with b7b346c triggers clang-tidy warning 'cppcoreguidelines-pro-type-vararg' for every usage of assertion macros like CHECK() and REQUIRE(). Silence it via NOLINT in the '#if defined(__clang__)' block only, as clang-tidy honors those. | 02 April 2020, 18:45:57 UTC |
b8ce814 | Phoebe | 31 March 2020, 17:12:10 UTC | Add vcpkg installation instructions (#1898) * Add vcpkg installation instructions * Add index | 31 March 2020, 17:12:10 UTC |
6260962 | Mark Gillard | 29 March 2020, 07:54:16 UTC | Added toml++ to opensource-users.md | 29 March 2020, 12:21:57 UTC |
b4c8967 | Mark Gillard | 29 March 2020, 07:53:11 UTC | Fix alphabetical ordering of opensource-users.md | 29 March 2020, 12:21:57 UTC |
7900fb3 | pi1024e | 23 March 2020, 17:10:38 UTC | C-header updates | 28 March 2020, 17:00:42 UTC |
01bdfe3 | Invincible | 23 March 2020, 02:24:10 UTC | Change PARSE_CATCH_TESTS_ADD_FIXTURE_IN_TEST_NAME conditional. When no TEST_CASE_METHOD function, there is no fixture to get. | 27 March 2020, 08:55:06 UTC |
e5c9a58 | Joel Uckelman | 19 March 2020, 12:31:22 UTC | Fixed typo in "benchmark name" column width calculation. Closes #1885. | 26 March 2020, 09:31:35 UTC |
255aa5f | Martin Hořeňovský | 19 March 2020, 12:50:19 UTC | v2.11.3 | 19 March 2020, 12:50:19 UTC |
3a33315 | Martin Hořeňovský | 19 March 2020, 12:32:45 UTC | Fix compilation error when lambdas are used in assertions This is a partial revert of b7b346c3e5603. | 19 March 2020, 12:32:45 UTC |
5f94c8d | Martin Hořeňovský | 19 March 2020, 11:37:51 UTC | v2.11.2 | 19 March 2020, 11:37:51 UTC |
695a356 | Martin Hořeňovský | 19 March 2020, 11:36:30 UTC | Move all scripts to Python3 | 19 March 2020, 11:36:30 UTC |
020b655 | Martin Hořeňovský | 19 March 2020, 11:32:34 UTC | Update wandbox script to use https endpoint and Python3 | 19 March 2020, 11:32:34 UTC |
5561d03 | Martin Hořeňovský | 15 February 2020, 20:18:56 UTC | Different approach to proper colouring of filters | 19 March 2020, 10:08:01 UTC |
3a15315 | Till Hofmann | 10 February 2020, 13:52:35 UTC | Switch back to uncolored output after printing filters After printing the list of filters, switch back from yellow to black before printing a newline to avoid the remaining output to be colored in yellow. | 19 March 2020, 10:08:01 UTC |
b7b346c | Martin Hořeňovský | 18 March 2020, 19:59:25 UTC | Make warnings in assertions fire for GCC/Clang again The old code caused warnings to fire under MSVC, and Clang <3.8. I could not find a GCC version where it worked, but I assume that it did at some point. This new code causes all of MSVC, GCC, Clang, in current versions, to emit signed/unsigned comparison warning in test like this: ```cpp TEST_CASE() { int32_t i = -1; uint32_t j = 1; REQUIRE(i != j); } ``` Where previously only MSVC would emit the warning. Fixes #1880 | 19 March 2020, 08:45:41 UTC |
9e09d79 | Julius Hülsmann | 17 March 2020, 14:43:05 UTC | Update tutorial.md Fix: typo; remove trailing "," | 18 March 2020, 14:36:19 UTC |
7048c2c | Julius Hülsmann | 17 March 2020, 11:54:04 UTC | Update slow-compiles.md Add missing "." | 18 March 2020, 14:35:56 UTC |
6f77d59 | magnus.ornebring | 10 March 2020, 10:25:13 UTC | Add king as user | 11 March 2020, 08:32:16 UTC |
022b61f | khyperia | 26 February 2020, 14:32:34 UTC | Don't cast nanoseconds to integers when writing output | 08 March 2020, 11:10:44 UTC |
87b5bf7 | khyperia | 24 February 2020, 11:21:32 UTC | include <iterator> in catch_stats.hpp needed for std::back_inserter on some platforms | 24 February 2020, 18:36:34 UTC |
81d52c4 | Martin Hořeňovský | 15 February 2020, 20:31:31 UTC | Specialize CATCH_TRAP() for iOS + thumb instruction set combo Fixes #1862 | 15 February 2020, 20:45:09 UTC |
200b8b6 | Tristan Stenner | 15 February 2020, 19:42:57 UTC | Add command line option 'never' to --wait-for-keypress (#1866) Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com> | 15 February 2020, 19:42:57 UTC |
e70fd2a | offa | 04 February 2020, 17:45:52 UTC | Variables made const-ref. | 08 February 2020, 13:27:40 UTC |
36170d6 | offa | 04 February 2020, 17:41:11 UTC | stdio.h replaced with cstdio. | 08 February 2020, 13:27:40 UTC |
917e92c | Clare Macrae | 07 February 2020, 12:20:31 UTC | Add link to list of commercial user projects | 07 February 2020, 14:33:55 UTC |
f549507 | Clare Macrae | 07 February 2020, 12:16:24 UTC | Fix typo in link in docs | 07 February 2020, 14:33:35 UTC |
b3b0721 | Martin Hořeňovský | 03 February 2020, 10:26:31 UTC | Merge pull request #1854 from neheb/patch-1 catch_compiler_capabilities.h: use proper math define | 03 February 2020, 10:26:31 UTC |
2652bb8 | Martin Hořeňovský | 03 February 2020, 09:05:17 UTC | Cleanup nextafter workaround | 03 February 2020, 09:05:23 UTC |
1715b6b | Martin Hořeňovský | 03 February 2020, 08:33:42 UTC | Check for Windows instead of WIN32 for wmain entry point Closes #1849 | 03 February 2020, 08:33:42 UTC |
f20a9db | Martin Hořeňovský | 01 February 2020, 19:55:42 UTC | Fix significant bug with storing composed matchers Given that in the 2 or so years that matchers are thing nobody complained, it seems that people do not actually write this sort of code, and the possibility will be removed in v3. However, to avoid correctness bugs, we will have to support this weird code in v2. | 01 February 2020, 20:06:07 UTC |
273c3f8 | Martin Hořeňovský | 01 February 2020, 19:24:53 UTC | Add missing ToC entry in release notes | 01 February 2020, 19:24:53 UTC |
6a3d0dc | Martin Hořeňovský | 01 February 2020, 19:17:54 UTC | Add a test for custom debug break macros See #1846 | 01 February 2020, 19:18:05 UTC |
ccb1f70 | khyperia | 27 January 2020, 14:43:27 UTC | Make CATCH_BREAK_INTO_DEBUGGER be user-configurable | 01 February 2020, 16:01:50 UTC |
4a5bc0f | khyperia | 27 January 2020, 14:43:27 UTC | Make CATCH_BREAK_INTO_DEBUGGER be user-configurable | 01 February 2020, 11:20:40 UTC |
f96e89e | Rosen Penev | 01 February 2020, 05:54:16 UTC | catch_compiler_capabilities.h: use proper math define C++11 math requires _GLIBCXX_USE_C99_MATH_TR1 to be true with gcc/clang. Also fixes an issue with uClibc-ng where __UCLIBC__ is defined in features.h but that is not included here and is thus no-op. | 01 February 2020, 06:20:59 UTC |
481f54b | dmsteck | 31 January 2020, 20:44:06 UTC | Make hidden tags behave identically (#1847) Add both `[.]` and `[!hide]` tags when registering a hidden test case, as per documentation. Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com> | 31 January 2020, 20:44:06 UTC |
2d172dc | offa | 21 January 2020, 20:04:42 UTC | Some refactorings: - Overrides added - usages of push_back() replaced with emplace_back() - Loop variable made const-refernce - NULL replaced with nullptr - Names used in the declaration and definition unified - size() replaced with empty - Identical cases merged | 25 January 2020, 08:01:04 UTC |
587a20b | Daniel Griscom | 21 January 2020, 02:41:08 UTC | Removed unneeded 'using uchar = unsigned char' | 24 January 2020, 13:26:22 UTC |
bff44f8 | Martin Hořeňovský | 14 January 2020, 13:05:50 UTC | Merge pull request #1831 from matt77hias/master Added <random> include for std::uniform_int_distribution | 14 January 2020, 13:05:50 UTC |
4ea74ff | Matthias Moulin | 14 January 2020, 11:48:09 UTC | Added <random> include for std::uniform_int_distribution | 14 January 2020, 11:48:09 UTC |
d10b9bd | Martin Hořeňovský | 28 December 2019, 20:24:04 UTC | v2.11.1 | 28 December 2019, 20:24:04 UTC |
55794e9 | Martin Hořeňovský | 28 December 2019, 17:57:24 UTC | Avoid detecting Clang as having MSVC's traditional preprocessor Fixes #1806 | 28 December 2019, 17:57:24 UTC |
fa6211b | ptc-tgamper | 18 December 2019, 13:51:09 UTC | catch_debugger.h - implement break into debugger assembler instructions for iOS | 23 December 2019, 20:26:13 UTC |
4e90f91 | ptc-tgamper | 18 December 2019, 09:19:10 UTC | catch_console_colour.cpp - adjust useColourOnPlatform for iOS | 23 December 2019, 20:26:13 UTC |
0c59cc8 | ptc-tgamper | 18 December 2019, 09:14:32 UTC | catch_debugger.cpp - debugger detection is identical on Mac OS X and iOS | 23 December 2019, 20:26:13 UTC |
e4004e0 | Martin Hořeňovský | 23 December 2019, 20:22:32 UTC | Provide const overload of ObjectStorage::stored_object() Fixes #1820 | 23 December 2019, 20:22:32 UTC |
6c9a255 | Joe Burzinski | 15 December 2019, 06:16:04 UTC | Fix forwarding in SingleValueGenerator and generator creation Fixes #1809 | 15 December 2019, 19:50:43 UTC |
9a89631 | Joe Burzinski | 19 November 2019, 04:22:38 UTC | Update single header generation script to warn about unused headers | 21 November 2019, 15:22:04 UTC |
cfba9dc | Joe Burzinski | 19 November 2019, 04:22:38 UTC | Fix wrong namespacing of benchmarking constructor helpers | 21 November 2019, 15:22:04 UTC |
a537cca | Martin Hořeňovský | 16 November 2019, 16:38:29 UTC | Suppress using-namespace lint in GENERATE* macros Closes #1799 | 16 November 2019, 16:39:28 UTC |
e1c9d55 | Martin Hořeňovský | 15 November 2019, 14:06:17 UTC | v2.11.0 | 15 November 2019, 14:06:17 UTC |
d512dec | Martin Hořeňovský | 15 November 2019, 13:59:35 UTC | Mention the sonarqube reporter in release process | 15 November 2019, 13:59:35 UTC |
f23f968 | Martin Hořeňovský | 15 November 2019, 10:54:38 UTC | Ensure the full benchmarking support is present in the single header Fixes #1800 | 15 November 2019, 10:59:43 UTC |
d7b8c3a | Martin Hořeňovský | 15 November 2019, 10:55:56 UTC | Minor cleanup in the benchmarking tests | 15 November 2019, 10:59:35 UTC |
32733e0 | Martin Hořeňovský | 13 November 2019, 19:58:15 UTC | Use newer version of Python on AppVeyor | 13 November 2019, 19:58:15 UTC |
930f49a | Martin Hořeňovský | 05 November 2019, 22:28:47 UTC | Split [.foo] into [.][foo] when parsing test specs b77cec05c0 fixed this problem for tagging tests, so that a test case tagged with `[.foo]` would be parsed as tagged with `[.][foo]`. This does the same for the test spec parsing. Fixes #1798 | 05 November 2019, 22:28:47 UTC |
c409dcc | Martin Hořeňovský | 04 November 2019, 09:42:34 UTC | Cleanup tests for C++20 | 04 November 2019, 09:42:34 UTC |
95bfb33 | Martin Hořeňovský | 03 November 2019, 23:05:32 UTC | Forbid copying ReusableStringStream Copying a `ReusableStringStream` would lead to "double free" of the stream, and thus it could be used in multiple places at the same time, breaking the output. | 03 November 2019, 23:05:35 UTC |
59d2d08 | Martin Hořeňovský | 03 November 2019, 17:22:56 UTC | Merge pull request #1794 from cericks0n/patch-1 Fix error when period of steady_clock is not nano | 03 November 2019, 17:22:56 UTC |
fa6d52e | cericks0n | 01 November 2019, 20:52:38 UTC | Fix error when period of steady_clock is not nano On systems where std::chrono::steady_clock::period is not std::nano, benchmark tests fail to compile due to trying to convert analysis.samples from a vector of duration<double, clock::period> to a vector of std::chrono::duration<double, std::nano>. | 01 November 2019, 20:52:38 UTC |
5ac348c | Martin Hořeňovský | 31 October 2019, 14:47:29 UTC | Fix compilation error in examples | 31 October 2019, 15:08:37 UTC |
776a468 | Martin Hořeňovský | 31 October 2019, 13:29:59 UTC | Warning fixes in examples and tests | 31 October 2019, 13:29:59 UTC |
3136c4f | Martin Hořeňovský | 22 June 2019, 12:39:34 UTC | Refactored XMLWriter to provide finer-grained control over formatting | 29 October 2019, 12:59:18 UTC |
74e0e73 | Martin Hořeňovský | 22 June 2019, 13:31:37 UTC | Remove useless test | 29 October 2019, 10:44:24 UTC |
0685216 | Martin Hořeňovský | 28 October 2019, 14:14:54 UTC | Mark type erasure in PredicateFunction as deprecated | 28 October 2019, 14:15:13 UTC |
fc320f6 | Martin Hořeňovský | 28 October 2019, 14:06:54 UTC | Extract FunctionReturnType to catch_meta.hpp | 28 October 2019, 14:15:13 UTC |
5290d4b | Martin Hořeňovský | 28 October 2019, 12:13:23 UTC | Merge pull request #1791 from catchorg/dev-reorganize-warning-suppression Rework how warning suppression in macros is done | 28 October 2019, 12:13:23 UTC |
7ada02e | Martin Hořeňovský | 27 October 2019, 21:07:10 UTC | Avoid technically UB type punning when determining endianness | 27 October 2019, 21:07:10 UTC |
849f284 | Martin Hořeňovský | 27 October 2019, 20:07:21 UTC | Rework how warning suppression in macros is done Previously, each warning suppression was self-contained, with its own pair of `SUPPRESS_X_WARNING` and `UNSUPPRESS_X_WARNING` macros. This had the obvious advantage of being self-containing, but it also meant that if we needed to suppress more than one warning in a single place, then we would manipulate the compiler's warning state multiple times, even though logically we would only need one layer. The new way of suppressing warnings in macros is to push compiler's warning state with `CATCH_INTERNAL_START_WARNINGS_SUPPRESSION` macro, then disable whatever macros we need with the `CATCH_INTERNAL_SUPPRESS_X_WARNINGS` macro, and then return to the previous state using `CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION`. | 27 October 2019, 20:07:21 UTC |
2fbd66c | Alexander Stein | 07 August 2019, 20:39:01 UTC | Improve JUnit failure report The JUnit report is improved in that: * The message shows the testing condition, not the result * The actual message has similar output than the console one | 27 October 2019, 17:02:14 UTC |
51b29ce | sp-dani-garcia | 29 August 2019, 15:47:56 UTC | Add SonarQube Generic Test Data reporter It outputs reports in the `Generic Execution Test Data` format, see https://docs.sonarqube.org/latest/analysis/generic-test/, specifically https://docs.sonarqube.org/latest/analysis/generic-test/#header-2 Close #1738 (this is a cherry-pick and fixup of that PR) | 27 October 2019, 09:02:41 UTC |
9a55817 | Martin Hořeňovský | 27 October 2019, 08:17:15 UTC | Merge pull request #1776 from mvd4/bugfix/enable-floating-point-ranges Enable floating point ranges | 27 October 2019, 08:17:15 UTC |
c5c6888 | Martin Hořeňovský | 26 October 2019, 19:07:38 UTC | Document that matcher combinators (&&, ||, !) do not take ownership Closes #1781 | 26 October 2019, 19:07:38 UTC |
6a08225 | Martin Hořeňovský | 26 October 2019, 18:49:56 UTC | Add documentation for floating point `range` generator | 26 October 2019, 18:52:40 UTC |
4327bab | Manuel Drews | 16 October 2019, 14:03:42 UTC | Enable `range` generator for floating point types | 26 October 2019, 18:52:09 UTC |
50cc14c | Martin Hořeňovský | 21 October 2019, 15:44:11 UTC | Rework StringRef interface and internals Now it no longer tries to be this weird hybrid between an owning and non-owning reference, and is only ever non-owning. This is also reflected in its interface, for example `StringRef::isNullTerminated` is now public, and `StringRef::c_str()` has the precondition that it is true. Overview of the changes: * The `StringRef::m_data` member has been completely removed, as it had no more uses. * `StringRef::isSubstring()` has been made public and renamed to `StringRef::isNullTerminated()`, so that the name reflects what the method actually does. * `StringRef::currentData()` has been renamed to `StringRef::data()`, to be in line with common C++ containers and container-alikes. * `StringRef::c_str()` will no longer silently make copies. It instead has a precondition that `isNullTerminated()` is true. * If the user needs a null-terminated string, they should use the `std::string` conversion operator and call `c_str()` on the resulting `std::string`. * Some small optimizations in various places. * Basic functionality is now `constexpr`. | 25 October 2019, 11:57:52 UTC |
87b745d | Jozef Grajciar | 24 October 2019, 16:41:25 UTC | v2.10.2 | 24 October 2019, 16:41:25 UTC |
7d0b205 | Martin Hořeňovský | 21 October 2019, 22:09:16 UTC | Prevent warning suppression from leaking when registering a listener | 21 October 2019, 22:10:01 UTC |
8fb1219 | Martin Hostettler | 21 October 2019, 21:37:12 UTC | docs: command-line: Add example to specify tests by file name. | 21 October 2019, 21:51:33 UTC |
23c80bc | Martin Hořeňovský | 21 October 2019, 16:31:05 UTC | Provide workaround for platforms where INFINITY is double Fixes #1782 | 21 October 2019, 16:33:26 UTC |
a2c8dce | Martin Hořeňovský | 20 October 2019, 19:02:26 UTC | v2.10.1 | 20 October 2019, 19:03:22 UTC |
1e379de | Martin Hořeňovský | 20 October 2019, 18:57:55 UTC | Fix "ldd" -> "lld" typo in docs | 20 October 2019, 18:57:55 UTC |
4eea438 | Martin Hořeňovský | 20 October 2019, 18:55:59 UTC | Update updateWandbox script to account for the new Wandbox API response | 20 October 2019, 18:56:20 UTC |
407ee0a | Martin Hořeňovský | 20 October 2019, 17:43:19 UTC | Add a section on slow linking under MinGW to "Known Limitations" docs Unless someone steps up to fix the long link times with a set of unobtrusive changes, the recommended solution will remain "use a better linker". Related to #1205, #1247, and #1637 Closes #1247 Closes #1637 | 20 October 2019, 17:52:39 UTC |
060a41e | Jonathan Vander Mey | 24 August 2019, 21:42:16 UTC | Suppress false positive from clang-analyzer Fixes issue #1230 | 20 October 2019, 15:27:09 UTC |
90825a4 | Martin Hořeňovský | 20 October 2019, 13:14:50 UTC | Add more tests for reading test specs from file Related to #1770 | 20 October 2019, 13:14:50 UTC |
9e8ae7d | Martin Hořeňovský | 20 October 2019, 10:30:21 UTC | Use scientific notation for the WithinULP matcher This should now properly handle small numbers which would previously output something like `[0.00000000000000019, 0.00000000000000019]`, which does not allow user to read the numbers properly. Closes #1760 | 20 October 2019, 10:30:21 UTC |
8485684 | amitherman95 | 19 October 2019, 13:50:46 UTC | Fixes #1766: Catch terminates when parsing invalid test name | 19 October 2019, 19:14:06 UTC |
01ef707 | Martin Hořeňovský | 18 October 2019, 16:47:57 UTC | Allow in-tree builds where Catch2 is just a subproject Closes #1773 Closes #1774 | 18 October 2019, 16:49:44 UTC |
ae14a47 | Jozef Grajciar | 18 October 2019, 10:30:17 UTC | TemplateTests: suppress -Wunused-template warning in template test cases this warning was introduced by rework to support NTTPs since we have implementation macro for NTTPs and normal template test cases warning is going to be suppressed Fixes #1762 | 18 October 2019, 16:38:39 UTC |
f2b23db | Jozef Grajciar | 18 October 2019, 09:38:00 UTC | TemplateTests: fix compilation with ICC ICC in some cases fails on trailing return type with decltype Closes #1748 | 18 October 2019, 10:35:09 UTC |
1aa98c7 | Mertz, Arne | 17 October 2019, 17:22:39 UTC | add a note how to run selftests using multiconfig generators | 17 October 2019, 18:23:51 UTC |
3195c24 | data-man | 17 October 2019, 15:15:11 UTC | Remove JSON library from users | 17 October 2019, 18:20:02 UTC |
31906d8 | Martin Hořeňovský | 17 October 2019, 09:21:17 UTC | Add parenthesis to prevent macro expansions of min/max Closes #1772 | 17 October 2019, 14:40:37 UTC |
91fa553 | Martin Hořeňovský | 17 October 2019, 09:15:37 UTC | Add test for including unguarded windows.h If you do this, you are wrong, but apparently people expect libraries to work around intrusive lower cased macros. Oh well. | 17 October 2019, 09:15:42 UTC |
7c9f92b | Martin Hořeňovský | 13 October 2019, 21:44:18 UTC | v2.10.0 | 13 October 2019, 21:44:18 UTC |
a92a7d0 | Martin Hořeňovský | 13 October 2019, 19:31:48 UTC | Rewrite documentation for floating point matchers | 13 October 2019, 19:31:48 UTC |
e4d61e4 | Martin Hořeňovský | 13 October 2019, 19:26:51 UTC | Fix baselines | 13 October 2019, 19:26:51 UTC |
9ba48e2 | Martin Hořeňovský | 13 October 2019, 18:49:36 UTC | Remove superfluous includes in exception matchers | 13 October 2019, 18:49:36 UTC |
2cc0c71 | Martin Hořeňovský | 13 October 2019, 18:37:07 UTC | Add a matcher that checks exception's message Only works for exceptions that publicly derive from `std::exception` and the matching is done exactly, including case and whitespace. Closes #1649 Closes #1728 # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: ../docs/matchers.md # modified: ../include/internal/catch_capture_matchers.h # modified: ../projects/CMakeLists.txt # modified: ../projects/SelfTest/Baselines/compact.sw.approved.txt # modified: ../projects/SelfTest/Baselines/console.std.approved.txt # modified: ../projects/SelfTest/Baselines/console.sw.approved.txt # modified: ../projects/SelfTest/Baselines/junit.sw.approved.txt # modified: ../projects/SelfTest/Baselines/xml.sw.approved.txt # modified: ../projects/SelfTest/UsageTests/Matchers.tests.cpp # # Untracked files: # ./ # ../clang-full/ # ../clang-test/ # ../clang10-build/ # ../coverage-build/ # ../gcc-build/ # ../gcc-full/ # ../include/internal/catch_matchers_exception.cpp # ../include/internal/catch_matchers_exception.hpp # ../misc-build/ # ../msvc-sln/ # ../notes.txt # ../test-install/ # | 13 October 2019, 18:37:07 UTC |