#include <gtest.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 std::string | ExtractSummary (const char *message) |
Private Attributes | |
std::string | file_name_ |
int | line_number_ |
std::string | message_ |
std::string | summary_ |
Type | type_ |
testing::TestPartResult::TestPartResult | ( | Type | a_type, |
const char * | a_file_name, | ||
int | a_line_number, | ||
const char * | a_message | ||
) | [inline] |
std::string testing::TestPartResult::ExtractSummary | ( | const char * | message | ) | [static, private] |
Definition at line 9425 of file gtest-all.cc.
bool testing::TestPartResult::failed | ( | ) | const [inline] |
bool testing::TestPartResult::fatally_failed | ( | ) | const [inline] |
const char* testing::TestPartResult::file_name | ( | ) | const [inline] |
int testing::TestPartResult::line_number | ( | ) | const [inline] |
const char* testing::TestPartResult::message | ( | ) | const [inline] |
bool testing::TestPartResult::nonfatally_failed | ( | ) | const [inline] |
bool testing::TestPartResult::passed | ( | ) | const [inline] |
const char* testing::TestPartResult::summary | ( | ) | const [inline] |
Type testing::TestPartResult::type | ( | ) | const [inline] |
std::string testing::TestPartResult::file_name_ [private] |
int testing::TestPartResult::line_number_ [private] |
std::string testing::TestPartResult::message_ [private] |
std::string testing::TestPartResult::summary_ [private] |
Type testing::TestPartResult::type_ [private] |