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 |
e2b3443 | Martin Hořeňovský | 08 September 2019, 15:44:56 UTC | Do not blindly access empty StringRefs | 08 September 2019, 15:44:56 UTC |
7b865da | Martin Hořeňovský | 08 September 2019, 12:49:40 UTC | Make StringRef's operator std::string explicit This way it is explicit when there is a `StringRef` -> `std::string` conversion and makes it easier to look for allocations that could be avoided. Doing this has already removed one allocation per registered test case, as there was a completely pointless `StringRef` -> `std::string` conversion when parsing tags of a test case. | 08 September 2019, 13:58:10 UTC |
1436253 | Martin Hořeňovský | 08 September 2019, 10:17:44 UTC | Check for empty expression properly The old code was a left-over from the times when the `capturedExpression` member was a `const char*`, which could always be indexed. With the change to use `StringRef`, blindly indexing 0th element is invalid, as it is not indexable part of a StringRef. | 08 September 2019, 12:35:01 UTC |
a5bb3e3 | Matthias Moulin | 08 September 2019, 12:25:23 UTC | Small updates to include directives (#1726) Fixed some inconsistencies in include directives. | 08 September 2019, 12:25:23 UTC |
923db16 | Martin Hořeňovský | 08 September 2019, 12:07:18 UTC | Use StringRefs through the enum registration | 08 September 2019, 12:14:46 UTC |
fbbaadb | Martin Hořeňovský | 07 September 2019, 12:38:39 UTC | Use StringRef literal for unknown enum values instead of string lit | 08 September 2019, 12:14:14 UTC |
dd1f0f1 | Martin Hořeňovský | 07 September 2019, 18:43:14 UTC | Add test for --filename-as-tags | 07 September 2019, 18:43:14 UTC |
d27d580 | Martin Hořeňovský | 07 September 2019, 18:36:12 UTC | Add test for --libidentify command line flag | 07 September 2019, 18:36:12 UTC |
6da00c1 | Martin Hořeňovský | 07 September 2019, 18:22:36 UTC | Split out the rest of string manipulation tests | 07 September 2019, 18:22:36 UTC |
fe967b1 | Martin Hořeňovský | 07 September 2019, 18:13:22 UTC | Remove the ill-considered StringRef::numberOfCharacters It never counted characters, only codepoints. If you think these are interchangeable, you should not touch non-ascii text. | 07 September 2019, 18:13:22 UTC |
f2c2711 | Martin Hořeňovský | 07 September 2019, 09:31:00 UTC | Add trim for StringRef | 07 September 2019, 09:31:00 UTC |
b77ab74 | Martin Hořeňovský | 06 September 2019, 16:50:57 UTC | Start adding tests for string manip functions | 06 September 2019, 16:50:57 UTC |
4038ee6 | Martin Hořeňovský | 06 September 2019, 16:36:59 UTC | Stop compilation if registering an enum could truncate its value We probably want to use a bigger type (e.g. `int64_t`) later on, but the is a mess right now anyway. | 06 September 2019, 16:36:59 UTC |
789f359 | Martin Hořeňovský | 06 September 2019, 16:29:57 UTC | Do not write singular characters into stream as C-strings | 06 September 2019, 16:30:16 UTC |
6e8d769 | Martin Hořeňovský | 06 September 2019, 11:38:58 UTC | Unify handling of __has_include checks | 06 September 2019, 11:38:58 UTC |
1189a73 | Martin Hořeňovský | 06 September 2019, 11:25:31 UTC | Do not assume that version placeholders contain ")" | 06 September 2019, 11:25:39 UTC |
071baca | Martin Hořeňovský | 06 September 2019, 11:24:51 UTC | Properly linkthrough additions to the configuration docs | 06 September 2019, 11:24:51 UTC |
addf799 | Martin Hořeňovský | 06 September 2019, 11:08:44 UTC | Workaround missing std::nextafter in uClibc Luckily, the rest of C++11 features seem to be supported... Closes #1739 | 06 September 2019, 11:08:44 UTC |
155274f | Martin Hořeňovský | 06 September 2019, 10:41:42 UTC | Add disabling the use of Android's logging at compile time This is done via the new compile time toggle, `CATCH_CONFIG_ANDROID_LOGWRITE`. Closes #1743 | 06 September 2019, 10:44:06 UTC |
18d597c | Benjamin Worpitz | 17 August 2019, 09:48:42 UTC | Allow to use non-copyable and non-movable types in TEMPLATE_LIST_TEST_CASE The parameter given to `convert` may not be copyable therefore it has to be captured by const reference. For example an `std::tuple` that contains a non-copyable type is itself non-copyable. The NonDefaultConstructible test-case was reduced by one example type because it did not add any value. | 06 September 2019, 10:15:09 UTC |
6629c11 | Martin Hořeňovský | 06 September 2019, 10:12:47 UTC | Optimize in-repo PNGs | 06 September 2019, 10:12:47 UTC |
c6bf56b | Martin Hořeňovský | 06 September 2019, 09:14:48 UTC | Fix Travis builds with clang 5/6 There is some weird broken dependency in their version of Trusty (14.04 LTE), so we are using Xenial (16.04 LTE) instead. | 06 September 2019, 10:07:29 UTC |
623e348 | Martin Hořeňovský | 06 September 2019, 09:37:55 UTC | Merge pull request #1744 from ux3d/add-ux3d-to-commercial-users add UX3D to commercial users | 06 September 2019, 09:37:55 UTC |
46f767e | Benjamin Schmithüsen | 06 September 2019, 09:27:33 UTC | add UX3D to commercial users | 06 September 2019, 09:27:33 UTC |
ce42deb | Martin Hořeňovský | 10 August 2019, 18:51:15 UTC | Add Android's log library to Catch2's CMake interface | 10 August 2019, 18:51:15 UTC |
46a7007 | Martin Hořeňovský | 10 August 2019, 12:51:38 UTC | Use __android_log_write instead of __android_log_print `print` version of the logging functions supports `printf`-like formatting, which we do not use and given our current debug print internals, will never use. This should be slightly more efficient and expresses the intent better. | 10 August 2019, 12:51:38 UTC |
378cc1a | Jesse Alas | 09 August 2019, 20:27:24 UTC | Rename template parameter names to avoid name conflict on Solaris. Closes #1722 | 10 August 2019, 08:55:17 UTC |
e2d863b | Martin Hořeňovský | 09 August 2019, 09:21:05 UTC | Actually run the random generator tests | 09 August 2019, 09:21:05 UTC |
ebe6a07 | Martin Hořeňovský | 09 August 2019, 09:08:23 UTC | Remove the new tests from approvals They lead to stringification of file (which is ok) and file line (not ok) to the approvals, which makes them exceedingly brittle and not worth approval testing. Instead we just run them as part of the base test run. | 09 August 2019, 09:13:28 UTC |
edcfd7f | Martin Hořeňovský | 09 August 2019, 08:57:01 UTC | Add missed item to v2.9.2 release notes | 09 August 2019, 08:57:59 UTC |
738818a | Martin Hořeňovský | 09 August 2019, 08:50:53 UTC | Add a test for the internals | 09 August 2019, 08:50:53 UTC |
2c869e1 | Martin Hořeňovský | 08 August 2019, 12:05:24 UTC | v2.9.2 | 08 August 2019, 12:05:24 UTC |
0ab11aa | Martin Hořeňovský | 07 August 2019, 18:35:27 UTC | (Hopefully) Fix Obj-C++ compilation of matchers Thanks to bdb for the patch, related to #1661 | 07 August 2019, 18:35:27 UTC |
7a6af7b | Martin Hořeňovský | 07 August 2019, 07:23:47 UTC | Merge pull request #1717 from ax3l/fix-storageClassFirst static constexpr: storage class first | 07 August 2019, 07:23:47 UTC |
fa096b2 | Martin Hořeňovský | 07 August 2019, 07:12:38 UTC | Merge pull request #1715 from sfranzen/fix-compact-reporter Fix infinite loop in compact reporter printer | 07 August 2019, 07:12:38 UTC |
820b1f1 | Axel Huebl | 07 August 2019, 00:17:16 UTC | static constexpr: storage class first Seen with PGI compiler for `static constexpr`: ``` warning: storage class is not first ``` | 07 August 2019, 00:17:16 UTC |
6070745 | Steven Franzen | 06 August 2019, 18:51:19 UTC | Improve reporting of unmatched filters (#1684) This PR ultimately does 3 things * Separately tracks matched tests per each filter part (that is, a set of filters separated by an OR (`,`)), which allows Catch2 to report each of the alternative filters that don't match any tests. * Fixes `-w NoTests` to return non-zero in the process * Adds tests for `-w NoTests`. | 06 August 2019, 18:51:19 UTC |
3d9e7db | Steven Franzen | 06 August 2019, 18:19:42 UTC | Fix infinite loop in compact reporter printer Also simplify some variables with auto deduction. | 06 August 2019, 18:19:42 UTC |
cf55cfd | Martin Hořeňovský | 05 August 2019, 17:12:25 UTC | Tiny speedup when listing tags Noticed that the code was originally concatenating strings just to then append the result to another string. Now it does not create temporaries and also preallocates the string buffer. | 05 August 2019, 17:12:29 UTC |
3701c2e | Martin Hořeňovský | 04 August 2019, 11:50:25 UTC | Small cleanup of self tests | 04 August 2019, 11:50:25 UTC |
7dc7d77 | Martin Hořeňovský | 03 August 2019, 18:16:46 UTC | Add a test for Catch version output | 03 August 2019, 18:16:46 UTC |
06bc20c | Martin Hořeňovský | 03 August 2019, 09:08:05 UTC | Improve handling of newlines in release scripts Under WSL, Python in text mode will translate `\n` into `\r\n`, even though other tools and utilities use `\n` (because WSL is basically Linux). This leads to the update scripts leaving the files with Windows newlines even though git and similar expect them to have Linux newlines. By instead handling files in binary mode, we can keep the original newlines. This commits switches parts of the update process to binary mode, but not all because some of the will require a lot of work to fix. | 03 August 2019, 17:59:35 UTC |
7a4beed | Martin Hořeňovský | 03 August 2019, 08:44:57 UTC | Make release script update version placeholders in docs | 03 August 2019, 08:44:57 UTC |
67b4ada | Clare Macrae | 22 July 2019, 12:29:56 UTC | Add 'Introduced in Catch 2.3.0.' text | 02 August 2019, 17:18:47 UTC |
119569a | Clare Macrae | 22 July 2019, 12:20:25 UTC | Add 'Introduced in Catch 2.4.0.' text | 02 August 2019, 17:18:47 UTC |
ab71389 | Clare Macrae | 22 July 2019, 12:08:38 UTC | Add docs for AND_GIVEN macro - see #1360 | 02 August 2019, 17:18:47 UTC |
69fc94d | Clare Macrae | 22 July 2019, 12:02:01 UTC | Add 'Introduced in Catch 2.4.1.' text | 02 August 2019, 17:18:47 UTC |
49cd7c9 | Clare Macrae | 22 July 2019, 11:49:08 UTC | Add 'Introduced in Catch 2.4.2.' text | 02 August 2019, 17:18:47 UTC |
e998d15 | Clare Macrae | 22 July 2019, 11:41:22 UTC | Add 'Introduced in Catch 2.5.0.' text | 02 August 2019, 17:18:47 UTC |
42a5903 | Clare Macrae | 22 July 2019, 11:31:33 UTC | Add 'Introduced in Catch 2.6.0.' text | 02 August 2019, 17:18:47 UTC |