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 {
106 TestInfo test_info_obj_; // The name test_info_ was taken by testing::Test.
197 } // namespace testing
199 using testing::AssertionFailure;
200 using testing::AssertionResult;
201 using testing::AssertionSuccess;
202 using testing::DoubleLE;
203 using testing::EmptyTestEventListener;
204 using testing::Environment;
205 using testing::FloatLE;
206 using testing::GTEST_FLAG(also_run_disabled_tests);
207 using testing::GTEST_FLAG(break_on_failure);
208 using testing::GTEST_FLAG(catch_exceptions);
209 using testing::GTEST_FLAG(color);
210 using testing::GTEST_FLAG(death_test_use_fork);
211 using testing::GTEST_FLAG(filter);
212 using testing::GTEST_FLAG(list_tests);
213 using testing::GTEST_FLAG(output);
214 using testing::GTEST_FLAG(print_time);
215 using testing::GTEST_FLAG(random_seed);
216 using testing::GTEST_FLAG(repeat);
217 using testing::GTEST_FLAG(show_internal_stack_frames);
218 using testing::GTEST_FLAG(shuffle);
219 using testing::GTEST_FLAG(stack_trace_depth);
220 using testing::GTEST_FLAG(stream_result_to);
221 using testing::GTEST_FLAG(throw_on_failure);
222 using testing::IsNotSubstring;
223 using testing::IsSubstring;
224 using testing::Message;
225 using testing::ScopedFakeTestPartResultReporter;
226 using testing::StaticAssertTypeEq;
227 using testing::Test;
228 using testing::TestCase;
229 using testing::TestEventListeners;
230 using testing::TestInfo;
231 using testing::TestPartResult;
232 using testing::TestPartResultArray;
233 using testing::TestProperty;
234 using testing::TestResult;
235 using testing::TimeInMillis;
236 using testing::UnitTest;
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::RelationToSourceCopy;
271 using testing::internal::RelationToSourceReference;
272 using testing::internal::RemoveConst;
273 using testing::internal::RemoveReference;
274 using testing::internal::ShouldRunTestOnShard;
275 using testing::internal::ShouldShard;
276 using testing::internal::ShouldUseColor;
277 using testing::internal::Shuffle;
278 using testing::internal::ShuffleRange;
279 using testing::internal::SkipPrefix;
280 using testing::internal::StreamableToString;
281 using testing::internal::String;
282 using testing::internal::TestEventListenersAccessor;
283 using testing::internal::TestResultAccessor;
284 using testing::internal::UInt32;
285 using testing::internal::WideStringToUtf8;
286 using testing::internal::edit_distance::CalculateOptimalEdits;
287 using testing::internal::edit_distance::CreateUnifiedDiff;
288 using testing::internal::edit_distance::EditType;
289 using testing::internal::kMaxRandomSeed;
290 using testing::internal::kTestTypeIdInGoogleTest;
291 using testing::kMaxStackTraceDepth;
294 using testing::internal::CaptureStdout;
295 using testing::internal::GetCapturedStdout;
299 using testing::internal::ThreadWithParam;
713 testing::internal::Random random(42);
718 random.Generate(testing::internal::Random::kMaxRange + 1),
725 testing::internal::Random random(12345);
730 testing::internal::Random random2(testing::internal::Random::kMaxRange);
742 testing::internal::Random random(kSeed);
814 testing::internal::Random random(1);
885 testing::internal::Random random_;
997 EXPECT_LE(sizeof(testing::internal::AssertHelper), sizeof(void*));
1333 // The test fixture for testing TestResult.
1525 // Fortunately, we don't have to do that, as we are already testing
1663 using testing::internal::Int32FromGTestEnv;
1808 class ShouldShardTest : public testing::Test {
1920 // For the same reason we are not explicitly testing everything in the
1976 public testing::internal::UnitTestRecordPropertyTestHelper {
2142 // explanation why it succeeds. Needed for testing that
2345 // Some helper functions for testing using overloaded/template
2380 // Some helper functions for testing using overloaded/template
2543 // Tests for ::testing::IsSubstring().
2607 // Tests for ::testing::IsNotSubstring().
2688 typedef typename testing::internal::FloatingPoint<RawType> Floating;
2745 // Instantiates FloatingPointTest for testing *_FLOAT_EQ.
2918 // Instantiates FloatingPointTest for testing *_DOUBLE_EQ.
3149 typedef testing::Types<int, double> NumericTypes;
3405 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3407 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3424 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3426 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3428 EXPECT_PRED_FORMAT2(testing::IsSubstring, "other failure",
3443 EXPECT_PRED_FORMAT2(testing::IsSubstring, "foo",
3445 EXPECT_PRED_FORMAT2(testing::IsSubstring, "my message",
3913 kCaseB = testing::internal::kMaxBiggestInt,
4191 namespace testing {
4224 } // namespace testing
4623 // streamed to testing::Message.
5025 // The test fixture for testing the life cycle of Test objects.
5254 // Tests streaming NULL pointers to testing::Message.
5269 // Tests streaming wide strings to testing::Message.
5293 // This line tests that we can define tests in the testing namespace.
5294 namespace testing {
5453 // The InitGoogleTestTest test case tests testing::InitGoogleTest().
5604 // Fixture for testing InitGoogleTest().
5663 const bool saved_help_flag = ::testing::internal::g_help_flag;
5664 ::testing::internal::g_help_flag = false;
5686 EXPECT_EQ(should_print_help, ::testing::internal::g_help_flag);
5699 ::testing::internal::g_help_flag = saved_help_flag;
6416 testing::internal::posix::RmDir(testdata_path_.c_str());
6421 testing::internal::posix::RmDir(testdata_path_.c_str());
6428 FILE* f = testing::internal::posix::FOpen(file_path.c_str(), "w");
6559 } // namespace testing
6562 // has the name "testing" and is nested in another namespace.
6564 namespace testing {
6566 // Makes sure that TEST knows to use ::testing::Test instead of
6567 // ::my_namespace::testing::Test.
6570 // Makes sure that an assertion knows to use ::testing::Message instead of
6571 // ::my_namespace::testing::Message.
6575 // ::testing::AssertionResult instead of
6576 // ::my_namespace::testing::AssertionResult.
6590 } // namespace testing
6892 testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();
6929 return testing::Test::HasNonfatalFailure();
6970 static bool HasFailureHelper() { return testing::Test::HasFailure(); }