Searched refs:SampleAnyType (Results 1 – 1 of 1) sorted by relevance
6729 class SampleAnyType { class6731 explicit SampleAnyType(int i) : index_(0), i_(i) {} in SampleAnyType() function in testing::gmock_matchers_test::SampleAnyType6735 friend const T* any_cast(const SampleAnyType* any) { in any_cast()6751 Matcher<SampleAnyType> m = AnyWith<int>(Eq(1)); in TEST()6752 EXPECT_TRUE(m.Matches(SampleAnyType(1))); in TEST()6756 Matcher<SampleAnyType> m = AnyWith<std::string>(Eq("fail")); in TEST()6757 EXPECT_FALSE(m.Matches(SampleAnyType(1))); in TEST()6762 std::vector<SampleAnyType> a; in TEST()6769 std::vector<SampleAnyType> b; in TEST()6779 EXPECT_THAT(SampleAnyType(1), AnyWith<int>(Gt(0))); in TEST()[all …]