Searched refs:MATCHER (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-matchers.h48 MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") { function in namespace:testing
H A Dgmock-generated-matchers.h1166 // The MATCHER* family of macros can be used in a namespace scope to
1174 // MATCHER(name, description_string) { statements; }
1183 // MATCHER() is usually defined in a header file shared by multiple
1191 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
1261 // The last argument to MATCHER*() is a string-typed expression. The
1362 // approaches require more work than the MATCHER* macros, but also
1369 // MATCHER*() can only be used in a namespace scope. The reason is
1372 // Once that's done, we'll consider supporting using MATCHER*() inside
1378 // To learn more about using these macros, please search for 'MATCHER'
1381 #define MATCHER(nam macro
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-matchers_test.cc143 // The MATCHER*() macros trigger warning C4100 (unreferenced formal
153 MATCHER(SumIsZero, "") { function in namespace:__anon17
722 // Tests for the MATCHER*() macro family.
724 // Tests that a simple MATCHER() definition works.
726 MATCHER(IsEven, "") { return (arg % 2) == 0; } function in namespace:__anon17
740 MATCHER(IsEven2, negation ? "is odd" : "is even") { function in namespace:__anon17
743 // supplied by the MATCHER macro implicitly.
782 // Tests explaining match result in a MATCHER* macro.
793 // Tests that the body of MATCHER() can reference the type of the
796 MATCHER(IsEmptyStrin function in namespace:__anon17
801 MATCHER(IsEmptyStringByRef, "") { function in namespace:__anon17
817 MATCHER(IsOdd, "") { return (arg % 2) != 0; } function in namespace:__anon17::matcher_test
827 MATCHER(IsPositiveOdd, "") { function in namespace:__anon17
958 MATCHER(EqualsSumOf, "") { return arg == 0; } function in namespace:__anon17
1262 MATCHER(M, "") { return true; } function in namespace:__anon17::adl_test
[all...]

Completed in 15 milliseconds