Lines Matching refs:testing

32 // Utilities for testing Google Test itself and code that uses Google Test
40 namespace testing {
113 } // namespace testing
115 // A set of macros for testing Google Test assertions or code that's expected
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
153 } while (::testing::internal::AlwaysFalse())
161 ::testing::TestPartResultArray gtest_failures;\
162 ::testing::internal::SingleFailureChecker gtest_checker(\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
165 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
166 ::testing::ScopedFakeTestPartResultReporter:: \
170 } while (::testing::internal::AlwaysFalse())
172 // A macro for testing Google Test assertions or code that's expected to
200 // if (::testing::internal::AlwaysTrue()) { statement; }
206 ::testing::TestPartResultArray gtest_failures;\
207 ::testing::internal::SingleFailureChecker gtest_checker(\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
211 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
212 ::testing::ScopedFakeTestPartResultReporter:: \
214 if (::testing::internal::AlwaysTrue()) { statement; }\
216 } while (::testing::internal::AlwaysFalse())
220 ::testing::TestPartResultArray gtest_failures;\
221 ::testing::internal::SingleFailureChecker gtest_checker(\
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
225 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
226 ::testing::ScopedFakeTestPartResultReporter::INTERCEPT_ALL_THREADS,\
228 if (::testing::internal::AlwaysTrue()) { statement; }\
230 } while (::testing::internal::AlwaysFalse())