Lines Matching defs:testing
32 // The Google C++ Testing Framework (Google Test)
44 namespace testing {
139 // Factory interface for death tests. May be mocked out for testing.
169 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
172 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
174 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
187 if (::testing::internal::AlwaysTrue()) { \
188 const ::testing::internal::RE& gtest_regex = (regex); \
189 ::testing::internal::DeathTest* gtest_dt; \
190 if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \
195 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
198 case ::testing::internal::DeathTest::OVERSEE_TEST: \
203 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
204 ::testing::internal::DeathTest::ReturnSentinel \
207 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
216 fail(::testing::internal::DeathTest::LastMessage())
226 if (::testing::internal::AlwaysTrue()) { \
229 ::testing::Message()
303 if (::testing::internal::AlwaysTrue()) { \
307 } else if (::testing::internal::AlwaysFalse()) { \
308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
312 ::testing::Message()
317 } // namespace testing