Home
last modified time | relevance | path

Searched refs:ConvertibleFromAny (Results 1 – 2 of 2) sorted by relevance

/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc549 struct ConvertibleFromAny { struct
550 ConvertibleFromAny(int a_value) : value(a_value) {} in ConvertibleFromAny() function
552 ConvertibleFromAny(const T& a_value) : value(-1) { in ConvertibleFromAny() function
558 bool operator==(const ConvertibleFromAny& a, const ConvertibleFromAny& b) { in operator ==()
562 ostream& operator<<(ostream& os, const ConvertibleFromAny& a) { in operator <<()
567 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()
568 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
569 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
573 Matcher<ConvertibleFromAny> m = in TEST()
574 MatcherCast<ConvertibleFromAny>(Eq(ConvertibleFromAny(1))); in TEST()
[all …]
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc718 struct ConvertibleFromAny { struct
719 ConvertibleFromAny(int a_value) : value(a_value) {} in ConvertibleFromAny() function
721 ConvertibleFromAny(const T& /*a_value*/) : value(-1) { in ConvertibleFromAny() argument
727 bool operator==(const ConvertibleFromAny& a, const ConvertibleFromAny& b) { in operator ==()
731 ostream& operator<<(ostream& os, const ConvertibleFromAny& a) { in operator <<()
736 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()
737 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()
738 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()
742 Matcher<ConvertibleFromAny> m = in TEST()
743 MatcherCast<ConvertibleFromAny>(Eq(ConvertibleFromAny(1))); in TEST()
[all …]