Lines Matching refs:MATCHER
885 MATCHER(SumIsZero, "") {
989 // Tests for the MATCHER*() macro family.
991 // Tests that a simple MATCHER() definition works.
993 MATCHER(IsEven, "") { return (arg % 2) == 0; }
1007 MATCHER(IsEven2, negation ? "is odd" : "is even") {
1010 // supplied by the MATCHER macro implicitly.
1049 // Tests explaining match result in a MATCHER* macro.
1060 // Tests that the body of MATCHER() can reference the type of the
1063 MATCHER(IsEmptyString, "") {
1068 MATCHER(IsEmptyStringByRef, "") {
1081 // Tests that MATCHER() can be used in a namespace.
1084 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
1094 MATCHER(IsPositiveOdd, "") {
1233 // Tests that MATCHER*() definitions can be overloaded on the number
1236 MATCHER(EqualsSumOf, "") { return arg == 0; }
1324 // Verifies the type of a MATCHER*.
1598 MATCHER(IsNotNull, "") { return arg != nullptr; }
1600 // Verifies that a matcher defined using MATCHER() can work on
1618 MATCHER(EnsureNoUnusedButMarkedUnusedWarning, "") { return (arg % 2) == 0; }