Home
last modified time | relevance | path

Searched refs:PredicateMatcher (Results 1 – 5 of 5) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers_generic.hpp25 class PredicateMatcher : public MatcherBase<T> { class
30 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher
51 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()
52 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()
/external/catch2/docs/
Ddeprecations.md125 ### Type erasure in the `PredicateMatcher`
127 Currently, the `PredicateMatcher` uses `std::function` for type erasure,
128 so that type of the matcher is always `PredicateMatcher<T>`, regardless
131 `PredicateMatcher` will no longer be type erased in the future. Instead,
132 the predicate type will be made part of the PredicateMatcher's type.
Drelease-notes.md371 * Fixed compilation of `PredicateMatcher<const char*>` by removing partial specialization of `Match…
539 * Added `PredicateMatcher`, a matcher that takes an arbitrary predicate function (#1236)
/external/catch2/single_include/catch2/
Dcatch.hpp3465 class PredicateMatcher : public MatcherBase<T> { class
3470 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher
3491 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()
3492 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()
/external/libabigail/tests/lib/
Dcatch.hpp3491 class PredicateMatcher : public MatcherBase<T> { class
3496 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr) in PredicateMatcher() function in Catch::Matchers::Generic::PredicateMatcher
3517 …Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string… in Predicate()
3518 return Generic::PredicateMatcher<T>(predicate, description); in Predicate()