catch2/tests/SelfTest/UsageTests
melak47 17c4b2d093
Feature: generic matchers (#1843)
This commit extends the Matchers feature with the ability to have type-independent (e.g. templated) matchers. This is done by adding a new base type that Matchers can extend, `MatcherGenericBase`, and overloads of operators `!`, `&&` and `||` that handle matchers extending `MatcherGenericBase` in a special manner.

These new matchers can also take their arguments as values and non-const references.

Closes #1307 
Closes #1553 
Closes #1554 

Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
2020-02-16 11:19:10 +01:00
..
Approx.tests.cpp Move Approx out of the Detail namespace 2020-02-03 15:14:59 +01:00
BDD.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Benchmark.tests.cpp Fix wrong namespacing of benchmarking constructor helpers 2020-02-13 16:15:50 +01:00
Class.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Compilation.tests.cpp Remove CATCH_CONFIG_DISABLE_MATCHERS 2020-01-25 09:07:36 +01:00
Condition.tests.cpp Move Approx out of the Detail namespace 2020-02-03 15:14:59 +01:00
Decomposition.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
EnumToString.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Exception.tests.cpp Remove CATCH_CONFIG_DISABLE_MATCHERS 2020-01-25 09:07:36 +01:00
Generators.tests.cpp Outline GeneratorException from generators header 2020-02-14 16:15:47 +01:00
Matchers.tests.cpp Feature: generic matchers (#1843) 2020-02-16 11:19:10 +01:00
Message.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Misc.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringByte.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringChrono.tests.cpp Unconditionally provide <chrono> StringMakers 2020-02-03 20:53:36 +01:00
ToStringGeneral.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringOptional.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringPair.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringTuple.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVariant.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVector.tests.cpp Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
ToStringWhich.tests.cpp Remove testing of CATCH_CONFIG_FALLBACK_STRINGIFIER from SelfTest 2020-01-21 15:14:24 +01:00
Tricky.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
VariadicMacros.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00