Lines Matching refs:MatcherCast
97 using testing::MatcherCast;
461 // Tests that MatcherCast<T>(m) works when m is a polymorphic matcher.
463 Matcher<int> m = MatcherCast<int>(Eq(5));
485 // Tests that MatcherCast<T>(m) works when m is a Matcher<U> where T
489 Matcher<int> m2 = MatcherCast<int>(m1);
494 Matcher<int> m4 = MatcherCast<int>(m3);
502 // Tests that MatcherCast<T>(m) works when m is a Matcher<const T&>.
505 Matcher<int> m2 = MatcherCast<int>(m1);
510 // Tests that MatcherCast<T>(m) works when m is a Matcher<T&>.
513 Matcher<int> m2 = MatcherCast<int>(m1);
518 // Tests that MatcherCast<const T&>(m) works when m is a Matcher<T>.
521 Matcher<const int&> m2 = MatcherCast<const int&>(m1);
526 // Tests that MatcherCast<T&>(m) works when m is a Matcher<T>.
529 Matcher<int&> m2 = MatcherCast<int&>(m1);
536 // Tests that MatcherCast<T>(m) works when m is a Matcher<T>.
539 MatcherCast<int>(m1);
593 // Tests that MatcherCast<const T&>(m) works when m is a Matcher<T>.