33 #ifndef GTEST_INCLUDE_GTEST_GTEST_TEST_PART_H_ 34 #define GTEST_INCLUDE_GTEST_GTEST_TEST_PART_H_ 61 const char* a_file_name,
63 const char* a_message)
65 file_name_(a_file_name),
66 line_number_(a_line_number),
67 summary_(ExtractSummary(a_message)),
76 const char*
file_name()
const {
return file_name_.c_str(); }
83 const char*
summary()
const {
return summary_.c_str(); }
86 const char*
message()
const {
return message_.c_str(); }
89 bool passed()
const {
return type_ == kSuccess; }
92 bool failed()
const {
return type_ != kSuccess; }
137 std::vector<TestPartResult> array_;
147 virtual void ReportTestPartResult(
const TestPartResult& result) = 0;
166 bool has_new_fatal_failure_;
176 #endif // GTEST_INCLUDE_GTEST_GTEST_TEST_PART_H_ Definition: gtest-test-part.h:143
#define size
Definition: float-mm.c:27
Definition: testutils.h:40
#define GTEST_API_
Definition: gtest-port.h:615
bool passed() const
Definition: gtest-test-part.h:89
Definition: gtest-test-part.h:47
std::ostream & operator<<(std::ostream &os, const Message &sb)
Definition: gtest-message.h:224
Definition: gtest-test-part.h:158
const char * file_name() const
Definition: gtest-test-part.h:76
bool nonfatally_failed() const
Definition: gtest-test-part.h:95
const char * message() const
Definition: gtest-test-part.h:86
const char * summary() const
Definition: gtest-test-part.h:83
bool failed() const
Definition: gtest-test-part.h:92
GLuint index
Definition: gl2.h:383
Definition: gtest-string.h:81
virtual ~TestPartResultReporterInterface()
Definition: gtest-test-part.h:145
bool fatally_failed() const
Definition: gtest-test-part.h:98
Definition: document.h:393
result
Definition: target-blank-opener-post-window.php:5
Definition: gtest-test-part.h:52
Definition: gtest-test-part.h:53
#define GTEST_DISALLOW_COPY_AND_ASSIGN_(type)
Definition: gtest-port.h:573
bool has_new_fatal_failure() const
Definition: gtest-test-part.h:164
TestPartResult(Type a_type, const char *a_file_name, int a_line_number, const char *a_message)
Definition: gtest-test-part.h:60
int line_number() const
Definition: gtest-test-part.h:80
Type type() const
Definition: gtest-test-part.h:72
Definition: gtest-test-part.h:123
GLuint GLsizei const GLchar * message
Definition: gl2ext.h:137
Type
Definition: gtest-test-part.h:51
TestPartResultArray()
Definition: gtest-test-part.h:125