Home
last modified time | relevance | path

Searched refs:MatchAndExplain (Results 1 - 18 of 18) sorted by relevance

/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest-matchers.h100 // of the match result. A matcher's MatchAndExplain() method can use
148 // MatchAndExplain() method of the Pointee(...) matcher should
151 // Implementations of MatchAndExplain() should add an explanation of
175 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
198 bool MatchAndExplain(const T& x,
200 return impl_->MatchAndExplain(x, listener);
263 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::internal::MatcherBase
264 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
270 return MatchAndExplain(x, &dummy); in Matches()
284 MatchAndExplain( in ExplainMatchResultTo()
483 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const { MatchAndExplain() function in testing::PolymorphicMatcher::MonomorphicImpl
624 bool MatchAndExplain(const absl::string_view& s, MatchAndExplain() function in testing::internal::MatchesRegexMatcher
636 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::MatchesRegexMatcher
645 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::MatchesRegexMatcher
[all...]
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h415 bool MatchAndExplain(T x, MatchResultListener* listener) const override {
436 return source_matcher_.MatchAndExplain(static_cast<CastType>(x),
595 const bool match = matcher.MatchAndExplain(value, &inner_listener); in MatchPrintAndExplain()
641 if (!matcher.MatchAndExplain(value, &listener)) { in ExplainMatchFailuresTo()
648 // matcher's MatchAndExplain() method handles the case when in ExplainMatchFailuresTo()
748 bool MatchAndExplain(const T& /* x */, std::ostream* /* listener */) const { in MatchAndExplain() function in testing::internal::AnythingMatcher
765 bool MatchAndExplain(const Pointer& p, in MatchAndExplain() function in testing::internal::IsNullMatcher
779 bool MatchAndExplain(const Pointer& p, in MatchAndExplain() function in testing::internal::NotNullMatcher
833 // MatchAndExplain() takes a Super& (as opposed to const Super&)
835 bool MatchAndExplain(Supe
902 bool MatchAndExplain(const internal::StringView& s, MatchAndExplain() function in testing::internal::StrEqualityMatcher
917 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::StrEqualityMatcher
929 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::StrEqualityMatcher
970 bool MatchAndExplain(const internal::StringView& s, MatchAndExplain() function in testing::internal::HasSubstrMatcher
985 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::HasSubstrMatcher
994 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::HasSubstrMatcher
1023 bool MatchAndExplain(const internal::StringView& s, MatchAndExplain() function in testing::internal::StartsWithMatcher
1038 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::StartsWithMatcher
1047 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::StartsWithMatcher
1077 bool MatchAndExplain(const internal::StringView& s, MatchAndExplain() function in testing::internal::EndsWithMatcher
1092 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::EndsWithMatcher
1101 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::EndsWithMatcher
1134 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::WhenBase64UnescapedMatcher
1504 bool MatchAndExplain(T& x, // NOLINT MatchAndExplain() function in testing::internal::TrulyMatcher
1630 bool MatchAndExplain(const FloatType& f, MatchAndExplain() function in testing::internal::IsNanMatcher
2019 bool MatchAndExplain(From from, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::WhenDynamicCastToMatcher
2034 bool MatchAndExplain(From& from, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::WhenDynamicCastToMatcher
2072 bool MatchAndExplain(const T& value, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::FieldMatcher
2139 bool MatchAndExplain(const T& value, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::PropertyMatcher
2433 bool MatchAndExplain(const LhsContainer& lhs, MatchAndExplain() function in testing::internal::ContainerEqMatcher
3944 bool MatchAndExplain(const Variant& value, MatchAndExplain() function in testing::internal::variant_matcher::VariantMatcher
4005 bool MatchAndExplain(const AnyType& value, MatchAndExplain() function in testing::internal::any_cast_matcher::AnyCastMatcher
5284 bool MatchAndExplain(const Err& err, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::WithWhatMatcherImpl
5352 bool MatchAndExplain(T&& x, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::ExceptionMatcherImpl
[all...]
H A Dgmock-more-matchers.h71 bool MatchAndExplain(const MatcheeContainerType& c, in MatchAndExplain() function in testing::internal::IsEmptyMatcher
81 bool MatchAndExplain(const char* s, MatchResultListener* listener) const { in MatchAndExplain() function in testing::internal::IsEmptyMatcher
82 return MatchAndExplain(std::string(s), listener); in MatchAndExplain()
H A Dgmock-spec-builders.h1147 if (!extra_matcher_.MatchAndExplain(args, &listener)) {
/third_party/googletest/googletest/include/gtest/
H A Dgtest-matchers.h69 // bool MatchAndExplain(const T&, std::ostream*);
97 // of the match result. A matcher's MatchAndExplain() method can use
145 // MatchAndExplain() method of the Pointee(...) matcher should
148 // Implementations of MatchAndExplain() should add an explanation of
172 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
268 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::internal::MatcherBase
276 return MatchAndExplain(x, &dummy); in Matches()
294 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
371 -> decltype(P::Get(m).MatchAndExplain(value, listener->stream())) { in MatchAndExplain() function in testing::internal::MatcherBase
372 return P::Get(m).MatchAndExplain(valu in MatchAndExplain()
378 -> decltype(P::Get(m).MatchAndExplain(value, listener)) { MatchAndExplain() function in testing::internal::MatcherBase
735 bool MatchAndExplain(const Lhs& lhs, std::ostream*) const { MatchAndExplain() function in testing::internal::ComparisonBase
822 bool MatchAndExplain(const internal::StringView& s, MatchAndExplain() function in testing::internal::MatchesRegexMatcher
834 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::MatchesRegexMatcher
843 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::MatchesRegexMatcher
[all...]
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-matchers.h70 // bool MatchAndExplain(const T&, std::ostream*);
98 // of the match result. A matcher's MatchAndExplain() method can use
146 // MatchAndExplain() method of the Pointee(...) matcher should
149 // Implementations of MatchAndExplain() should add an explanation of
173 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
232 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain() function in testing::internal::MatcherBase
240 return MatchAndExplain(x, &dummy); in Matches()
258 MatchAndExplain(x, &listener); in ExplainMatchResultTo()
335 -> decltype(P::Get(m).MatchAndExplain(value, listener->stream())) { in MatchAndExplain() function in testing::internal::MatcherBase
336 return P::Get(m).MatchAndExplain(valu in MatchAndExplain()
342 -> decltype(P::Get(m).MatchAndExplain(value, listener)) { MatchAndExplain() function in testing::internal::MatcherBase
699 bool MatchAndExplain(const Lhs& lhs, std::ostream*) const { MatchAndExplain() function in testing::internal::ComparisonBase
789 bool MatchAndExplain(const internal::StringView& s, MatchAndExplain() function in testing::internal::MatchesRegexMatcher
801 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const { MatchAndExplain() function in testing::internal::MatchesRegexMatcher
810 bool MatchAndExplain(const MatcheeStringType& s, MatchAndExplain() function in testing::internal::MatchesRegexMatcher
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
H A DError.h38 bool MatchAndExplain(const ExpectedHolder<T> &Holder,
43 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener);
90 bool MatchAndExplain(const ErrorHolder &Holder,
109 return Matcher->MatchAndExplain(static_cast<InfoT &>(Info), listener);
H A DSupportHelpers.h76 bool MatchAndExplain(const llvm::Optional<T> &Input,
78 return Input && ValueMatcher.MatchAndExplain(Input.getValue(), L);
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dstatus_test_support.cc19 bool MatchAndExplain(Status status,
34 bool MatchAndExplain(Status status,
/third_party/googletest/googlemock/test/
H A Dgmock-matchers_test.h110 bool MatchAndExplain(T lhs, MatchResultListener* listener) const { in MatchAndExplain() function
142 bool MatchAndExplain(T lhs, MatchResultListener* listener) const override {
143 return impl_.MatchAndExplain(lhs, listener);
H A Dgmock-matchers-misc_test.cc964 bool MatchAndExplain(std::tuple<char, int> value,
1703 EXPECT_TRUE(matcher.MatchAndExplain( in TEST()
1711 EXPECT_FALSE(matcher.MatchAndExplain( in TEST()
1720 EXPECT_FALSE(matcher.MatchAndExplain([]() { throw 10; }, &listener)); in TEST()
1728 EXPECT_FALSE(matcher.MatchAndExplain([]() { (void)0; }, &listener)); in TEST()
1747 EXPECT_TRUE(matcher.MatchAndExplain( in TEST_P()
1755 EXPECT_FALSE(matcher.MatchAndExplain( in TEST_P()
1764 EXPECT_FALSE(matcher.MatchAndExplain([]() { throw 10; }, &listener)); in TEST_P()
1772 EXPECT_FALSE(matcher.MatchAndExplain([]() {}, &listener)); in TEST_P()
H A Dgmock-matchers-comparisons_test.cc93 bool MatchAndExplain(int x,
110 // Tests implementing a monomorphic matcher using MatchAndExplain().
114 bool MatchAndExplain(int x, MatchResultListener* listener) const override {
200 // Tests Matcher<T>::MatchAndExplain().
201 TEST_P(MatcherTestP, MatchAndExplain) { in TEST_P()
204 EXPECT_TRUE(m.MatchAndExplain(42, &listener1)); in TEST_P()
208 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST_P()
302 bool MatchAndExplain(const T& x, MatchResultListener* /* listener */) const { in MatchAndExplain() function in testing::gmock_matchers_test::__anon3002::ReferencesBarOrIsZeroImpl
336 // Tests implementing a polymorphic matcher using MatchAndExplain().
345 bool MatchAndExplain(cons function in testing::gmock_matchers_test::__anon3002::PolymorphicIsEvenImpl
2274 bool MatchAndExplain(const T& n, MatchResultListener* listener) const { TEST() function in testing::gmock_matchers_test::__anon3002::DivisibleByImpl
[all...]
H A Dgmock-matchers-arithmetic_test.cc695 EXPECT_FALSE(m.MatchAndExplain("green", &listener)); in TEST()
696 EXPECT_FALSE(eq_red.MatchAndExplain("green", &expected)); in TEST()
709 EXPECT_FALSE(m.MatchAndExplain("red", &listener)); in TEST()
710 EXPECT_FALSE(ne_red.MatchAndExplain("red", &expected)); in TEST()
H A Dgmock-matchers-containers_test.cc1596 TEST(IsSupersetOfTest, MatchAndExplain) { in TEST()
1724 TEST(IsSubsetOfTest, MatchAndExplain) { in TEST()
2218 bool MatchAndExplain(const std::tuple<T1, T2>& a_pair, in MatchAndExplain() function in testing::gmock_matchers_test::__anon3003::IsHalfOfMatcher
2494 bool MatchAndExplain(Behavior behavior,
2496 *listener << "[MatchAndExplain]";
2499 // The first call to MatchAndExplain should use a "not interested"
2508 // The first call to MatchAndExplain should use a "not interested"
2547 OfType(internal::GetTypeName<Behavior>()) + ", [MatchAndExplain]"; in TEST_F()
2559 OfType(internal::GetTypeName<Behavior>()) + ", [MatchAndExplain]"; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
H A DWireTest.h47 bool MatchAndExplain(Arg value, testing::MatchResultListener* listener) const override {
74 bool MatchAndExplain(const char* message,
/third_party/node/deps/v8/testing/
H A Dgmock-support.h48 virtual bool MatchAndExplain(T value, MatchResultListener* listener) const { in MatchAndExplain() function in testing::internal::CaptureEqMatcher
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
H A Dstatusor_test.cc82 bool MatchAndExplain(
92 inner_matcher_.MatchAndExplain(*actual_value, &inner_listener);
135 bool MatchAndExplain(T actual_value,
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dlayout_test.cc1238 bool MatchAndExplain(const Tuple& p, in MatchAndExplain() function in absl::container_internal::__anon19184::TupleMatcher

Completed in 31 milliseconds