Lines Matching refs:AClass

611 class AClass {
613 AClass() : n_(0) {}
637 double AClass::x_ = 0.0;
640 class DerivedClass : public AClass {
653 Matcher<const AClass&> m = Property(&AClass::n, Ge(0));
654 Matcher<const AClass&> m_with_name = Property("n", &AClass::n, Ge(0));
656 AClass a;
669 Matcher<const AClass&> m = Property(&AClass::s, StartsWith("hi"));
670 Matcher<const AClass&> m_with_name =
671 Property("s", &AClass::s, StartsWith("hi"));
673 AClass a;
686 Matcher<const AClass&> m = Property(&AClass::s_ref, StartsWith("hi"));
687 Matcher<const AClass&> m_with_name =
688 Property("s", &AClass::s_ref, StartsWith("hi"));
690 AClass a;
704 AClass a;
706 Matcher<const AClass&> m = Property(&AClass::x, Ref(x));
709 m = Property(&AClass::x, Not(Ref(x)));
716 Matcher<AClass> m = Property(&AClass::s, StartsWith("hi"));
718 AClass a;
730 // say AClass.
731 Matcher<const DerivedClass&> m = Property(&AClass::n, Ge(0));
745 Matcher<const AClass&> m = Property(&AClass::n, Matcher<signed char>(Ge(0)));
747 Matcher<const AClass&> m_with_name =
748 Property("n", &AClass::n, Matcher<signed char>(Ge(0)));
750 AClass a;
760 Matcher<const AClass&> m = Property(&AClass::n, Ge(0));
768 Matcher<const AClass&> m = Property("fancy_name", &AClass::n, Ge(0));
777 Matcher<const AClass&> m = Property(&AClass::n, Ge(0));
779 AClass a;
783 m = Property(&AClass::n, GreaterThan(0));
790 Matcher<const AClass&> m = Property("fancy_name", &AClass::n, Ge(0));
792 AClass a;
796 m = Property("fancy_name", &AClass::n, GreaterThan(0));
806 Matcher<const AClass*> m = Property(&AClass::n, Ge(0));
808 AClass a;
818 Matcher<AClass*> m = Property(&AClass::s, StartsWith("hi"));
820 AClass a;
831 Matcher<AClass* const&> m = Property(&AClass::s, StartsWith("hi"));
833 AClass a;
843 Matcher<const AClass*> m = Property(&AClass::x, _);
851 // say AClass.
852 Matcher<const DerivedClass*> m = Property(&AClass::n, Ge(0));
864 Matcher<const AClass*> m = Property(&AClass::n, Ge(0));
872 Matcher<const AClass*> m = Property("fancy_name", &AClass::n, Ge(0));
881 Matcher<const AClass*> m = Property(&AClass::n, Ge(0));
883 AClass a;
885 EXPECT_EQ("", Explain(m, static_cast<const AClass*>(nullptr)));
890 m = Property(&AClass::n, GreaterThan(0));
897 Matcher<const AClass*> m = Property("fancy_name", &AClass::n, Ge(0));
899 AClass a;
901 EXPECT_EQ("", Explain(m, static_cast<const AClass*>(nullptr)));
906 m = Property("fancy_name", &AClass::n, GreaterThan(0));