Home
last modified time | relevance | path

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

1234

/external/googletest/googletest/test/
Dgoogletest-test-part-test.cc36 using testing::TestPartResult;
47 : r1_(TestPartResult::kSuccess, "foo/bar.cc", 10, "Success!"), in TestPartResultTest()
48 r2_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure!"), in TestPartResultTest()
49 r3_(TestPartResult::kFatalFailure, nullptr, -1, "Failure!"), in TestPartResultTest()
50 r4_(TestPartResult::kSkip, "foo/bar.cc", 2, "Skipped!") {} in TestPartResultTest()
52 TestPartResult r1_, r2_, r3_, r4_;
62 const TestPartResult result(TestPartResult::kNonFatalFailure, in TEST_F()
67 EXPECT_EQ(TestPartResult::kNonFatalFailure, result.type()); in TEST_F()
75 const TestPartResult success(TestPartResult::kSuccess, in TEST_F()
85 const TestPartResult nonfatal_failure(TestPartResult::kNonFatalFailure, in TEST_F()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-test-part-test.cc36 using testing::TestPartResult;
47 : r1_(TestPartResult::kSuccess, "foo/bar.cc", 10, "Success!"), in TestPartResultTest()
48 r2_(TestPartResult::kNonFatalFailure, "foo/bar.cc", -1, "Failure!"), in TestPartResultTest()
49 r3_(TestPartResult::kFatalFailure, nullptr, -1, "Failure!"), in TestPartResultTest()
50 r4_(TestPartResult::kSkip, "foo/bar.cc", 2, "Skipped!") {} in TestPartResultTest()
52 TestPartResult r1_, r2_, r3_, r4_;
62 const TestPartResult result(TestPartResult::kNonFatalFailure, in TEST_F()
67 EXPECT_EQ(TestPartResult::kNonFatalFailure, result.type()); in TEST_F()
75 const TestPartResult success(TestPartResult::kSuccess, in TEST_F()
85 const TestPartResult nonfatal_failure(TestPartResult::kNonFatalFailure, in TEST_F()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-test-part.cc42 std::string TestPartResult::ExtractSummary(const char* message) { in ExtractSummary()
48 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { in operator <<()
50 << (result.type() == TestPartResult::kSuccess in operator <<()
52 : result.type() == TestPartResult::kSkip in operator <<()
54 : result.type() == TestPartResult::kFatalFailure in operator <<()
62 void TestPartResultArray::Append(const TestPartResult& result) { in Append()
67 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
96 const TestPartResult& result) { in ReportTestPartResult()
/external/googletest/googletest/src/
Dgtest-test-part.cc44 std::string TestPartResult::ExtractSummary(const char* message) { in ExtractSummary()
50 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { in operator <<()
54 << (result.type() == TestPartResult::kSuccess in operator <<()
56 : result.type() == TestPartResult::kSkip in operator <<()
58 : result.type() == TestPartResult::kFatalFailure in operator <<()
66 void TestPartResultArray::Append(const TestPartResult& result) { in Append()
71 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
100 const TestPartResult& result) { in ReportTestPartResult()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-test-part.cc42 std::string TestPartResult::ExtractSummary(const char* message) { in ExtractSummary()
48 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { in operator <<()
50 << (result.type() == TestPartResult::kSuccess in operator <<()
52 : result.type() == TestPartResult::kSkip in operator <<()
54 : result.type() == TestPartResult::kFatalFailure in operator <<()
62 void TestPartResultArray::Append(const TestPartResult& result) { in Append()
67 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
96 const TestPartResult& result) { in ReportTestPartResult()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-test-part.cc44 std::string TestPartResult::ExtractSummary(const char *message) { in ExtractSummary()
50 std::ostream &operator<<(std::ostream &os, const TestPartResult &result) { in operator <<()
54 << (result.type() == TestPartResult::kSuccess in operator <<()
56 : result.type() == TestPartResult::kSkip in operator <<()
58 : result.type() == TestPartResult::kFatalFailure in operator <<()
66 void TestPartResultArray::Append(const TestPartResult &result) { in Append()
71 const TestPartResult &TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
100 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 void ReportTestPartResult(const TestPartResult &result) override;
Dgtest-spi.h78 void ReportTestPartResult(const TestPartResult &result) override;
101 TestPartResult::Type type,
106 const TestPartResult::Type type_;
147 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
164 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
209 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
223 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-test-part.cc42 std::string TestPartResult::ExtractSummary(const char* message) { in ExtractSummary()
49 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { in operator <<()
52 << (result.type() == TestPartResult::kSuccess ? "Success" : in operator <<()
53 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" : in operator <<()
59 void TestPartResultArray::Append(const TestPartResult& result) { in Append()
64 const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { in GetTestPartResult()
93 const TestPartResult& result) { in ReportTestPartResult()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
63 TestPartResult(Type a_type, const char *a_file_name, int a_line_number, in TestPartResult() function
121 std::ostream &operator<<(std::ostream &os, const TestPartResult &result);
132 void Append(const TestPartResult &result);
135 const TestPartResult &GetTestPartResult(int index) const;
141 std::vector<TestPartResult> array_;
151 virtual void ReportTestPartResult(const TestPartResult &result) = 0;
167 void ReportTestPartResult(const TestPartResult &result) override;
Dgtest-spi.h82 void ReportTestPartResult(const TestPartResult &result) override;
105 TestPartResult::Type type, const std::string &substr);
110 const TestPartResult::Type type_;
153 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr)); \
171 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr)); \
216 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
233 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/googletest/googletest/include/gtest/
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
63 TestPartResult(Type a_type, const char* a_file_name, int a_line_number, in TestPartResult() function
123 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
134 void Append(const TestPartResult& result);
137 const TestPartResult& GetTestPartResult(int index) const;
143 std::vector<TestPartResult> array_;
153 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
169 void ReportTestPartResult(const TestPartResult& result) override;
Dgtest-spi.h82 void ReportTestPartResult(const TestPartResult& result) override;
105 TestPartResult::Type type, const std::string& substr);
109 const TestPartResult::Type type_;
152 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
169 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
214 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
228 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
62 TestPartResult(Type a_type, in TestPartResult() function
122 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
133 void Append(const TestPartResult& result);
136 const TestPartResult& GetTestPartResult(int index) const;
142 std::vector<TestPartResult> array_;
152 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
168 virtual void ReportTestPartResult(const TestPartResult& result);
Dgtest-spi.h82 virtual void ReportTestPartResult(const TestPartResult& result);
104 TestPartResult::Type type, const std::string& substr);
108 const TestPartResult::Type type_;
151 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
168 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
213 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
227 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/mesa3d/src/gtest/include/gtest/
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
63 TestPartResult(Type a_type, const char* a_file_name, int a_line_number, in TestPartResult() function
123 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
134 void Append(const TestPartResult& result);
137 const TestPartResult& GetTestPartResult(int index) const;
143 std::vector<TestPartResult> array_;
153 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
169 void ReportTestPartResult(const TestPartResult& result) override;
Dgtest-spi.h82 void ReportTestPartResult(const TestPartResult& result) override;
105 TestPartResult::Type type, const std::string& substr);
109 const TestPartResult::Type type_;
152 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
169 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
214 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
228 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-test-part.h49 class GTEST_API_ TestPartResult {
63 TestPartResult(Type a_type, const char* a_file_name, int a_line_number, in TestPartResult() function
123 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
134 void Append(const TestPartResult& result);
137 const TestPartResult& GetTestPartResult(int index) const;
143 std::vector<TestPartResult> array_;
153 virtual void ReportTestPartResult(const TestPartResult& result) = 0;
169 void ReportTestPartResult(const TestPartResult& result) override;
Dgtest-spi.h82 void ReportTestPartResult(const TestPartResult& result) override;
105 TestPartResult::Type type, const std::string& substr);
109 const TestPartResult::Type type_;
152 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
169 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
214 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
228 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/
Dgtest-test-part.h47 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);
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/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-test-part.cc51 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()
/external/llvm/utils/unittest/googletest/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/fmtlib/test/gtest/
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/libchrome/base/test/
Dgtest_xml_unittest_result_printer.cc60 WriteTestPartResult(file, line, testing::TestPartResult::kFatalFailure, in OnAssert()
117 "<unknown>", 0, testing::TestPartResult::kNonFatalFailure, in OnTestEnd()
134 testing::TestPartResult::Type result_type, in WriteTestPartResult()
139 case testing::TestPartResult::kSuccess: in WriteTestPartResult()
142 case testing::TestPartResult::kNonFatalFailure: in WriteTestPartResult()
145 case testing::TestPartResult::kFatalFailure: in WriteTestPartResult()

1234