Lines Matching defs:testing
41 bool dummy = testing::GTEST_FLAG(also_run_disabled_tests)
42 || testing::GTEST_FLAG(break_on_failure)
43 || testing::GTEST_FLAG(catch_exceptions)
44 || testing::GTEST_FLAG(color) != "unknown"
45 || testing::GTEST_FLAG(filter) != "unknown"
46 || testing::GTEST_FLAG(list_tests)
47 || testing::GTEST_FLAG(output) != "unknown"
48 || testing::GTEST_FLAG(print_time)
49 || testing::GTEST_FLAG(random_seed)
50 || testing::GTEST_FLAG(repeat) > 0
51 || testing::GTEST_FLAG(show_internal_stack_frames)
52 || testing::GTEST_FLAG(shuffle)
53 || testing::GTEST_FLAG(stack_trace_depth) > 0
54 || testing::GTEST_FLAG(stream_result_to) != "unknown"
55 || testing::GTEST_FLAG(throw_on_failure);
79 namespace testing {
105 TestInfo test_info_obj_; // The name test_info_ was taken by testing::Test.
196 } // namespace testing
198 using testing::AssertionFailure;
199 using testing::AssertionResult;
200 using testing::AssertionSuccess;
201 using testing::DoubleLE;
202 using testing::EmptyTestEventListener;
203 using testing::Environment;
204 using testing::FloatLE;
205 using testing::GTEST_FLAG(also_run_disabled_tests);
206 using testing::GTEST_FLAG(break_on_failure);
207 using testing::GTEST_FLAG(catch_exceptions);
208 using testing::GTEST_FLAG(color);
209 using testing::GTEST_FLAG(death_test_use_fork);
210 using testing::GTEST_FLAG(filter);
211 using testing::GTEST_FLAG(list_tests);
212 using testing::GTEST_FLAG(output);
213 using testing::GTEST_FLAG(print_time);
214 using testing::GTEST_FLAG(random_seed);
215 using testing::GTEST_FLAG(repeat);
216 using testing::GTEST_FLAG(show_internal_stack_frames);
217 using testing::GTEST_FLAG(shuffle);
218 using testing::GTEST_FLAG(stack_trace_depth);
219 using testing::GTEST_FLAG(stream_result_to);
220 using testing::GTEST_FLAG(throw_on_failure);
221 using testing::IsNotSubstring;
222 using testing::IsSubstring;
223 using testing::Message;
224 using testing::ScopedFakeTestPartResultReporter;
225 using testing::StaticAssertTypeEq;
226 using testing::Test;
227 using testing::TestCase;
228 using testing::TestEventListeners;
229 using testing::TestInfo;
230 using testing::TestPartResult;
231 using testing::TestPartResultArray;
232 using testing::TestProperty;
233 using testing::TestResult;
234 using testing::TimeInMillis;
235 using testing::UnitTest;
236 using testing::kMaxStackTraceDepth;
237 using testing::internal::AddReference;
238 using testing::internal::AlwaysFalse;
239 using testing::internal::AlwaysTrue;
240 using testing::internal::AppendUserMessage;
241 using testing::internal::ArrayAwareFind;
242 using testing::internal::ArrayEq;
243 using testing::internal::CodePointToUtf8;
244 using testing::internal::CompileAssertTypesEqual;
245 using testing::internal::CopyArray;
246 using testing::internal::CountIf;
247 using testing::internal::EqFailure;
248 using testing::internal::FloatingPoint;
249 using testing::internal::ForEach;
250 using testing::internal::FormatEpochTimeInMillisAsIso8601;
251 using testing::internal::FormatTimeInMillisAsSeconds;
252 using testing::internal::GTestFlagSaver;
253 using testing::internal::GetCurrentOsStackTraceExceptTop;
254 using testing::internal::GetElementOr;
255 using testing::internal::GetNextRandomSeed;
256 using testing::internal::GetRandomSeedFromFlag;
257 using testing::internal::GetTestTypeId;
258 using testing::internal::GetTimeInMillis;
259 using testing::internal::GetTypeId;
260 using testing::internal::GetUnitTestImpl;
261 using testing::internal::ImplicitlyConvertible;
262 using testing::internal::Int32;
263 using testing::internal::Int32FromEnvOrDie;
264 using testing::internal::IsAProtocolMessage;
265 using testing::internal::IsContainer;
266 using testing::internal::IsContainerTest;
267 using testing::internal::IsNotContainer;
268 using testing::internal::NativeArray;
269 using testing::internal::ParseInt32Flag;
270 using testing::internal::RemoveConst;
271 using testing::internal::RemoveReference;
272 using testing::internal::ShouldRunTestOnShard;
273 using testing::internal::ShouldShard;
274 using testing::internal::ShouldUseColor;
275 using testing::internal::Shuffle;
276 using testing::internal::ShuffleRange;
277 using testing::internal::SkipPrefix;
278 using testing::internal::StreamableToString;
279 using testing::internal::String;
280 using testing::internal::TestEventListenersAccessor;
281 using testing::internal::TestResultAccessor;
282 using testing::internal::UInt32;
283 using testing::internal::WideStringToUtf8;
284 using testing::internal::kCopy;
285 using testing::internal::kMaxRandomSeed;
286 using testing::internal::kReference;
287 using testing::internal::kTestTypeIdInGoogleTest;
288 using testing::internal::scoped_ptr;
291 using testing::internal::CaptureStdout;
292 using testing::internal::GetCapturedStdout;
296 using testing::internal::ThreadWithParam;
720 testing::internal::Random random(42);
725 random.Generate(testing::internal::Random::kMaxRange + 1),
732 testing::internal::Random random(12345);
737 testing::internal::Random random2(testing::internal::Random::kMaxRange);
749 testing::internal::Random random(kSeed);
821 testing::internal::Random random(1);
892 testing::internal::Random random_;
1004 EXPECT_LE(sizeof(testing::internal::AssertHelper), sizeof(void*));
1340 // The test fixture for testing TestResult.
1660 using testing::internal::Int32FromGTestEnv;
1801 class ShouldShardTest : public testing::Test {
1913 // For the same reason we are not explicitly testing everything in the
1969 public testing::internal::UnitTestRecordPropertyTestHelper {
2135 // explanation why it succeeds. Needed for testing that
2338 // Some helper functions for testing using overloaded/template
2373 // Some helper functions for testing using overloaded/template
2536 // Tests for ::testing::IsSubstring().
2600 // Tests for ::testing::IsNotSubstring().
2681 typedef typename testing::internal::FloatingPoint<RawType> Floating;
2738 // Instantiates FloatingPointTest for testing *_FLOAT_EQ.
2911 // Instantiates FloatingPointTest for testing *_DOUBLE_EQ.
3142 typedef testing::Types<int, double> NumericTypes;
3398 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3400 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3417 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3419 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3421 EXPECT_PRED_FORMAT2(testing::IsSubstring, "other failure",
3436 EXPECT_PRED_FORMAT2(testing::IsSubstring, "foo",
3438 EXPECT_PRED_FORMAT2(testing::IsSubstring, "my message",
3814 kCaseB = testing::internal::kMaxBiggestInt,
4092 namespace testing {
4125 } // namespace testing
4524 // streamed to testing::Message.
4926 // The test fixture for testing the life cycle of Test objects.
5130 // Tests streaming NULL pointers to testing::Message.
5145 // Tests streaming wide strings to testing::Message.
5169 // This line tests that we can define tests in the testing namespace.
5170 namespace testing {
5276 // The InitGoogleTestTest test case tests testing::InitGoogleTest().
5427 // Fixture for testing InitGoogleTest().
5486 const bool saved_help_flag = ::testing::internal::g_help_flag;
5487 ::testing::internal::g_help_flag = false;
5509 EXPECT_EQ(should_print_help, ::testing::internal::g_help_flag);
5522 ::testing::internal::g_help_flag = saved_help_flag;
6281 } // namespace testing
6284 // has the name "testing" and is nested in another namespace.
6286 namespace testing {
6288 // Makes sure that TEST knows to use ::testing::Test instead of
6289 // ::my_namespace::testing::Test.
6292 // Makes sure that an assertion knows to use ::testing::Message instead of
6293 // ::my_namespace::testing::Message.
6297 // ::testing::AssertionResult instead of
6298 // ::my_namespace::testing::AssertionResult.
6312 } // namespace testing
6602 testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();
6639 return testing::Test::HasNonfatalFailure();
6680 static bool HasFailureHelper() { return testing::Test::HasFailure(); }