Home
last modified time | relevance | path

Searched refs:MatcherBase (Results 1 – 17 of 17) sorted by relevance

/external/catch2/include/internal/
Dcatch_matchers.h52 struct MatcherBase : MatcherUntypedBase, MatcherMethod<T> { struct
55 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 …]
Dcatch_matchers_vector.h42 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>> {
Dcatch_matchers_floating.h22 struct WithinAbsMatcher : MatcherBase<double> {
31 struct WithinUlpsMatcher : MatcherBase<double> {
Dcatch_matchers_string.h30 struct StringMatcherBase : MatcherBase<std::string> {
55 struct RegexMatcher : MatcherBase<std::string> {
Dcatch_matchers.cpp26 using Matchers::Impl::MatcherBase;
Dcatch_capture_matchers.cpp13 using StringMatcher = Matchers::Impl::MatcherBase<std::string>;
Dcatch_matchers_generic.hpp25 class PredicateMatcher : public MatcherBase<T> {
Dcatch_capture_matchers.h44 using StringMatcher = Matchers::Impl::MatcherBase<std::string>;
Dcatch_objc.hpp112 struct StringHolder : MatcherBase<NSString*>{
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h251 class MatcherBase {
287 MatcherBase() {} in MatcherBase() function
290 explicit MatcherBase(const MatcherInterface<const T&>* impl) : impl_(impl) {} in MatcherBase() function
293 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 …]
/external/catch2/examples/
D207-Rpt-TeamCityReporter.cpp88 struct MyExceptionMatcher : Catch::MatcherBase< std::runtime_error >
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h191 class MatcherBase {
220 MatcherBase() {} in MatcherBase() function
223 explicit MatcherBase(const MatcherInterface<T>* impl) in MatcherBase() function
226 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()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h252 class MatcherBase {
288 MatcherBase() {} in MatcherBase() function
291 explicit MatcherBase(const MatcherInterface<T>* impl) in MatcherBase() function
294 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 …]
/external/catch2/docs/
Dmatchers.md79 1. A matcher class, derived from `Catch::MatcherBase<T>` - where `T` is the type being tested.
89 class IntRange : public Catch::MatcherBase<int> {
Drelease-notes.md372 * `MatcherBase` no longer has a pointless second template argument
/external/catch2/single_include/catch2/
Dcatch.hpp2925 struct MatcherBase : MatcherUntypedBase, MatcherMethod<T> { struct
2927 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 …]
/external/catch2/projects/SelfTest/UsageTests/
DMatchers.tests.cpp69 class ExceptionMatcher : public Catch::MatcherBase<SpecialException> {