Home
last modified time | relevance | path

Searched refs:MatchAndExplain (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h204 virtual bool MatchAndExplain(const T& x, in MatchAndExplain() function
298 return MatchAndExplain(x, &dummy); in Matches()
313 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
1081 virtual bool MatchAndExplain(
1155 bool MatchAndExplain(const Pointer& p,
1175 bool MatchAndExplain(const Pointer& p,
1237 virtual bool MatchAndExplain(
1316 return MatchAndExplain(str, listener);
1634 virtual bool MatchAndExplain(
1968 bool MatchAndExplain(T& x, // NOLINT
[all …]
H A Dgmock-generated-matchers.h1396 virtual bool MatchAndExplain(\
1444 virtual bool MatchAndExplain(\
1498 virtual bool MatchAndExplain(\
1558 virtual bool MatchAndExplain(\
1625 virtual bool MatchAndExplain(\
1701 virtual bool MatchAndExplain(\
1781 virtual bool MatchAndExplain(\
1867 virtual bool MatchAndExplain(\
1962 virtual bool MatchAndExplain(\
2063 virtual bool MatchAndExplain(\
[all …]
H A Dgmock-generated-matchers.h.pump119 virtual bool MatchAndExplain(ArgsTuple args,
129 const bool match = inner_matcher_.MatchAndExplain(selected_args,
638 virtual bool MatchAndExplain(\
671 bool $class_name$param_types::gmock_Impl<arg_type>::MatchAndExplain(\
H A Dgmock-spec-builders.h1131 if (!extra_matcher_.MatchAndExplain(args, &listener)) { in ExplainMatchResultTo()
/freebsd-12.1/contrib/llvm/include/llvm/Testing/Support/
H A DError.h39 bool MatchAndExplain(const ExpectedHolder<T> &Holder, in MatchAndExplain() function
44 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain()
91 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain() function
110 return Matcher->MatchAndExplain(static_cast<InfoT &>(Info), listener); in MatchAndExplain()
/freebsd-12.1/contrib/googletest/googlemock/docs/
H A DFrequentlyAskedQuestions.md55 virtual bool MatchAndExplain(MyType value,
63 (i.e. rename `Matches()` to `MatchAndExplain()` and give it a second
92 `MatchAndExplain()`, using the `MatchResultListener` argument where
102 virtual bool MatchAndExplain(MyType value,
130 you should rename the `Matches()` method to `MatchAndExplain()` and
141 bool MatchAndExplain(MyType value,
178 `MatchAndExplain()`:
187 bool MatchAndExplain(MyType value,
H A DCookBook.md1114 virtual bool MatchAndExplain(const Foo& foo,
2914 You should let `MatchAndExplain()` print _any additional information_
3081 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
3109 virtual bool MatchAndExplain(int n, MatchResultListener* listener) const {
3131 information to the `listener` argument in `MatchAndExplain()`:
3136 virtual bool MatchAndExplain(int n,
3179 // that has three members MatchAndExplain(), DescribeTo(), and
3183 // MatchAndExplain() accepts a pointer of any type as its first argument.
3184 // In general, you can define MatchAndExplain() as an ordinary method or
3187 bool MatchAndExplain(T* p,
[all …]
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc168 virtual bool MatchAndExplain(int lhs, in MatchAndExplain() function in testing::gmock_matchers_test::GreaterThanMatcher
259 virtual bool MatchAndExplain(int x, in MatchAndExplain() function in testing::gmock_matchers_test::EvenMatcherImpl
282 virtual bool MatchAndExplain(int x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::NewEvenMatcherImpl
372 TEST(MatcherTest, MatchAndExplain) { in TEST() argument
375 EXPECT_TRUE(m.MatchAndExplain(42, &listener1)); in TEST()
379 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST()
525 bool MatchAndExplain(const T& x, in MatchAndExplain() function in testing::gmock_matchers_test::ReferencesBarOrIsZeroImpl
571 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::gmock_matchers_test::PolymorphicIsEvenImpl
5485 TEST(IsSupersetOfTest, MatchAndExplain) { in TEST() argument
5607 TEST(IsSubsetOfTest, MatchAndExplain) { in TEST() argument
[all …]
H A Dgmock-generated-matchers_test.cc241 virtual bool MatchAndExplain(tuple<char, int> value, in MatchAndExplain() function in __anon3c8507a90111::LessThanMatcher
274 virtual bool MatchAndExplain(int lhs, in MatchAndExplain() function in __anon3c8507a90111::GreaterThanMatcher