Home | History | Annotate | Download | only in test

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(repeat) > 0
50 || testing::GTEST_FLAG(show_internal_stack_frames)
51 || testing::GTEST_FLAG(stack_trace_depth) > 0
52 || testing::GTEST_FLAG(throw_on_failure);
82 namespace testing {
87 } // namespace testing
89 using testing::internal::FormatTimeInMillisAsSeconds;
90 using testing::internal::ParseInt32Flag;
92 namespace testing {
100 } // namespace testing
102 using testing::AssertionFailure;
103 using testing::AssertionResult;
104 using testing::AssertionSuccess;
105 using testing::DoubleLE;
106 using testing::FloatLE;
107 using testing::GTEST_FLAG(also_run_disabled_tests);
108 using testing::GTEST_FLAG(break_on_failure);
109 using testing::GTEST_FLAG(catch_exceptions);
110 using testing::GTEST_FLAG(death_test_use_fork);
111 using testing::GTEST_FLAG(color);
112 using testing::GTEST_FLAG(filter);
113 using testing::GTEST_FLAG(list_tests);
114 using testing::GTEST_FLAG(output);
115 using testing::GTEST_FLAG(print_time);
116 using testing::GTEST_FLAG(repeat);
117 using testing::GTEST_FLAG(show_internal_stack_frames);
118 using testing::GTEST_FLAG(stack_trace_depth);
119 using testing::GTEST_FLAG(throw_on_failure);
120 using testing::IsNotSubstring;
121 using testing::IsSubstring;
122 using testing::Message;
123 using testing::ScopedFakeTestPartResultReporter;
124 using testing::StaticAssertTypeEq;
125 using testing::Test;
126 using testing::TestPartResult;
127 using testing::TestPartResultArray;
128 using testing::TPRT_FATAL_FAILURE;
129 using testing::TPRT_NONFATAL_FAILURE;
130 using testing::TPRT_SUCCESS;
131 using testing::UnitTest;
132 using testing::internal::kTestTypeIdInGoogleTest;
133 using testing::internal::AppendUserMessage;
134 using testing::internal::CodePointToUtf8;
135 using testing::internal::EqFailure;
136 using testing::internal::FloatingPoint;
137 using testing::internal::GetCurrentOsStackTraceExceptTop;
138 using testing::internal::GetFailedPartCount;
139 using testing::internal::GetTestTypeId;
140 using testing::internal::GetTypeId;
141 using testing::internal::GTestFlagSaver;
142 using testing::internal::Int32;
143 using testing::internal::Int32FromEnvOrDie;
144 using testing::internal::List;
145 using testing::internal::ShouldRunTestOnShard;
146 using testing::internal::ShouldShard;
147 using testing::internal::ShouldUseColor;
148 using testing::internal::StreamableToString;
149 using testing::internal::String;
150 using testing::internal::TestProperty;
151 using testing::internal::TestResult;
152 using testing::internal::ThreadLocal;
153 using testing::internal::UnitTestImpl;
154 using testing::internal::WideStringToUtf8;
210 // NULL testing does not work with Symbian compilers.
997 // The test fixture for testing TestResult.
1074 // Tests testing::internal::GetFailedPartCount().
1294 using testing::internal::Int32FromGTestEnv;
1434 class ShouldShardTest : public testing::Test {
1548 // For the same reason we are not explicitly testing everything in the
1787 // Some helper functions for testing using overloaded/template
1825 // Some helper functions for testing using overloaded/template
1982 // Tests for ::testing::IsSubstring().
2053 // Tests for ::testing::IsNotSubstring().
2123 typedef typename testing::internal::FloatingPoint<RawType> Floating;
2213 // Instantiates FloatingPointTest for testing *_FLOAT_EQ.
2370 // Instantiates FloatingPointTest for testing *_DOUBLE_EQ.
2583 typedef testing::Types<int, double> NumericTypes;
2831 EXPECT_EQ(testing::TPRT_FATAL_FAILURE,
2833 EXPECT_EQ(testing::TPRT_FATAL_FAILURE,
2835 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
2837 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
2848 EXPECT_EQ(testing::TPRT_FATAL_FAILURE,
2850 EXPECT_EQ(testing::TPRT_NONFATAL_FAILURE,
2852 EXPECT_EQ(testing::TPRT_NONFATAL_FAILURE,
2854 EXPECT_PRED_FORMAT2(testing::IsSubstring, "some fatal failure",
2856 EXPECT_PRED_FORMAT2(testing::IsSubstring, "it does",
2858 EXPECT_PRED_FORMAT2(testing::IsSubstring, "other failure",
2869 EXPECT_EQ(testing::TPRT_NONFATAL_FAILURE,
2871 EXPECT_EQ(testing::TPRT_NONFATAL_FAILURE,
2873 EXPECT_PRED_FORMAT2(testing::IsSubstring, "foo",
2875 EXPECT_PRED_FORMAT2(testing::IsSubstring, "my message",
2985 // not testing on Symbian.
3186 CASE_B = testing::internal::kMaxBiggestInt,
3437 namespace testing {
3470 } // namespace testing
3729 // streamed to testing::Message.
4054 // The test fixture for testing the life cycle of Test objects.
4195 // Tests streaming NULL pointers to testing::Message.
4211 // Tests streaming wide strings to testing::Message.
4235 // This line tests that we can define tests in the testing namespace.
4236 namespace testing {
4336 // The InitGoogleTestTest test case tests testing::InitGoogleTest().
4447 // Fixture for testing InitGoogleTest().
5162 } // namespace testing
5165 // has the name "testing" and is nested in another namespace.
5167 namespace testing {
5169 // Makes sure that TEST knows to use ::testing::Test instead of
5170 // ::my_namespace::testing::Test.
5173 // Makes sure that an assertion knows to use ::testing::Message instead of
5174 // ::my_namespace::testing::Message.
5178 // ::testing::AssertionResult instead of
5179 // ::my_namespace::testing::AssertionResult.
5193 } // namespace testing
5474 testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();