/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-test-part_test.cc | 39 using testing::TestPartResult; 50 : r1_(TestPartResult::kSuccess, "foo/bar.cc", 10, "Success!"), in TestPartResultTest() 51 r2_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure!"), in TestPartResultTest() 52 r3_(TestPartResult::kFatalFailure, NULL, -1, "Failure!") {} in TestPartResultTest() 54 TestPartResult r1_, r2_, r3_; 64 const TestPartResult result(TestPartResult::kNonFatalFailure, in TEST_F() 69 EXPECT_EQ(TestPartResult::kNonFatalFailure, result.type()); in TEST_F() 77 const TestPartResult success(TestPartResult::kSuccess, in TEST_F() 86 const TestPartResult nonfatal_failure(TestPartResult::kNonFatalFailure, in TEST_F() 95 const TestPartResult fatal_failure(TestPartResult::kFatalFailure, in TEST_F() [all …]
|
D | gtest-listener_test.cc | 46 using ::testing::TestPartResult; 88 virtual void OnTestPartResult(const TestPartResult& /*test_part_result*/) { in OnTestPartResult() argument
|
D | gtest_unittest.cc | 146 streamer_.OnTestPartResult(TestPartResult( in TEST_F() 147 TestPartResult::kFatalFailure, "foo.cc", 42, "failed=\n&%")); in TEST_F() 230 using testing::TestPartResult; 1352 typedef std::vector<TestPartResult> TPRVector; 1355 TestPartResult * pr1, * pr2; 1362 pr1 = new TestPartResult(TestPartResult::kSuccess, in SetUp() 1368 pr2 = new TestPartResult(TestPartResult::kFatalFailure, in SetUp() 1408 static void CompareTestPartResult(const TestPartResult& expected, in CompareTestPartResult() 1409 const TestPartResult& actual) { in CompareTestPartResult() 3403 EXPECT_EQ(TestPartResult::kFatalFailure, in TEST_F() [all …]
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-test-part.cc | 51 std::string TestPartResult::ExtractSummary(const char* message) { in ExtractSummary() 58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { in operator <<() 61 << (result.type() == TestPartResult::kSuccess ? "Success" : in operator <<() 62 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : in operator <<() 68 void TestPartResultArray::Append(const TestPartResult& result) { in Append() 73 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult() 102 const TestPartResult& result) { in ReportTestPartResult()
|
D | gtest.cc | 343 AssertHelper::AssertHelper(TestPartResult::Type type, in AssertHelper() 579 const TestPartResult& result) { in ReportTestPartResult() 609 TestPartResult::Type type, in HasOneFailure() 611 const std::string expected(type == TestPartResult::kFatalFailure ? in HasOneFailure() 624 const TestPartResult& r = results.GetTestPartResult(0); in HasOneFailure() 646 TestPartResult::Type type, in SingleFailureChecker() 664 const TestPartResult& result) { in ReportTestPartResult() 673 const TestPartResult& result) { in ReportTestPartResult() 1691 const TestPartResult& TestResult::GetTestPartResult(int i) const { in GetTestPartResult() 1712 void TestResult::AddTestPartResult(const TestPartResult& test_part_result) { in AddTestPartResult() [all …]
|
D | gtest-internal-inl.h | 480 virtual void ReportTestPartResult(const TestPartResult& result); 496 virtual void ReportTestPartResult(const TestPartResult& result); 1055 static const std::vector<testing::TestPartResult>& test_part_results( in test_part_results() 1183 void OnTestPartResult(const TestPartResult& test_part_result) { in OnTestPartResult()
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest-test-part.h | 47 class GTEST_API_ TestPartResult { 60 TestPartResult(Type a_type, in TestPartResult() function 120 std::ostream& operator<<(std::ostream& os, const TestPartResult& result); 131 void Append(const TestPartResult& result); 134 const TestPartResult& GetTestPartResult(int index) const; 140 std::vector<TestPartResult> array_; 150 virtual void ReportTestPartResult(const TestPartResult& result) = 0; 166 virtual void ReportTestPartResult(const TestPartResult& result);
|
D | gtest-spi.h | 78 virtual void ReportTestPartResult(const TestPartResult& result); 100 TestPartResult::Type type, 105 const TestPartResult::Type type_; 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 208 >est_failures, ::testing::TestPartResult::kNonFatalFailure, \ 222 >est_failures, ::testing::TestPartResult::kNonFatalFailure, \
|
D | gtest.h | 164 void ReportFailureInUnknownLocation(TestPartResult::Type result_type, 533 const TestPartResult& GetTestPartResult(int i) const; 551 const std::vector<TestPartResult>& test_part_results() const { in test_part_results() 579 void AddTestPartResult(const TestPartResult& test_part_result); 598 std::vector<TestPartResult> test_part_results_; 960 virtual void OnTestPartResult(const TestPartResult& test_part_result) = 0; 996 virtual void OnTestPartResult(const TestPartResult& /*test_part_result*/) {} in OnTestPartResult() argument 1205 void AddTestPartResult(TestPartResult::Type result_type, 1237 TestPartResult::Type result_type, 1695 AssertHelper(TestPartResult::Type type, [all …]
|
/ndk/sources/third_party/googletest/googletest/samples/ |
D | sample9_unittest.cc | 45 using ::testing::TestPartResult; 73 virtual void OnTestPartResult(const TestPartResult& test_part_result) { in OnTestPartResult()
|
D | sample10_unittest.cc | 45 using ::testing::TestPartResult;
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 86 class TestPartResult; // Result of a test part. variable 149 explicit GoogleTestFailureException(const TestPartResult& failure); 1021 return GTEST_MESSAGE_(message, ::testing::TestPartResult::kFatalFailure) 1024 GTEST_MESSAGE_(message, ::testing::TestPartResult::kNonFatalFailure) 1027 GTEST_MESSAGE_(message, ::testing::TestPartResult::kSuccess)
|