Searched refs:MATCHER (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-more-matchers.h | 61 MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") { function in namespace:testing 73 MATCHER(IsTrue, negation ? "is false" : "is true") { function in namespace:testing 81 MATCHER(IsFalse, negation ? "is true" : "is false") { function in namespace:testing
|
H A D | gmock-generated-matchers.h | 1171 // The MATCHER* family of macros can be used in a namespace scope to 1179 // MATCHER(name, description_string) { statements; } 1188 // MATCHER() is usually defined in a header file shared by multiple 1196 // MATCHER(IsEven, "") { return (arg % 2) == 0; } 1266 // The last argument to MATCHER*() is a string-typed expression. The 1367 // approaches require more work than the MATCHER* macros, but also 1374 // MATCHER*() can only be used in a namespace scope. The reason is 1377 // Once that's done, we'll consider supporting using MATCHER*() inside 1383 // To learn more about using these macros, please search for 'MATCHER' 1387 #define MATCHER(nam macro [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Testing/Support/ |
H A D | Error.h | 173 MATCHER(Succeeded, "") { return arg.Success(); } function in namespace:llvm 174 MATCHER(Failed, "") { return !arg.Success(); } function in namespace:llvm
|
/freebsd-13-stable/contrib/googletest/googlemock/test/ |
H A D | gmock-generated-matchers_test.cc | 153 // The MATCHER*() macros trigger warning C4100 (unreferenced formal 163 MATCHER(SumIsZero, "") { function in namespace:__anon797 732 // Tests for the MATCHER*() macro family. 734 // Tests that a simple MATCHER() definition works. 736 MATCHER(IsEven, "") { return (arg % 2) == 0; } function in namespace:__anon797 750 MATCHER(IsEven2, negation ? "is odd" : "is even") { function in namespace:__anon797 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(IsEmptyStrin function in namespace:__anon797 811 MATCHER(IsEmptyStringByRef, "") { function in namespace:__anon797 827 MATCHER(IsOdd, "") { return (arg % 2) != 0; } function in namespace:__anon797::matcher_test 837 MATCHER(IsPositiveOdd, "") { function in namespace:__anon797 968 MATCHER(EqualsSumOf, "") { return arg == 0; } function in namespace:__anon797 1273 MATCHER(M, "") { return true; } function in namespace:__anon797::adl_test 1311 MATCHER(IsNotNull, "") { function in namespace:__anon797 [all...] |
Completed in 196 milliseconds