catch2/projects/SelfTest/Baselines
Martin Hořeňovský 1ca8f43b01 Add PredicateMatcher that takes an arbitrary predicate functions
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate<std::string>([](std::string const& str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
2018-04-04 11:14:19 +02:00
..
automake.std.approved.txt Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
compact.sw.approved.txt Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
console.std.approved.txt Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
console.sw.approved.txt Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
console.swa4.approved.txt https://github.com/catchorg/Catch2/issues/1175 - don't list hidden tests by default 2018-02-09 19:55:40 +01:00
junit.sw.approved.txt Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
xml.sw.approved.txt Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00