#include <gtest-test-part.h>
Public Types | |
enum | Type { kSuccess, kNonFatalFailure, kFatalFailure } |
Public Member Functions | |
bool | failed () const |
bool | fatally_failed () const |
const char * | file_name () const |
int | line_number () const |
const char * | message () const |
bool | nonfatally_failed () const |
bool | passed () const |
const char * | summary () const |
TestPartResult (Type a_type, const char *a_file_name, int a_line_number, const char *a_message) | |
Type | type () const |
Static Private Member Functions | |
static internal::String | ExtractSummary (const char *message) |
Private Attributes | |
internal::String | file_name_ |
int | line_number_ |
internal::String | message_ |
internal::String | summary_ |
Type | type_ |
Definition at line 47 of file gtest-test-part.h.
Definition at line 51 of file gtest-test-part.h.
testing::TestPartResult::TestPartResult | ( | Type | a_type, |
const char * | a_file_name, | ||
int | a_line_number, | ||
const char * | a_message | ||
) | [inline] |
Definition at line 60 of file gtest-test-part.h.
internal::String testing::TestPartResult::ExtractSummary | ( | const char * | message | ) | [static, private] |
Definition at line 51 of file gtest-test-part.cc.
bool testing::TestPartResult::failed | ( | ) | const [inline] |
Definition at line 92 of file gtest-test-part.h.
bool testing::TestPartResult::fatally_failed | ( | ) | const [inline] |
Definition at line 98 of file gtest-test-part.h.
const char* testing::TestPartResult::file_name | ( | ) | const [inline] |
Definition at line 76 of file gtest-test-part.h.
int testing::TestPartResult::line_number | ( | ) | const [inline] |
Definition at line 80 of file gtest-test-part.h.
const char* testing::TestPartResult::message | ( | ) | const [inline] |
Definition at line 86 of file gtest-test-part.h.
bool testing::TestPartResult::nonfatally_failed | ( | ) | const [inline] |
Definition at line 95 of file gtest-test-part.h.
bool testing::TestPartResult::passed | ( | ) | const [inline] |
Definition at line 89 of file gtest-test-part.h.
const char* testing::TestPartResult::summary | ( | ) | const [inline] |
Definition at line 83 of file gtest-test-part.h.
Type testing::TestPartResult::type | ( | ) | const [inline] |
Definition at line 72 of file gtest-test-part.h.
Definition at line 108 of file gtest-test-part.h.
int testing::TestPartResult::line_number_ [private] |
Definition at line 111 of file gtest-test-part.h.
Definition at line 113 of file gtest-test-part.h.
Definition at line 112 of file gtest-test-part.h.
Type testing::TestPartResult::type_ [private] |
Definition at line 100 of file gtest-test-part.h.