Home | History | Annotate | Download | only in test

Lines Matching defs:m2

776   const Matcher<int> m2 = EqSumOf(5, 9);
777 EXPECT_EQ("equals the sum of 5 and 9", Describe(m2));
778 EXPECT_EQ("doesn't equal the sum of 5 and 9", DescribeNegation(m2));
787 const Matcher<int> m2 = EqSumOf(1, 2);
788 EXPECT_EQ("OK", Explain(m2, 3));
789 EXPECT_EQ("diff == -1", Explain(m2, 4));
809 const Matcher<const ::std::string&> m2 = IsEmptyStringByRef();
810 EXPECT_TRUE(m2.Matches(""));
1097 MATCHER_P3(TwoOf, m1, m2, m3, "") {
1099 + static_cast<int>(Value(arg, m2)) + static_cast<int>(Value(arg, m3));
1181 Matcher<vector<int> > m2 = Not(m);
1182 EXPECT_EQ("doesn't contain any element that is equal to 1", Describe(m2));