• Home
  • Raw
  • Download

Lines Matching +full:regex +full:- +full:not

2 // Use of this source code is governed by a BSD-style license that can be
16 #include "testing/gmock/include/gmock/gmock-matchers.h"
27 std::string(negation ? "not " : "") + net::ErrorToString(expected)) {
36 std::string(negation ? "not " : "") + net::ErrorToString(net::OK)) {
43 // gMock's built-in HasSubstrMatcher does not work,
72 // macros. Do not use this directly.
96 // execute the given statement in the current process, not a forked
101 // DFATAL log message, whereas the other variants assume a regex.
109 #define EXPECT_DFATAL(statement, regex) \ argument
110 EXPECT_DFATAL_WITH(statement, ::testing::ContainsRegex(regex))
112 #define ASSERT_DFATAL(statement, regex) \ argument
113 ASSERT_DFATAL_WITH(statement, ::testing::ContainsRegex(regex))
117 // or similar macros that produce no-op in opt build and DFATAL in dbg build.
121 #define EXPECT_DEBUG_DFATAL(statement, regex) \ argument
122 EXPECT_DFATAL(statement, regex)
123 #define ASSERT_DEBUG_DFATAL(statement, regex) \ argument
124 ASSERT_DFATAL(statement, regex)
128 #define EXPECT_DEBUG_DFATAL(statement, regex) \ argument
130 (void)(regex); \
133 #define ASSERT_DEBUG_DFATAL(statement, regex) \ argument
135 (void)(regex); \
142 // ASSERT_DFATAL. Use them in conjunction with DCHECK that produces no-op in opt
147 #define EXPECT_DCHECK(statement, regex) \ argument
148 GTEST_DFATAL_(statement, DCHECK, ::testing::ContainsRegex(regex), \
150 #define ASSERT_DCHECK(statement, regex) \ argument
151 GTEST_DFATAL_(statement, DCHECK, ::testing::ContainsRegex(regex), \
156 #define EXPECT_DCHECK(statement, regex) \ argument
158 (void)(regex); \
161 #define ASSERT_DCHECK(statement, regex) \ argument
163 (void)(regex); \