Commit Graph

  • 3d1cf95b32 Fix ulp distance calculation for numbers with different signs Martin Hořeňovský 2021-07-26 22:01:04 +02:00
  • 6f21a3609c Update CMake doc for automatic test registration Vishesh Yadav 2021-06-27 02:20:17 -07:00
  • bf61a418cb Remove the ill-conceived compilation perf tests using real tests Martin Hořeňovský 2021-06-20 16:25:57 +02:00
  • 849002aec0 Move specialization for global op<< to the proper place Martin Hořeňovský 2021-06-20 09:53:50 +02:00
  • 4eb9af51af Use non-reserved identifiers for test autoregistration objects Martin Hořeňovský 2021-06-19 23:15:11 +02:00
  • 78e4fbdb12 Use non-reserved identifiers for BENCHMARK macro implementation Martin Hořeňovský 2021-06-19 23:14:20 +02:00
  • a7533707ff Use unique_ptr for passing around exception translators Martin Hořeňovský 2021-06-19 20:57:06 +02:00
  • 28a33497be Move extractClassName to the single calling TU and make it static Martin Hořeňovský 2021-06-18 23:36:08 +02:00
  • 70f5392210 Devirtualize more things in trackers Martin Hořeňovský 2021-06-17 23:51:25 +02:00
  • 61461dfd1d Move default impls of isFooTracker to the interface Martin Hořeňovský 2021-06-10 00:02:40 +02:00
  • c064322a9d Devirtualize ITracker::parent Martin Hořeňovský 2021-06-09 22:09:00 +02:00
  • a14d67cace ITracker::parent returns pointer not reference Martin Hořeňovský 2021-06-09 22:01:49 +02:00
  • 4ce8a23edd Tiny cleanups in tracking Martin Hořeňovský 2021-06-09 21:37:35 +02:00
  • c1b59b7071 Mark JUnit reporter's internal members as private Martin Hořeňovský 2021-06-18 00:00:24 +02:00
  • c77ba5314a Fix decomposing in presence of universal ADL-found operators AlCash07 2020-12-19 15:36:19 -08:00
  • 65c9a1d31a Add test for comparing immovable types Martin Hořeňovský 2021-06-07 15:17:46 +02:00
  • 7727c15290 Remove Conan builds from travis-CI Martin Hořeňovský 2021-06-07 20:02:30 +02:00
  • fa31d58934 Don't use removed-in-C++20 allocator parts in CustomAllocator tests Martin Hořeňovský 2021-06-07 17:44:39 +02:00
  • 9ac8cad2d1 Merge pull request #2244 from jbadwaik/devel Martin Hořeňovský 2021-06-07 15:22:53 +02:00
  • c71f42cc29 Disable CATCH_INTERNAL_IGNORE_BUT_WARN for NVHPC Compilers Jayesh Badwaik (FZ Juelich) 2021-06-07 12:28:16 +02:00
  • e6da4e10ae Use make_unique instead of unique_ptr(new T) Martin Hořeňovský 2021-05-28 23:10:33 +02:00
  • 816f69416b Use TestCaseInfo in tests directly Martin Hořeňovský 2021-05-28 23:07:50 +02:00
  • aee31d0620 Disallow empty tags in test case specification Martin Hořeňovský 2021-05-28 20:49:05 +02:00
  • c9371865d4 Use StringRef as the argument to benchmark{Failed,Preparing} Martin Hořeňovský 2021-05-30 23:45:55 +02:00
  • 5741de9ccd Add explicit test for serialization of boolean attributes in XML Martin Hořeňovský 2021-05-30 20:02:02 +02:00
  • 0e2895934c Use precomputed string sizes when constructing std::strings Martin Hořeňovský 2021-05-30 16:28:23 +02:00
  • a01073d871 Write single characters directly instead of as C-strings in Sonarqube Martin Hořeňovský 2021-05-30 15:54:35 +02:00
  • 02839ba934 Remove superfluous usings in the Contains matcher Martin Hořeňovský 2021-05-30 14:14:51 +02:00
  • 8d6a1c27ef Use StringRef literals where possible in XML using reporters Martin Hořeňovský 2021-05-30 13:43:14 +02:00
  • 41ad0fda11 Improve XmlWriter::writeAttribute overload set for string-like types Martin Hořeňovský 2021-05-30 13:05:07 +02:00
  • d9f72868b2 Use StringRef instead of std::string in XmlWriter::ScopedElement Martin Hořeňovský 2021-05-29 21:35:18 +02:00
  • c7241bb76e Use StringRef in XmLWriter when the text is not stored Martin Hořeňovský 2021-05-29 18:38:07 +02:00
  • 1d04427fcd Use StringRef through XmlEncode Martin Hořeňovský 2021-05-29 16:37:51 +02:00
  • aba114d6fe Don't include CTest in non-development builds. Daniel Edwards 2021-05-23 21:10:01 +02:00
  • 0221148ac3 Cleanup string escaping in XmlWriter with raw string literals Martin Hořeňovský 2021-05-29 14:11:50 +02:00
  • 9f091cbe9d Remove some code duplication from default test listing impl Martin Hořeňovský 2021-05-29 14:06:40 +02:00
  • 4c1e896d47 Flush less in default test listing impl Martin Hořeňovský 2021-05-29 13:52:23 +02:00
  • 2c04850f88 Add some constexpr in compact reporter impl Martin Hořeňovský 2021-05-29 13:49:33 +02:00
  • c9027375a3 Replace std::endl with \n and flush Martin Hořeňovský 2021-05-29 11:24:42 +02:00
  • 2ae28fc852 Use make_unique instead of unique_ptr(new T) in more places Martin Hořeňovský 2021-05-28 23:43:15 +02:00
  • f9ec34ce01 Make operator BenchmarkStats<Duration2> explicit Martin Hořeňovský 2021-05-28 23:19:07 +02:00
  • 96790b1d23 Always install the used compiler in Github Actions Martin Hořeňovský 2021-05-28 00:00:01 +02:00
  • 86f86c4c23 Fix compiling with C++17 + Clang 5 + libstdc++ v5 Dimitrij Mijoski 2021-03-26 02:04:45 +01:00
  • 531a149ae7 Fix compiling v2.x with C++17 + Clang 5 + libstdc++ v5 Dimitrij Mijoski 2021-03-26 13:04:53 +01:00
  • 9683570be7 Tiny optimization in JUnit reporter Martin Hořeňovský 2021-05-23 11:31:33 +02:00
  • 581c46249a JUnit reporter uses only 3 decimal places when reporting durations Martin Hořeňovský 2021-05-22 23:41:58 +02:00
  • b15b862d86 Fixed noexcept benchmark build for gcc. Evgeny Proydakov 2021-05-20 19:30:45 +03:00
  • 6971476563 Ensure that <iterator> is included before back_inserter is used Martin Hořeňovský 2021-05-21 20:02:22 +02:00
  • 023b5306b4 Add deep const to unique_ptr::operator-> Martin Hořeňovský 2021-05-19 11:00:53 +02:00
  • 9137e591fa Cleanup and optimize stringifying of string-like types Martin Hořeňovský 2021-05-18 00:02:46 +02:00
  • f50a06affa Small optimization for stringifying chrono::time_point Martin Hořeňovský 2021-05-17 13:09:05 +02:00
  • 4cc247cc70 Use constexpr StringRef instance for unprintable strings Martin Hořeňovský 2021-05-15 12:02:02 +02:00
  • 8ee422d6bf Remove pointless branch from stringifying matcher assertions Martin Hořeňovský 2021-05-15 11:47:02 +02:00
  • 0c0f73a48d Constexprify NameAndTags constructor Martin Hořeňovský 2021-05-15 00:02:09 +02:00
  • 61e16416a9 Pass other StringRef arguments by value instead of by-ref Martin Hořeňovský 2021-05-14 23:45:59 +02:00
  • 074017f5ad Inline MessageBuilder's constructor Martin Hořeňovský 2021-05-14 16:00:15 +02:00
  • 0a89e7f0c4 Pass StringRef by value instead of by const-ref Martin Hořeňovský 2021-05-14 15:59:42 +02:00
  • 28f6698ec8 Remove unneeded interface IRunner Martin Hořeňovský 2021-05-13 09:14:26 +02:00
  • b36f8daaad Clarify bunch of default, out of line destructors Martin Hořeňovský 2021-05-12 23:31:08 +02:00
  • d86cb5f95d Add override to virtual destructor of derived class Martin Hořeňovský 2021-05-12 23:23:02 +02:00
  • 5eb7aa4f90 Add test for dots in tag names Martin Hořeňovský 2021-05-12 21:43:14 +02:00
  • 35cba5486d Remove mention of ANON_TEST_CASE from documentation Martin Hořeňovský 2021-05-10 21:49:40 +02:00
  • eb911aa995 Suppress failure of CHECKED_IF and CHECKED_ELSE (#2187) Jozef Grajciar 2021-05-10 21:42:47 +02:00
  • 313071e8fe Pick release notes for v2.13.6 Martin Hořeňovský 2021-05-09 23:45:00 +02:00
  • f9bb2668e4 Pick release notes for v2.13.5 Martin Hořeňovský 2021-05-09 23:43:05 +02:00
  • baf0cd0be4 Fixed [dis]engage_platform declarations mismatch Matteo Beniamino 2021-04-13 10:46:59 +02:00
  • c0d0a50bdb Significantly refactor fatal error handling Martin Hořeňovský 2021-03-27 17:54:22 +01:00
  • cbcab2dbcd Add lcc to the list of unwanted compilers that mimic gcc Pavel Kamenov 2021-03-30 09:25:38 +03:00
  • ea44e73961 Wrap all std::min and std::max calls in parentheses Scott Hutchinson 2021-01-23 12:58:20 -08:00
  • d61fe3ecc3 [Issue 2154] Correct error when building with IBM's latest XLC (#2155) Rob Boehne 2021-01-21 15:50:49 -06:00
  • b325c6d81e Making target detection on Mac more robust Tom de Geus 2021-01-20 21:12:18 +01:00
  • d4a3cd9992 Make the static library build reproducible with supported compilers Martin Hořeňovský 2021-05-09 17:36:30 +02:00
  • 342dd3445c Pick documentation changes for 2.13.4 Martin Hořeňovský 2021-04-11 21:52:20 +02:00
  • 23760327ae Fix updateVersionPlaceholder when the placeholder starts the line Martin Hořeňovský 2020-12-29 15:02:11 +01:00
  • 48f220b68a Add deprecation warning in ParseAndCatchTests Reinhold Gschweicher 2020-12-17 14:02:48 +01:00
  • 031a57e7b7 Fix Catch.cmake helper by setting variable globally Reinhold Gschweicher 2020-12-17 10:28:05 +01:00
  • cdf4748d1c Modified hash to make it more independent of the choice of test names. Sergio Losilla 2020-11-17 11:16:36 +02:00
  • 520b6dace9 Remove conan to bintray packaging task from travis Martin Hořeňovský 2021-05-09 17:45:26 +02:00
  • 2cb5210caf Fix and improve GitHub Actions CI Martin Hořeňovský 2021-04-30 14:02:30 +02:00
  • 2dc5a5f402 Prepare to prevent Catch2 v3's tests from being run, and CTest targets from being added, if Catch2 is configured as a sub-project. (#2205) Clare Macrae 2021-04-16 20:19:58 +01:00
  • 5c88067bd3 v2.13.6 v2.13.6 Martin Hořeňovský 2021-04-16 20:14:58 +02:00
  • 86a4d704bc fixed inconsistent semicolon expansion in catch_discover_tests (Bug #2214) Georg Schwab 2021-04-14 08:35:59 +02:00
  • 04166514fe fixed inconsistent semicolon expansion in catch_discover_tests (Bug #2214) Georg Schwab 2021-04-14 08:51:36 +02:00
  • 469a717395 Fixed [dis]engage_platform declarations mismatch Matteo Beniamino 2021-04-13 10:46:59 +02:00
  • 42e368dd0a v2.13.5 v2.13.5 Martin Hořeňovský 2021-04-10 23:48:32 +02:00
  • 1ff1f2741d Prevent Catch2 v2 tests running if loaded as a sub-project Clare Macrae 2021-04-05 14:10:10 +01:00
  • 269f96e2bc Fix typos in the code base Julien Brianceau 2021-04-07 23:02:12 +02:00
  • e8cdfdca87 Fix typos in the code base (#2206) Julien Brianceau 2021-04-07 20:43:50 +02:00
  • cec35630fb Don't build Catch2WithMain target by default for v2 Martin Hořeňovský 2021-04-05 15:17:28 +02:00
  • b8b03da534 Mangle doccoments to avoid breaking single include stitching Martin Hořeňovský 2021-04-04 13:35:38 +02:00
  • 8f277a54c0 Significantly refactor fatal error handling Martin Hořeňovský 2021-03-27 17:54:22 +01:00
  • 4cb3220a8a Add lcc to the list of unwanted compilers that mimic gcc Pavel Kamenov 2021-03-30 09:25:38 +03:00
  • a5abec9cb5 Remove superfluous virtual from ExceptionTranslatorRegistry Martin Hořeňovský 2021-03-26 21:10:54 +01:00
  • f1d7a10e06 Remove StringRef::isNullTerminated and StringRef::c_str Martin Hořeňovský 2021-03-25 20:02:47 +01:00
  • e50e10ef8f Use std::string instead of StringRef as argument to the makeStream Martin Hořeňovský 2021-03-25 19:30:59 +01:00
  • 2c269eb633 Fixed compilation under MinGW - use gmtime_s() instead of gmtime_r(). Alexander Shaduri 2021-03-17 13:32:45 +04:00
  • 4b5812e932 Remove trailing whitespace from test-cases-and-sections.md Martin Hořeňovský 2021-03-23 13:02:20 +01:00
  • 9f44bd57f1 Add more documentation to BDD macros Martin Hořeňovský 2021-03-23 13:02:07 +01:00
  • 6734c0aa64 Expand documentation for BDD test macros (#2179) matthew-limbinar 2021-03-23 07:20:33 -04:00
  • 037ddbc75c Fix introduced in version placeholders Jozef Grajciar 2021-03-12 10:22:56 +01:00