Home | History | Annotate | Download | only in internal

Lines Matching refs:statement

79   static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
206 GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \
265 // statement - A statement that a macro such as EXPECT_DEATH would test
267 // statement is compiled but not executed, to ensure that
271 // the output of statement. This parameter has to be
275 // terminator - Must be an empty statement for EXPECT_DEATH_IF_SUPPORTED
276 // and a return statement for ASSERT_DEATH_IF_SUPPORTED.
282 // statement and regex are compiled (and thus syntactically correct) but
284 // statement from generating an 'unreachable code' warning in case
285 // statement unconditionally returns or throws. The Message constructor at
288 # define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) \
293 << "Statement '" #statement "' cannot be verified."; \
296 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \