Lines Matching full: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(throw_on_failure);
81 namespace testing {
115 } // namespace testing
117 using testing::AssertionFailure;
118 using testing::AssertionResult;
119 using testing::AssertionSuccess;
120 using testing::DoubleLE;
121 using testing::EmptyTestEventListener;
122 using testing::FloatLE;
123 using testing::GTEST_FLAG(also_run_disabled_tests);
124 using testing::GTEST_FLAG(break_on_failure);
125 using testing::GTEST_FLAG(catch_exceptions);
126 using testing::GTEST_FLAG(color);
127 using testing::GTEST_FLAG(death_test_use_fork);
128 using testing::GTEST_FLAG(filter);
129 using testing::GTEST_FLAG(list_tests);
130 using testing::GTEST_FLAG(output);
131 using testing::GTEST_FLAG(print_time);
132 using testing::GTEST_FLAG(random_seed);
133 using testing::GTEST_FLAG(repeat);
134 using testing::GTEST_FLAG(show_internal_stack_frames);
135 using testing::GTEST_FLAG(shuffle);
136 using testing::GTEST_FLAG(stack_trace_depth);
137 using testing::GTEST_FLAG(throw_on_failure);
138 using testing::IsNotSubstring;
139 using testing::IsSubstring;
140 using testing::Message;
141 using testing::ScopedFakeTestPartResultReporter;
142 using testing::StaticAssertTypeEq;
143 using testing::Test;
144 using testing::TestEventListeners;
145 using testing::TestCase;
146 using testing::TestPartResult;
147 using testing::TestPartResultArray;
148 using testing::TestProperty;
149 using testing::TestResult;
150 using testing::UnitTest;
151 using testing::internal::AlwaysFalse;
152 using testing::internal::AlwaysTrue;
153 using testing::internal::AppendUserMessage;
154 using testing::internal::CodePointToUtf8;
155 using testing::internal::EqFailure;
156 using testing::internal::FloatingPoint;
157 using testing::internal::FormatTimeInMillisAsSeconds;
158 using testing::internal::GTestFlagSaver;
159 using testing::internal::GetCurrentOsStackTraceExceptTop;
160 using testing::internal::GetNextRandomSeed;
161 using testing::internal::GetRandomSeedFromFlag;
162 using testing::internal::GetTestTypeId;
163 using testing::internal::GetTypeId;
164 using testing::internal::GetUnitTestImpl;
165 using testing::internal::Int32;
166 using testing::internal::Int32FromEnvOrDie;
167 using testing::internal::ParseInt32Flag;
168 using testing::internal::ShouldRunTestOnShard;
169 using testing::internal::ShouldShard;
170 using testing::internal::ShouldUseColor;
171 using testing::internal::StreamableToString;
172 using testing::internal::String;
173 using testing::internal::TestEventListenersAccessor;
174 using testing::internal::TestResultAccessor;
175 using testing::internal::ThreadLocal;
176 using testing::internal::UInt32;
177 using testing::internal::Vector;
178 using testing::internal::WideStringToUtf8;
179 using testing::internal::kMaxRandomSeed;
180 using testing::internal::kTestTypeIdInGoogleTest;
181 using testing::internal::scoped_ptr;
289 // NULL testing does not work with Symbian compilers.
510 testing::internal::Random random(42);
515 random.Generate(testing::internal::Random::kMaxRange + 1),
522 testing::internal::Random random(12345);
527 testing::internal::Random random2(testing::internal::Random::kMaxRange);
539 testing::internal::Random random(kSeed);
870 testing::internal::Random random(1);
941 testing::internal::Random random_;
1054 EXPECT_LE(sizeof(testing::internal::AssertHelper), sizeof(void*));
1725 message << static_cast<const char*>(testing::internal::kStackTraceMarker);
1771 // The test fixture for testing TestResult.
2123 using testing::internal::Int32FromGTestEnv;
2264 class ShouldShardTest : public testing::Test {
2376 // For the same reason we are not explicitly testing everything in the
2615 // Some helper functions for testing using overloaded/template
2654 // Some helper functions for testing using overloaded/template
2809 // Tests for ::testing::IsSubstring().
2877 // Tests for ::testing::IsNotSubstring().
2963 typedef typename testing::internal::FloatingPoint<RawType> Floating;
3020 // Instantiates FloatingPointTest for testing *_FLOAT_EQ.
3187 // Instantiates FloatingPointTest for testing *_DOUBLE_EQ.
3412 typedef testing::Types<int, double> NumericTypes;
3668 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3670 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3687 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3689 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3691 EXPECT_PRED_FORMAT2(testing::IsSubstring, "other failure",
3706 EXPECT_PRED_FORMAT2(testing::IsSubstring, "foo",
3708 EXPECT_PRED_FORMAT2(testing::IsSubstring, "my message",
3828 // not testing on Symbian.
4035 CASE_B = testing::internal::kMaxBiggestInt,
4291 namespace testing {
4324 } // namespace testing
4592 // streamed to testing::Message.
4915 // The test fixture for testing the life cycle of Test objects.
5056 // Tests streaming NULL pointers to testing::Message.
5071 // Tests streaming wide strings to testing::Message.
5095 // This line tests that we can define tests in the testing namespace.
5096 namespace testing {
5202 // The InitGoogleTestTest test case tests testing::InitGoogleTest().
5333 // Fixture for testing InitGoogleTest().
6116 } // namespace testing
6119 // has the name "testing" and is nested in another namespace.
6121 namespace testing {
6123 // Makes sure that TEST knows to use ::testing::Test instead of
6124 // ::my_namespace::testing::Test.
6127 // Makes sure that an assertion knows to use ::testing::Message instead of
6128 // ::my_namespace::testing::Message.
6132 // ::testing::AssertionResult instead of
6133 // ::my_namespace::testing::AssertionResult.
6147 } // namespace testing
6441 testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();
6478 return testing::Test::HasNonfatalFailure();
6519 static bool HasFailureHelper() { return testing::Test::HasFailure(); }