56f2fc9 | Martin Hořeňovský | 31 January 2020, 19:29:25 UTC | Rewrite the tests a bit | 31 January 2020, 20:33:07 UTC |
de54639 | Daniel Steck | 28 January 2020, 23:47:52 UTC | approved approvaltests | 31 January 2020, 20:33:07 UTC |
38abee0 | Daniel Steck | 28 January 2020, 23:42:35 UTC | Added self test | 31 January 2020, 20:33:07 UTC |
8c7d549 | Daniel Steck | 27 January 2020, 23:08:12 UTC | Updated approval files | 31 January 2020, 20:33:07 UTC |
585b068 | Daniel Steck | 31 October 2019, 00:14:44 UTC | Add both [.] and [!hide] for internal handling of hidden test cases | 31 January 2020, 20:33:07 UTC |
c1e4e2b | dmsteck | 27 January 2020, 22:11:25 UTC | Merge pull request #1 from catchorg/master Pull latest Catch2 master | 27 January 2020, 22:11:25 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 |
28663fb | Martin Hořeňovský | 13 October 2019, 11:36:22 UTC | Use the right overload of std::nextafter in tests | 13 October 2019, 11:36:22 UTC |
d2d418a | Martin Hořeňovský | 13 October 2019, 09:56:50 UTC | Add a Relative Comparison matcher for floating point numbers It checks Knuth's _close enough with tolerance_ relationship, that is `|lhs - rhs| <= epsilon * max(|lhs|, |rhs|)`, rather then the _very close with tolerance_ relationship that can be written down as `|lhs - rhs| <= epsilon * min(|lhs|, |rhs|)`. This is because it is the more common model around the internet, and as such is likely to be less surprising to the users. In the future we might want to provide the other model as well. Closes #1746 | 13 October 2019, 09:56:50 UTC |
c8db4e7 | Martin Hořeňovský | 09 October 2019, 12:51:24 UTC | Add a from_range(Container) overload to the generator helpers | 09 October 2019, 12:51:36 UTC |
1c57496 | Martin Hořeňovský | 09 October 2019, 12:16:50 UTC | Merge pull request #1769 from amitherman95/amitherman-1767 Patch:Failure to pass special chars through input file | 09 October 2019, 12:16:50 UTC |
3109add | Martin Hořeňovský | 09 October 2019, 10:48:55 UTC | Add tests for the -f/--input-file command line argument | 09 October 2019, 10:54:13 UTC |
adb4789 | amitherman95 | 08 October 2019, 10:55:08 UTC | Patch:Failure to apply filters through external file | 09 October 2019, 09:43:06 UTC |
75200e1 | Martin Hořeňovský | 08 October 2019, 19:07:35 UTC | Merge pull request #1768 from RT222/master Simplified benchmark output with --benchmark-no-analysis | 08 October 2019, 19:07:35 UTC |
a5a22cd | Martin Hořeňovský | 07 October 2019, 18:24:37 UTC | Have the random generators use the global rng instance This means that if you nest multiple random generators inside one test case, they will not return the same sequence of numbers. Idea taken from #1736 by Amit Herman. Closes #1736 Closes #1734 | 07 October 2019, 19:53:07 UTC |
535da5c | Martin Hořeňovský | 06 October 2019, 19:47:54 UTC | Introduce Catch's own RNG based on the PCG family of RNGs In the future, we will also want to introduce our own `uniform_int_distribution` and `uniform_real_distribution` to get repeatable test runs across different platforms. | 07 October 2019, 17:56:23 UTC |
2331249 | RT222 | 07 October 2019, 13:40:00 UTC | Simplified benchmark output with --benchmark-no-analysis Removed unused informations from benchmarks output when the --benchmark-no-analysis flag is used, making the results easier to read. | 07 October 2019, 13:40:00 UTC |
319cb9e | Martin Hořeňovský | 06 October 2019, 11:49:50 UTC | Add a generator that takes an iterator pair | 06 October 2019, 11:55:10 UTC |
b8b765d | Martin Hořeňovský | 06 October 2019, 10:41:46 UTC | Merge pull request #1765 from kevingranade/patch-1 Add Cataclysm:Dark Days Ahead to project list | 06 October 2019, 10:41:46 UTC |
a0ebd63 | Kevin Granade | 06 October 2019, 03:18:31 UTC | Add Cataclysm:Dark Days Ahead to project list | 06 October 2019, 03:18:31 UTC |
4bd2c3a | Martin Hořeňovský | 05 October 2019, 18:58:11 UTC | Fix compilation error with CATCH_CONFIG_GLOBAL_NEXTAFTER Wrong nesting of namespaces resulted in the `Catch` namespace being ambigous between `::Catch` and `::{anon}::Catch` namespaces. This should fix it. Closes #1761 | 05 October 2019, 19:03:46 UTC |
c38a5ca | Martin Hořeňovský | 05 October 2019, 11:23:14 UTC | Allow full range of target ULP values for the ULPMatcher Previously it was limited to roughly 2 billion ULPs, rather than the roughly 2^64 possible ones. | 05 October 2019, 11:38:22 UTC |
ebc5609 | Martin Hořeňovský | 04 October 2019, 12:00:34 UTC | Add test for INF == Approx(1) | 04 October 2019, 12:19:39 UTC |
fcda35f | Wim Leflere | 04 October 2019, 09:22:06 UTC | update name of Value Generators in doc to match class names | 04 October 2019, 11:31:37 UTC |
02ee130 | Martin Hořeňovský | 04 October 2019, 11:23:14 UTC | Special case Approx(inf) to better follow user expectations | 04 October 2019, 11:28:43 UTC |
815f995 | Martin Hořeňovský | 02 October 2019, 21:17:46 UTC | Do not explicitly install conan Instead, let it be installed as a dependency of `conan-package-tools` to avoid trouble with the fact that pip is really bad at version resolution, and that up-to-date version of the `conan` package is not supported by up-to-date version of the `conan-package-tools` package. | 02 October 2019, 22:00:17 UTC |
da0062f | Martin Hořeňovský | 22 September 2019, 08:48:08 UTC | Merge pull request #1752 from amitherman95/amitherman-1737 Escape characters bug patch(v2.9.2) | 22 September 2019, 08:48:08 UTC |
de42f8a | Martin Hořeňovský | 21 September 2019, 21:19:45 UTC | Fix escaping of quotes in coverage helper | 21 September 2019, 21:19:45 UTC |
af84f13 | Martin Hořeňovský | 20 September 2019, 23:00:53 UTC | Add documentation for the table generator helper | 20 September 2019, 23:00:53 UTC |
fc2066b | Martin Hořeňovský | 20 September 2019, 22:11:45 UTC | Add tests for escaping special characters in CLI | 20 September 2019, 22:50:17 UTC |
2bcff9d | amitherman95 | 14 September 2019, 09:38:47 UTC | Escape characters bug patch(v2.9.2) | 20 September 2019, 22:46:58 UTC |
3beccfb | Martin Hořeňovský | 20 September 2019, 21:28:19 UTC | Remove the no longer used is_unique type trait It was used in checking that types in TEMPLATE_TEST_CASE and friends were unique, but this was removed for v2.8.0 (#1628). Since there are no further uses of this trait, the simplest thing to do is to just remove it. Fixes #1757 | 20 September 2019, 21:28:19 UTC |
af8b253 | Martin Hořeňovský | 09 September 2019, 09:30:45 UTC | Ignore leading/trailing whitespace in test/section specs The leading/trailing whitespace is problematic because of e.g. `WHEN` macro having preceeding whitespace for alignment, and it is generally messy. Credits to Phil who did lot of the original work. Closes #1708 | 09 September 2019, 12:28:11 UTC |
a156440 | Martin Hořeňovský | 08 September 2019, 19:08:37 UTC | Reinline some StringRef methods with trivial bodies | 08 September 2019, 19:08:37 UTC |
dab0296 | Martin Hořeňovský | 08 September 2019, 19:04:23 UTC | Add test for past-the-end substr on StringRef | 08 September 2019, 19:07:21 UTC |
9f4c477 | Martin Hořeňovský | 08 September 2019, 19:01:33 UTC | Remove (mostly) unused overloads of StringRef operator + | 08 September 2019, 19:01:33 UTC |
293012a | Martin Hořeňovský | 08 September 2019, 16:20:49 UTC | Inline SourceLineInfo::empty definition | 08 September 2019, 16:20:49 UTC |