Home | History | Annotate | Download | only in test

Lines Matching refs:AStruct

2811 struct AStruct {
2812 AStruct() : x(0), y(1.0), z(5), p(NULL) {}
2813 AStruct(const AStruct& rhs)
2822 GTEST_DISALLOW_ASSIGN_(AStruct);
2826 struct DerivedStruct : public AStruct {
2835 Matcher<AStruct> m = Field(&AStruct::x, Ge(0));
2837 AStruct a;
2845 AStruct a;
2847 Matcher<AStruct> m = Field(&AStruct::y, Ge(0.0));
2849 m = Field(&AStruct::y, Le(0.0));
2855 AStruct a;
2857 Matcher<AStruct> m = Field(&AStruct::z, Truly(ValueIsPositive));
2859 m = Field(&AStruct::z, Not(Truly(ValueIsPositive)));
2866 Matcher<AStruct> m = Field(&AStruct::p, static_cast<const char*>(NULL));
2867 AStruct a;
2873 m = Field(&AStruct::p, StartsWith("hi"));
2882 Matcher<const AStruct&> m = Field(&AStruct::x, Ge(0));
2884 AStruct a;
2893 // Note that the matcher expects DerivedStruct but we say AStruct
2895 Matcher<const DerivedStruct&> m = Field(&AStruct::x, Ge(0));
2907 Matcher<const AStruct&> m = Field(&AStruct::x,
2910 AStruct a;
2918 Matcher<const AStruct&> m = Field(&AStruct::x, Ge(0));
2926 Matcher<const AStruct&> m = Field(&AStruct::x, Ge(0));
2928 AStruct a;
2932 m = Field(&AStruct::x, GreaterThan(0));
2940 Matcher<const AStruct*> m = Field(&AStruct::x, Ge(0));
2942 AStruct a;
2950 Matcher<AStruct*> m = Field(&AStruct::x, Ge(0));
2952 AStruct a;
2960 Matcher<AStruct* const&> m = Field(&AStruct::x, Ge(0));
2962 AStruct a;
2970 Matcher<const AStruct*> m = Field(&AStruct::x, _);
2977 // Note that the matcher expects DerivedStruct but we say AStruct
2979 Matcher<DerivedStruct*> m = Field(&AStruct::x, Ge(0));
2989 Matcher<const AStruct*> m = Field(&AStruct::x, Ge(0));
2997 Matcher<const AStruct*> m = Field(&AStruct::x, Ge(0));
2999 AStruct a;
3001 EXPECT_EQ("", Explain(m, static_cast<const AStruct*>(NULL)));
3005 m = Field(&AStruct::x, GreaterThan(0));