Searched refs:SafeMatcherCast (Results 1 – 9 of 9) sorted by relevance
77 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher)));205 testing::SafeMatcherCast<InfoT &>(Matcher))); in Failed()
69 new Impl<T>(::testing::SafeMatcherCast<T>(ValueMatcher)));
838 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) { in SafeMatcherCast() function1813 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_));3137 testing::SafeMatcherCast<const Element&>(inner_matcher)) {}3317 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {3380 testing::SafeMatcherCast<const FirstType&>(first_matcher)),3972 : mono_tuple2_matcher_(SafeMatcherCast<const ArgTuple&>(tm)),[all …]
117 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
223 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {} in ArgsMatcherImpl()
104 * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
827 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); in TEST()837 Matcher<float> m2 = SafeMatcherCast<float>(m1); in TEST()841 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a')); in TEST()851 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); in TEST()856 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3); in TEST()865 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()874 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); in TEST()882 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()892 Matcher<int> m2 = SafeMatcherCast<int>(m1); in TEST()901 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()[all …]
327 |`SafeMatcherCast<T>(m)`| [safely casts](CookBook.md#casting-matchers) matcher `m` to type `Matcher…
701 `SafeMatcherCast<T>(m)` function. It casts a matcher `m` to type714 using ::testing::SafeMatcherCast;728 EXPECT_CALL(foo, DoThis(SafeMatcherCast<Derived*>(m)));731 If you find `SafeMatcherCast<T>(m)` too limiting, you can use a similar