Searched refs:MatcherBase (Results 1 – 17 of 17) sorted by relevance
52 struct MatcherBase : MatcherUntypedBase, MatcherMethod<T> { struct55 MatchAllOf<T> operator && ( MatcherBase const& other ) const;56 MatchAnyOf<T> operator || ( MatcherBase const& other ) const;61 struct MatchAllOf : MatcherBase<ArgT> {85 MatchAllOf<ArgT>& operator && ( MatcherBase<ArgT> const& other ) {90 std::vector<MatcherBase<ArgT> const*> m_matchers;93 struct MatchAnyOf : MatcherBase<ArgT> {118 MatchAnyOf<ArgT>& operator || ( MatcherBase<ArgT> const& other ) {123 std::vector<MatcherBase<ArgT> const*> m_matchers;127 struct MatchNotOf : MatcherBase<ArgT> {[all …]
42 struct ContainsElementMatcher : MatcherBase<std::vector<T>> {63 struct ContainsMatcher : MatcherBase<std::vector<T>> {93 struct EqualsMatcher : MatcherBase<std::vector<T>> {116 struct UnorderedEqualsMatcher : MatcherBase<std::vector<T>> {
22 struct WithinAbsMatcher : MatcherBase<double> {31 struct WithinUlpsMatcher : MatcherBase<double> {
30 struct StringMatcherBase : MatcherBase<std::string> {55 struct RegexMatcher : MatcherBase<std::string> {
26 using Matchers::Impl::MatcherBase;
13 using StringMatcher = Matchers::Impl::MatcherBase<std::string>;
25 class PredicateMatcher : public MatcherBase<T> {
44 using StringMatcher = Matchers::Impl::MatcherBase<std::string>;
112 struct StringHolder : MatcherBase<NSString*>{
251 class MatcherBase {287 MatcherBase() {} in MatcherBase() function290 explicit MatcherBase(const MatcherInterface<const T&>* impl) : impl_(impl) {} in MatcherBase() function293 explicit MatcherBase(299 MatcherBase(const MatcherBase&) = default;300 MatcherBase& operator=(const MatcherBase&) = default;301 MatcherBase(MatcherBase&&) = default;302 MatcherBase& operator=(MatcherBase&&) = default;304 virtual ~MatcherBase() {} in ~MatcherBase()317 class Matcher : public internal::MatcherBase<T> {[all …]
88 struct MyExceptionMatcher : Catch::MatcherBase< std::runtime_error >
191 class MatcherBase {220 MatcherBase() {} in MatcherBase() function223 explicit MatcherBase(const MatcherInterface<T>* impl) in MatcherBase() function226 virtual ~MatcherBase() {} in ~MatcherBase()251 class Matcher : public internal::MatcherBase<T> {260 : internal::MatcherBase<T>(impl) {} in Matcher()272 : public internal::MatcherBase<const internal::string&> {277 : internal::MatcherBase<const internal::string&>(impl) {} in Matcher()289 : public internal::MatcherBase<internal::string> {294 : internal::MatcherBase<internal::string>(impl) {} in Matcher()
252 class MatcherBase {288 MatcherBase() {} in MatcherBase() function291 explicit MatcherBase(const MatcherInterface<T>* impl) in MatcherBase() function294 virtual ~MatcherBase() {} in ~MatcherBase()319 class Matcher : public internal::MatcherBase<T> {328 : internal::MatcherBase<T>(impl) {} in Matcher()340 : public internal::MatcherBase<const internal::string&> {345 : internal::MatcherBase<const internal::string&>(impl) {} in Matcher()357 : public internal::MatcherBase<internal::string> {362 : internal::MatcherBase<internal::string>(impl) {} in Matcher()[all …]
79 1. A matcher class, derived from `Catch::MatcherBase<T>` - where `T` is the type being tested.89 class IntRange : public Catch::MatcherBase<int> {
372 * `MatcherBase` no longer has a pointless second template argument
2925 struct MatcherBase : MatcherUntypedBase, MatcherMethod<T> { struct2927 MatchAllOf<T> operator && ( MatcherBase const& other ) const;2928 MatchAnyOf<T> operator || ( MatcherBase const& other ) const;2933 struct MatchAllOf : MatcherBase<ArgT> {2957 MatchAllOf<ArgT>& operator && ( MatcherBase<ArgT> const& other ) { in operator &&()2962 std::vector<MatcherBase<ArgT> const*> m_matchers;2965 struct MatchAnyOf : MatcherBase<ArgT> {2990 MatchAnyOf<ArgT>& operator || ( MatcherBase<ArgT> const& other ) { in operator ||()2995 std::vector<MatcherBase<ArgT> const*> m_matchers;2999 struct MatchNotOf : MatcherBase<ArgT> {[all …]
69 class ExceptionMatcher : public Catch::MatcherBase<SpecialException> {