Lines Matching full:testing
43 bool dummy = testing::GTEST_FLAG(also_run_disabled_tests)
44 || testing::GTEST_FLAG(break_on_failure)
45 || testing::GTEST_FLAG(catch_exceptions)
46 || testing::GTEST_FLAG(color) != "unknown"
47 || testing::GTEST_FLAG(filter) != "unknown"
48 || testing::GTEST_FLAG(list_tests)
49 || testing::GTEST_FLAG(output) != "unknown"
50 || testing::GTEST_FLAG(print_time)
51 || testing::GTEST_FLAG(random_seed)
52 || testing::GTEST_FLAG(repeat) > 0
53 || testing::GTEST_FLAG(show_internal_stack_frames)
54 || testing::GTEST_FLAG(shuffle)
55 || testing::GTEST_FLAG(stack_trace_depth) > 0
56 || testing::GTEST_FLAG(stream_result_to) != "unknown"
57 || testing::GTEST_FLAG(throw_on_failure);
78 namespace testing {
108 } // namespace testing
110 using testing::AssertionFailure;
111 using testing::AssertionResult;
112 using testing::AssertionSuccess;
113 using testing::DoubleLE;
114 using testing::EmptyTestEventListener;
115 using testing::FloatLE;
116 using testing::GTEST_FLAG(also_run_disabled_tests);
117 using testing::GTEST_FLAG(break_on_failure);
118 using testing::GTEST_FLAG(catch_exceptions);
119 using testing::GTEST_FLAG(color);
120 using testing::GTEST_FLAG(death_test_use_fork);
121 using testing::GTEST_FLAG(filter);
122 using testing::GTEST_FLAG(list_tests);
123 using testing::GTEST_FLAG(output);
124 using testing::GTEST_FLAG(print_time);
125 using testing::GTEST_FLAG(random_seed);
126 using testing::GTEST_FLAG(repeat);
127 using testing::GTEST_FLAG(show_internal_stack_frames);
128 using testing::GTEST_FLAG(shuffle);
129 using testing::GTEST_FLAG(stack_trace_depth);
130 using testing::GTEST_FLAG(stream_result_to);
131 using testing::GTEST_FLAG(throw_on_failure);
132 using testing::IsNotSubstring;
133 using testing::IsSubstring;
134 using testing::Message;
135 using testing::ScopedFakeTestPartResultReporter;
136 using testing::StaticAssertTypeEq;
137 using testing::Test;
138 using testing::TestCase;
139 using testing::TestEventListeners;
140 using testing::TestPartResult;
141 using testing::TestPartResultArray;
142 using testing::TestProperty;
143 using testing::TestResult;
144 using testing::UnitTest;
145 using testing::kMaxStackTraceDepth;
146 using testing::internal::AddReference;
147 using testing::internal::AlwaysFalse;
148 using testing::internal::AlwaysTrue;
149 using testing::internal::AppendUserMessage;
150 using testing::internal::ArrayAwareFind;
151 using testing::internal::ArrayEq;
152 using testing::internal::CodePointToUtf8;
153 using testing::internal::CompileAssertTypesEqual;
154 using testing::internal::CopyArray;
155 using testing::internal::CountIf;
156 using testing::internal::EqFailure;
157 using testing::internal::FloatingPoint;
158 using testing::internal::ForEach;
159 using testing::internal::FormatTimeInMillisAsSeconds;
160 using testing::internal::GTestFlagSaver;
161 using testing::internal::GetCurrentOsStackTraceExceptTop;
162 using testing::internal::GetElementOr;
163 using testing::internal::GetNextRandomSeed;
164 using testing::internal::GetRandomSeedFromFlag;
165 using testing::internal::GetTestTypeId;
166 using testing::internal::GetTypeId;
167 using testing::internal::GetUnitTestImpl;
168 using testing::internal::ImplicitlyConvertible;
169 using testing::internal::Int32;
170 using testing::internal::Int32FromEnvOrDie;
171 using testing::internal::IsAProtocolMessage;
172 using testing::internal::IsContainer;
173 using testing::internal::IsContainerTest;
174 using testing::internal::IsNotContainer;
175 using testing::internal::NativeArray;
176 using testing::internal::ParseInt32Flag;
177 using testing::internal::RemoveConst;
178 using testing::internal::RemoveReference;
179 using testing::internal::ShouldRunTestOnShard;
180 using testing::internal::ShouldShard;
181 using testing::internal::ShouldUseColor;
182 using testing::internal::Shuffle;
183 using testing::internal::ShuffleRange;
184 using testing::internal::SkipPrefix;
185 using testing::internal::StreamableToString;
186 using testing::internal::String;
187 using testing::internal::TestEventListenersAccessor;
188 using testing::internal::TestResultAccessor;
189 using testing::internal::UInt32;
190 using testing::internal::WideStringToUtf8;
191 using testing::internal::kCopy;
192 using testing::internal::kMaxRandomSeed;
193 using testing::internal::kReference;
194 using testing::internal::kTestTypeIdInGoogleTest;
195 using testing::internal::scoped_ptr;
198 using testing::internal::CaptureStdout;
199 using testing::internal::GetCapturedStdout;
203 using testing::internal::ThreadWithParam;
546 testing::internal::Random random(42);
551 random.Generate(testing::internal::Random::kMaxRange + 1),
558 testing::internal::Random random(12345);
563 testing::internal::Random random2(testing::internal::Random::kMaxRange);
575 testing::internal::Random random(kSeed);
647 testing::internal::Random random(1);
718 testing::internal::Random random_;
830 EXPECT_LE(sizeof(testing::internal::AssertHelper), sizeof(void*));
1511 // The test fixture for testing TestResult.
1865 using testing::internal::Int32FromGTestEnv;
2006 class ShouldShardTest : public testing::Test {
2118 // For the same reason we are not explicitly testing everything in the
2173 // explanation why it succeeds. Needed for testing that
2376 // Some helper functions for testing using overloaded/template
2411 // Some helper functions for testing using overloaded/template
2566 // Tests for ::testing::IsSubstring().
2630 // Tests for ::testing::IsNotSubstring().
2712 typedef typename testing::internal::FloatingPoint<RawType> Floating;
2769 // Instantiates FloatingPointTest for testing *_FLOAT_EQ.
2942 // Instantiates FloatingPointTest for testing *_DOUBLE_EQ.
3173 typedef testing::Types<int, double> NumericTypes;
3429 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3431 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3448 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
3450 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
3452 EXPECT_PRED_FORMAT2(testing::IsSubstring, "other failure",
3467 EXPECT_PRED_FORMAT2(testing::IsSubstring, "foo",
3469 EXPECT_PRED_FORMAT2(testing::IsSubstring, "my message",
3845 kCaseB = testing::internal::kMaxBiggestInt,
4123 namespace testing {
4156 } // namespace testing
4449 // streamed to testing::Message.
4852 // 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().
5353 // Fixture for testing InitGoogleTest().
5412 const bool saved_help_flag = ::testing::internal::g_help_flag;
5413 ::testing::internal::g_help_flag = false;
5435 EXPECT_EQ(should_print_help, ::testing::internal::g_help_flag);
5448 ::testing::internal::g_help_flag = saved_help_flag;
6207 } // namespace testing
6210 // has the name "testing" and is nested in another namespace.
6212 namespace testing {
6214 // Makes sure that TEST knows to use ::testing::Test instead of
6215 // ::my_namespace::testing::Test.
6218 // Makes sure that an assertion knows to use ::testing::Message instead of
6219 // ::my_namespace::testing::Message.
6223 // ::testing::AssertionResult instead of
6224 // ::my_namespace::testing::AssertionResult.
6238 } // namespace testing
6525 testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();
6562 return testing::Test::HasNonfatalFailure();
6603 static bool HasFailureHelper() { return testing::Test::HasFailure(); }