Home
last modified time | relevance | path

Searched refs:TestPartResult (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium/testing/gtest/test/
Dgtest-test-part_test.cc39 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 …]
/external/gtest/test/
Dgtest-test-part_test.cc39 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 …]
/external/libvpx/libvpx/third_party/googletest/src/test/
Dgtest-test-part_test.cc39 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 …]
/external/protobuf/gtest/test/
Dgtest-test-part_test.cc38 using testing::TestPartResult;
49 : r1_(TestPartResult::kSuccess, "foo/bar.cc", 10, "Success!"), in TestPartResultTest()
50 r2_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure!"), in TestPartResultTest()
51 r3_(TestPartResult::kFatalFailure, NULL, -1, "Failure!") {} in TestPartResultTest()
53 TestPartResult r1_, r2_, r3_;
58 EXPECT_EQ(TestPartResult::kSuccess, r1_.type()); in TEST_F()
59 EXPECT_EQ(TestPartResult::kNonFatalFailure, r2_.type()); in TEST_F()
60 EXPECT_EQ(TestPartResult::kFatalFailure, r3_.type()); in TEST_F()
113 : r1_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure 1"), in TestPartResultArrayTest()
114 r2_(TestPartResult::kFatalFailure, "foo/bar.cc", -1, "Failure 2") {} in TestPartResultArrayTest()
[all …]
/external/protobuf/gtest/src/
Dgtest-test-part.cc51 internal::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 <<()
69 : array_(new internal::Vector<TestPartResult>) { in TestPartResultArray()
78 void TestPartResultArray::Append(const TestPartResult& result) { in Append()
83 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
112 const TestPartResult& result) { in ReportTestPartResult()
/external/open-vcdiff/gtest/src/
Dgtest-test-part.cc51 internal::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 <<()
69 : array_(new internal::Vector<TestPartResult>) { in TestPartResultArray()
78 void TestPartResultArray::Append(const TestPartResult& result) { in Append()
83 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
112 const TestPartResult& result) { in ReportTestPartResult()
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-test-part.h47 class GTEST_API_ TestPartResult {
60 TestPartResult(Type a_type, in TestPartResult() function
117 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
128 void Append(const TestPartResult& result);
131 const TestPartResult& GetTestPartResult(int index) const;
137 std::vector<TestPartResult> array_;
147 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
163 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h78 virtual void ReportTestPartResult(const TestPartResult& result);
100 TestPartResult::Type type,
105 const TestPartResult::Type type_;
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/open-vcdiff/gtest/include/gtest/
Dgtest-test-part.h46 class TestPartResult {
59 TestPartResult(Type type, in TestPartResult() function
116 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
131 void Append(const TestPartResult& result);
134 const TestPartResult& GetTestPartResult(int index) const;
140 internal::Vector<TestPartResult>* const array_;
150 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
165 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h78 virtual void ReportTestPartResult(const TestPartResult& result);
100 TestPartResult::Type type,
105 const TestPartResult::Type type_;
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/gtest/include/gtest/
Dgtest-test-part.h47 class GTEST_API_ TestPartResult {
60 TestPartResult(Type a_type, in TestPartResult() function
117 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
128 void Append(const TestPartResult& result);
131 const TestPartResult& GetTestPartResult(int index) const;
137 std::vector<TestPartResult> array_;
147 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
163 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h78 virtual void ReportTestPartResult(const TestPartResult& result);
100 TestPartResult::Type type,
105 const TestPartResult::Type type_;
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/protobuf/gtest/include/gtest/
Dgtest-test-part.h46 class TestPartResult {
59 TestPartResult(Type type, in TestPartResult() function
116 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
131 void Append(const TestPartResult& result);
134 const TestPartResult& GetTestPartResult(int index) const;
140 internal::Vector<TestPartResult>* const array_;
150 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
165 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h78 virtual void ReportTestPartResult(const TestPartResult& result);
100 TestPartResult::Type type,
105 const TestPartResult::Type type_;
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/chromium/testing/gtest/include/gtest/
Dgtest-test-part.h47 class GTEST_API_ TestPartResult {
60 TestPartResult(Type a_type, in TestPartResult() function
117 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
128 void Append(const TestPartResult& result);
131 const TestPartResult& GetTestPartResult(int index) const;
137 std::vector<TestPartResult> array_;
147 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
163 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h78 virtual void ReportTestPartResult(const TestPartResult& result);
100 TestPartResult::Type type,
105 const TestPartResult::Type type_;
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-test-part.h47 class GTEST_API_ TestPartResult {
60 TestPartResult(Type a_type, in TestPartResult() function
117 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
128 void Append(const TestPartResult& result);
131 const TestPartResult& GetTestPartResult(int index) const;
137 std::vector<TestPartResult> array_;
147 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
163 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h78 virtual void ReportTestPartResult(const TestPartResult& result);
100 TestPartResult::Type type,
105 const TestPartResult::Type type_;
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
208 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
222 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/gtest/src/
Dgtest-test-part.cc51 internal::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()
Dgtest.cc340 AssertHelper::AssertHelper(TestPartResult::Type type, in AssertHelper()
579 const TestPartResult& result) { in ReportTestPartResult()
609 TestPartResult::Type type, in HasOneFailure()
611 const 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()
1786 const TestPartResult& TestResult::GetTestPartResult(int i) const { in GetTestPartResult()
1807 void TestResult::AddTestPartResult(const TestPartResult& test_part_result) { in AddTestPartResult()
[all …]
/external/chromium/testing/gtest/src/
Dgtest-test-part.cc51 internal::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()
Dgtest.cc340 AssertHelper::AssertHelper(TestPartResult::Type type, in AssertHelper()
579 const TestPartResult& result) { in ReportTestPartResult()
609 TestPartResult::Type type, in HasOneFailure()
611 const 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()
1786 const TestPartResult& TestResult::GetTestPartResult(int i) const { in GetTestPartResult()
1807 void TestResult::AddTestPartResult(const TestPartResult& test_part_result) { in AddTestPartResult()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-test-part.cc51 internal::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()
/external/llvm/utils/unittest/googletest/
Dgtest-test-part.cc51 internal::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()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-spi.h46 class TestPartResult {
51 TestPartResult(TestPartResultType type, in TestPartResult() function
99 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
114 void Append(const TestPartResult& result);
117 const TestPartResult& GetTestPartResult(int index) const;
124 internal::List<TestPartResult>* const list_;
134 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
159 virtual void ReportTestPartResult(const TestPartResult& result);

123