Searched refs:SampleAnyType (Results 1 – 1 of 1) sorted by relevance
6757 class SampleAnyType { class6759 explicit SampleAnyType(int i) : index_(0), i_(i) {} in SampleAnyType() function in testing::gmock_matchers_test::__anon67385ff30111::SampleAnyType6760 explicit SampleAnyType(const std::string& s) : index_(1), s_(s) {} in SampleAnyType() function in testing::gmock_matchers_test::__anon67385ff30111::SampleAnyType6763 friend const T* any_cast(const SampleAnyType* any) { in any_cast()6779 Matcher<SampleAnyType> m = AnyWith<int>(Eq(1)); in TEST()6780 EXPECT_TRUE(m.Matches(SampleAnyType(1))); in TEST()6784 Matcher<SampleAnyType> m = AnyWith<std::string>(Eq("fail")); in TEST()6785 EXPECT_FALSE(m.Matches(SampleAnyType(1))); in TEST()6789 std::vector<SampleAnyType> a; in TEST()6796 std::vector<SampleAnyType> b; in TEST()[all …]