Searched refs:SafeMatcherCast (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h67 new Impl<T>(::testing::SafeMatcherCast<T>(ValueMatcher)));
H A DError.h77 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher)));
184 testing::SafeMatcherCast<InfoT &>(Matcher)));
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h787 // Implements SafeMatcherCast().
838 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) { function in namespace:testing
1713 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1813 values->push_back(SafeMatcherCast<T>(std::get<I>(matchers_)));
1846 values.push_back(SafeMatcherCast<T>(matcher1_));
1847 values.push_back(SafeMatcherCast<T>(matcher2_));
1944 values.push_back(SafeMatcherCast<T>(matcher1_));
1945 values.push_back(SafeMatcherCast<T>(matcher2_));
2051 // We write SafeMatcherCast<const T&>(matcher_) instead of
2056 const Matcher<const T&> matcher = SafeMatcherCast<cons
[all...]
H A Dgmock-generated-matchers.h223 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
/freebsd-13-stable/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc825 // Tests that SafeMatcherCast<T>(m) works when m is a polymorphic matcher.
827 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32));
832 // Tests that SafeMatcherCast<T>(m) works when m is a Matcher<U> where
837 Matcher<float> m2 = SafeMatcherCast<float>(m1);
841 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a'));
846 // Tests that SafeMatcherCast<T>(m) works when m is a Matcher<U> where T and U
851 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1);
856 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3);
861 // Tests that SafeMatcherCast<T&>(m) works when m is a Matcher<const T&>.
865 Matcher<int&> m2 = SafeMatcherCast<in
[all...]

Completed in 127 milliseconds