Home
last modified time | relevance | path

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

/external/googletest/googlemock/include/gmock/
Dgmock-more-matchers.h61 MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {
73 MATCHER(IsTrue, negation ? "is false" : "is true") {
81 MATCHER(IsFalse, negation ? "is true" : "is false") {
Dgmock-generated-matchers.h.pump52 // The MATCHER* family of macros can be used in a namespace scope to
60 // MATCHER(name, description_string) { statements; }
69 // MATCHER() is usually defined in a header file shared by multiple
77 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
147 // The last argument to MATCHER*() is a string-typed expression. The
248 // approaches require more work than the MATCHER* macros, but also
255 // MATCHER*() can only be used in a namespace scope. The reason is
258 // Once that's done, we'll consider supporting using MATCHER*() inside
264 // To learn more about using these macros, please search for 'MATCHER'
272 $var macro_name = [[$if i==0 [[MATCHER]] $elif i==1 [[MATCHER_P]]
Dgmock-generated-matchers.h266 #define MATCHER(name, description)\ macro
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexpectations_parser.py79 MATCHER = re.compile(_MATCH_STRING) variable in TestExpectationParser
102 match = self.MATCHER.match(line)
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Testing/Support/
DError.h144 MATCHER(Succeeded, "") { return arg.Success(); }
145 MATCHER(Failed, "") { return !arg.Success(); }
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-more-matchers.h48 MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {
Dgmock-generated-matchers.h1381 #define MATCHER(name, description)\ macro
/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]]
Dgmock-generated-matchers.h1412 #define MATCHER(name, description)\ macro
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc585 MATCHER(IsEven, "") { return (arg % 2) == 0; }
599 MATCHER(IsEven2, negation ? "is odd" : "is even") {
655 MATCHER(IsEmptyString, "") {
660 MATCHER(IsEmptyStringByRef, "") {
676 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
686 MATCHER(IsPositiveOdd, "") {
817 MATCHER(EqualsSumOf, "") { return arg == 0; }
1262 MATCHER(M, "") { return true; }
1295 MATCHER(IsNotNull, "") {
Dgmock-matchers_test.cc6514 MATCHER(PointeeEquals, "Points to an equal value") {
6870 MATCHER(SumIsZero, "") {
/external/nos/test/system-test-harness/src/
Dtransport_tests.cc198 MATCHER(IsIdle, "") {
204 MATCHER(IsWorking, "") {
210 MATCHER(IsTooMuch, "") {
216 MATCHER(IsBadCrc, "") {
222 MATCHER(IsSuccess, "") {
/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/v8/testing/
Dgmock-support.h85 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " not a number") {
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/X86/
DSnippetGeneratorTest.cpp30 MATCHER(IsInvalid, "") { return !arg.isValid(); }
31 MATCHER(IsReg, "") { return arg.isReg(); }
/external/autotest/site_utils/rpm_control_system/
Drpm_controller_unittest.py157 MATCHER = 'Port\\s+.*%s(\\s+(\\S+)){6,6}.*%s' variable in TestCiscoPOEController
261 matcher = self.MATCHER % (self.PORT, self.DEVICE)
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/
DBenchmarkResultTest.cpp38 MATCHER(EqMCInst, "") {
/external/googletest/googlemock/docs/
DDesignDoc.md268 MATCHER(name) { statements; }
275 MATCHER(IsPositive) { return arg > 0; }
DCheatSheet.md274 MATCHER(FooEq, "") {
356 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
362 1. The `MATCHER*` macros cannot be used inside a function or class.
DCookBook.md2831 The `MATCHER*` family of macros can be used to define custom matchers
2835 MATCHER(name, description_string_expression) { statements; }
2856 MATCHER(IsDivisibleBy7, "") { return (arg % 7) == 0; }
2888 MATCHER(IsDivisibleBy7, std::string(negation ? "isn't" : "is") +
2898 MATCHER(IsDivisibleBy7, "") {
3040 While it's tempting to always use the `MATCHER*` macros when defining
DFrequentlyAskedQuestions.md22 `MATCHER*` family of macros are not affected.
/external/googletest/googlemock/
DREADME.md287 Matchers defined using `MATCHER()` or `MATCHER_P*()` aren't affected.
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc45 MATCHER(QuantizedNear, "") {