Lines Matching refs:MATCHER
153 // The MATCHER*() macros trigger warning C4100 (unreferenced formal
163 MATCHER(SumIsZero, "") {
732 // Tests for the MATCHER*() macro family.
734 // Tests that a simple MATCHER() definition works.
736 MATCHER(IsEven, "") { return (arg % 2) == 0; }
750 MATCHER(IsEven2, negation ? "is odd" : "is even") {
753 // supplied by the MATCHER macro implicitly.
792 // Tests explaining match result in a MATCHER* macro.
803 // Tests that the body of MATCHER() can reference the type of the
806 MATCHER(IsEmptyString, "") {
811 MATCHER(IsEmptyStringByRef, "") {
824 // Tests that MATCHER() can be used in a namespace.
827 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
837 MATCHER(IsPositiveOdd, "") {
965 // Tests that MATCHER*() definitions can be overloaded on the number
968 MATCHER(EqualsSumOf, "") { return arg == 0; }
1063 // Verifies the type of a MATCHER*.
1273 MATCHER(M, "") { return true; }
1311 MATCHER(IsNotNull, "") {
1315 // Verifies that a matcher defined using MATCHER() can work on