Home
last modified time | relevance | path

Searched refs:MATCHER (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/testing/gmock/include/gmock/
Dgmock-more-matchers.h48 MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {
Dgmock-generated-matchers.h.pump377 // The MATCHER* family of macros can be used in a namespace scope to
385 // MATCHER(name, description_string) { statements; }
394 // MATCHER() is usually defined in a header file shared by multiple
402 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
472 // The last argument to MATCHER*() is a string-typed expression. The
573 // approaches require more work than the MATCHER* macros, but also
580 // MATCHER*() can only be used in a namespace scope. The reason is
583 // Once that's done, we'll consider supporting using MATCHER*() inside
589 // To learn more about using these macros, please search for 'MATCHER'
596 $var macro_name = [[$if i==0 [[MATCHER]] $elif i==1 [[MATCHER_P]]
/external/googletest/googlemock/include/gmock/
Dgmock-more-matchers.h48 MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {
Dgmock-generated-matchers.h.pump377 // The MATCHER* family of macros can be used in a namespace scope to
385 // MATCHER(name, description_string) { statements; }
394 // MATCHER() is usually defined in a header file shared by multiple
402 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
472 // The last argument to MATCHER*() is a string-typed expression. The
573 // approaches require more work than the MATCHER* macros, but also
580 // MATCHER*() can only be used in a namespace scope. The reason is
583 // Once that's done, we'll consider supporting using MATCHER*() inside
589 // To learn more about using these macros, please search for 'MATCHER'
596 $var macro_name = [[$if i==0 [[MATCHER]] $elif i==1 [[MATCHER_P]]
/external/google-breakpad/src/testing/test/
Dgmock-generated-matchers_test.cc151 MATCHER(SumIsZero, "") {
594 MATCHER(IsEven, "") { return (arg % 2) == 0; }
608 MATCHER(IsEven2, negation ? "is odd" : "is even") {
664 MATCHER(IsEmptyString, "") {
669 MATCHER(IsEmptyStringByRef, "") {
685 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
695 MATCHER(IsPositiveOdd, "") {
826 MATCHER(EqualsSumOf, "") { return arg == 0; }
1117 MATCHER(M, "") { return true; }
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc152 MATCHER(SumIsZero, "") {
725 MATCHER(IsEven, "") { return (arg % 2) == 0; }
739 MATCHER(IsEven2, negation ? "is odd" : "is even") {
795 MATCHER(IsEmptyString, "") {
800 MATCHER(IsEmptyStringByRef, "") {
816 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
826 MATCHER(IsPositiveOdd, "") {
957 MATCHER(EqualsSumOf, "") { return arg == 0; }
1262 MATCHER(M, "") { return true; }
/external/v8/testing/gmock/test/
Dgmock-generated-matchers_test.cc153 MATCHER(SumIsZero, "") {
726 MATCHER(IsEven, "") { return (arg % 2) == 0; }
740 MATCHER(IsEven2, negation ? "is odd" : "is even") {
796 MATCHER(IsEmptyString, "") {
801 MATCHER(IsEmptyStringByRef, "") {
817 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
827 MATCHER(IsPositiveOdd, "") {
958 MATCHER(EqualsSumOf, "") { return arg == 0; }
1262 MATCHER(M, "") { return true; }
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-matchers.h.pump410 // The MATCHER* family of macros can be used in a namespace scope to
418 // MATCHER(name, description_string) { statements; }
427 // MATCHER() is usually defined in a header file shared by multiple
435 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
505 // The last argument to MATCHER*() is a string-typed expression. The
606 // approaches require more work than the MATCHER* macros, but also
613 // MATCHER*() can only be used in a namespace scope. The reason is
616 // Once that's done, we'll consider supporting using MATCHER*() inside
622 // To learn more about using these macros, please search for 'MATCHER'
629 $var macro_name = [[$if i==0 [[MATCHER]] $elif i==1 [[MATCHER_P]]
/external/v8/testing/
Dgmock-support.h85 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " not a number") {
/external/google-breakpad/src/testing/
DCHANGES22 * The description string for MATCHER*() changes from Python-style
51 using MATCHER or MATCHER_P* aren't affected.
DREADME304 use the new matcher API [2]. Matchers defined using MATCHER() or
/external/googletest/googlemock/
DCHANGES56 * The description string for MATCHER*() changes from Python-style
85 using MATCHER or MATCHER_P* aren't affected.
DREADME.md305 Matchers defined using `MATCHER()` or `MATCHER_P*()` aren't affected.
/external/v8/testing/gmock/
DCHANGES56 * The description string for MATCHER*() changes from Python-style
85 using MATCHER or MATCHER_P* aren't affected.
DREADME312 use the new matcher API [2]. Matchers defined using MATCHER() or
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc44 MATCHER(IsDetailedDump, "") {
48 MATCHER(IsLightDump, "") {
52 MATCHER(IsBackgroundDump, "") {
/external/googletest/googlemock/docs/
DDesignDoc.md266 MATCHER(name) { statements; }
273 MATCHER(IsPositive) { return arg > 0; }
DCheatSheet.md265 MATCHER(FooEq, "") {
337 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
344 1. The `MATCHER*` macros cannot be used inside a function or class.
DCookBook.md2848 The `MATCHER*` family of macros can be used to define custom matchers
2852 MATCHER(name, description_string_expression) { statements; }
2873 MATCHER(IsDivisibleBy7, "") { return (arg % 7) == 0; }
2905 MATCHER(IsDivisibleBy7, std::string(negation ? "isn't" : "is") +
2915 MATCHER(IsDivisibleBy7, "") {
3057 While it's tempting to always use the `MATCHER*` macros when defining
/external/googletest/googlemock/docs/v1_7/
DCheatSheet.md260 MATCHER(FooEq, "") {
331 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
338 1. The `MATCHER*` macros cannot be used inside a function or class.
DCookBook.md2605 The `MATCHER*` family of macros can be used to define custom matchers
2609 MATCHER(name, description_string_expression) { statements; }
2630 MATCHER(IsDivisibleBy7, "") { return (arg % 7) == 0; }
2662 MATCHER(IsDivisibleBy7, std::string(negation ? "isn't" : "is") +
2672 MATCHER(IsDivisibleBy7, "") {
2814 While it's tempting to always use the `MATCHER*` macros when defining
/external/googletest/googlemock/docs/v1_5/
DCheatSheet.md304 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
311 1. The `MATCHER*` macros cannot be used inside a function or class.
DCookBook.md2384 The `MATCHER*` family of macros can be used to define custom matchers
2388 MATCHER(name, "description string") { statements; }
2398 `MATCHER()` is usually defined in a header file shared by multiple C++
2406 MATCHER(IsDivisibleBy7, "") { return (arg % 7) == 0; }
2431 MATCHER(IsDivisibleBy7, "") {
2573 While it's tempting to always use the `MATCHER*` macros when defining
/external/googletest/googlemock/docs/v1_6/
DCheatSheet.md309 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
316 1. The `MATCHER*` macros cannot be used inside a function or class.
DCookBook.md2515 The `MATCHER*` family of macros can be used to define custom matchers
2519 MATCHER(name, description_string_expression) { statements; }
2540 MATCHER(IsDivisibleBy7, "") { return (arg % 7) == 0; }
2572 MATCHER(IsDivisibleBy7, std::string(negation ? "isn't" : "is") +
2582 MATCHER(IsDivisibleBy7, "") {
2724 While it's tempting to always use the `MATCHER*` macros when defining

12