/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-more-matchers.h | 104 MATCHER(IsTrue, negation ? "is false" : "is true") { in MATCHER() function 112 MATCHER(IsFalse, negation ? "is true" : "is false") { in MATCHER() function
|
H A D | gmock-matchers.h | 32 // The MATCHER* family of macros can be used in a namespace scope to 40 // MATCHER(name, description_string) { statements; } 49 // MATCHER() is usually defined in a header file shared by multiple 57 // MATCHER(IsEven, "") { return (arg % 2) == 0; } 127 // The last argument to MATCHER*() is a string-typed expression. The 228 // approaches require more work than the MATCHER* macros, but also 235 // MATCHER*() can only be used in a namespace scope as templates cannot be 241 // To learn more about using these macros, please search for 'MATCHER' 3867 // Returns the description for a matcher defined using the MATCHER*() 5443 // MATCHER* macro 5444 #define MATCHER global() macro [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/ |
H A D | Error.h | 143 MATCHER(Succeeded, "") { return arg.Success(); } in MATCHER() function 144 MATCHER(Failed, "") { return !arg.Success(); } in MATCHER() function
|
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 885 MATCHER(SumIsZero, "") { in MATCHER() function 989 // Tests for the MATCHER*() macro family. 991 // Tests that a simple MATCHER() definition works. 993 MATCHER(IsEven, "") { return (arg % 2) == 0; } in MATCHER() function 1007 MATCHER(IsEven2, negation ? "is odd" : "is even") { in MATCHER() function 1010 // supplied by the MATCHER macro implicitly. in MATCHER() 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, "") { in MATCHER() function 1068 MATCHER(IsEmptyStringByRe function 1084 MATCHER(IsOdd, "") { return (arg % 2) != 0; } MATCHER() function 1094 MATCHER(IsPositiveOdd, "") { MATCHER() function 1236 MATCHER(EqualsSumOf, "") { return arg == 0; } MATCHER() function 1598 MATCHER(IsNotNull, "") { return arg != nullptr; } MATCHER() function 1618 MATCHER(EnsureNoUnusedButMarkedUnusedWarning, "") { return (arg % 2) == 0; } MATCHER() function [all...] |
H A D | gmock-matchers-arithmetic_test.cc | 1472 MATCHER(M, "") { in MATCHER() function
|
H A D | gmock-matchers-comparisons_test.cc | 2119 MATCHER(ConstructNoArg, "") { return true; } in TEST() function
|
H A D | gmock-matchers-containers_test.cc | 2350 MATCHER(PointeeEquals, "Points to an equal value") { in MATCHER() function
|
/third_party/node/deps/v8/testing/ |
H A D | gmock-support.h | 85 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " not a number") { in MATCHER() function
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | time_test.cc | 380 #define TEST_CONVERSION_ROUND_TRIP(SOURCE, FROM, TO, MATCHER) \ in TEST() 381 EXPECT_THAT(TO(FROM(SOURCE)), MATCHER(SOURCE)) in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cord_ring_test.cc | 124 MATCHER(IsValidRingBuffer, "RingBuffer is valid") { in MATCHER() function
|