Lines Matching refs:ConvertibleFromAny
658 struct ConvertibleFromAny { struct
659 ConvertibleFromAny(int a_value) : value(a_value) {} in ConvertibleFromAny() argument
661 ConvertibleFromAny(const T& /*a_value*/) : value(-1) { in ConvertibleFromAny() function
667 bool operator==(const ConvertibleFromAny& a, const ConvertibleFromAny& b) { in operator ==()
671 ostream& operator<<(ostream& os, const ConvertibleFromAny& a) { in operator <<()
676 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()
677 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
678 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
682 Matcher<ConvertibleFromAny> m = in TEST()
683 MatcherCast<ConvertibleFromAny>(Eq(ConvertibleFromAny(1))); in TEST()
684 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
685 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
800 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()
801 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
802 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
806 Matcher<ConvertibleFromAny> m = in TEST()
807 SafeMatcherCast<ConvertibleFromAny>(Eq(ConvertibleFromAny(1))); in TEST()
808 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
809 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()