proxygen
|
#include <gtest-test-part.h>
Public Types | |
enum | Type { kSuccess, kNonFatalFailure, kFatalFailure, kSuccess, kNonFatalFailure, kFatalFailure, kSuccess, kNonFatalFailure, kFatalFailure } |
enum | Type { kSuccess, kNonFatalFailure, kFatalFailure, kSuccess, kNonFatalFailure, kFatalFailure, kSuccess, kNonFatalFailure, kFatalFailure } |
enum | Type { kSuccess, kNonFatalFailure, kFatalFailure, kSuccess, kNonFatalFailure, kFatalFailure, kSuccess, kNonFatalFailure, kFatalFailure } |
Public Member Functions | |
TestPartResult (Type a_type, const char *a_file_name, int a_line_number, const char *a_message) | |
Type | type () const |
const char * | file_name () const |
int | line_number () const |
const char * | summary () const |
const char * | message () const |
bool | passed () const |
bool | failed () const |
bool | nonfatally_failed () const |
bool | fatally_failed () const |
TestPartResult (Type a_type, const char *a_file_name, int a_line_number, const char *a_message) | |
Type | type () const |
const char * | file_name () const |
int | line_number () const |
const char * | summary () const |
const char * | message () const |
bool | passed () const |
bool | failed () const |
bool | nonfatally_failed () const |
bool | fatally_failed () const |
TestPartResult (Type a_type, const char *a_file_name, int a_line_number, const char *a_message) | |
Type | type () const |
const char * | file_name () const |
int | line_number () const |
const char * | summary () const |
const char * | message () const |
bool | passed () const |
bool | failed () const |
bool | nonfatally_failed () const |
bool | fatally_failed () const |
Static Private Member Functions | |
static std::string | ExtractSummary (const char *message) |
static std::string | ExtractSummary (const char *message) |
static std::string | ExtractSummary (const char *message) |
Private Attributes | |
Type | type_ |
std::string | file_name_ |
int | line_number_ |
std::string | summary_ |
std::string | message_ |
Definition at line 47 of file gtest-test-part.h.
Enumerator | |
---|---|
kSuccess | |
kNonFatalFailure | |
kFatalFailure | |
kSuccess | |
kNonFatalFailure | |
kFatalFailure | |
kSuccess | |
kNonFatalFailure | |
kFatalFailure |
Definition at line 51 of file gtest-test-part.h.
Enumerator | |
---|---|
kSuccess | |
kNonFatalFailure | |
kFatalFailure | |
kSuccess | |
kNonFatalFailure | |
kFatalFailure | |
kSuccess | |
kNonFatalFailure | |
kFatalFailure |
Definition at line 51 of file gtest-test-part.h.
Enumerator | |
---|---|
kSuccess | |
kNonFatalFailure | |
kFatalFailure | |
kSuccess | |
kNonFatalFailure | |
kFatalFailure | |
kSuccess | |
kNonFatalFailure | |
kFatalFailure |
Definition at line 51 of file gtest-test-part.h.
|
inline |
Definition at line 60 of file gtest-test-part.h.
|
inline |
Definition at line 60 of file gtest-test-part.h.
|
inline |
Definition at line 60 of file gtest-test-part.h.
|
staticprivate |
Definition at line 51 of file gtest-test-part.cc.
References testing::internal::kStackTraceMarker, and string.
|
staticprivate |
|
staticprivate |
|
inline |
|
inline |
Definition at line 94 of file gtest-test-part.h.
References type_.
Referenced by testing::TestResult::Failed(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), and testing::internal::PortableLocaltime().
|
inline |
|
inline |
Definition at line 100 of file gtest-test-part.h.
References GTEST_API_, testing::operator<<(), string, and type_.
|
inline |
Definition at line 100 of file gtest-test-part.h.
References type_.
Referenced by operator<<(), testing::internal::HasNewFatalFailureHelper::ReportTestPartResult(), and testing::TestPartFatallyFailed().
|
inline |
Definition at line 100 of file gtest-test-part.h.
References GTEST_API_, testing::operator<<(), string, and type_.
|
inline |
Definition at line 76 of file gtest-test-part.h.
|
inline |
Definition at line 76 of file gtest-test-part.h.
Referenced by testing::operator<<(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrintTestPartResultToString(), and testing::internal::TestResultAccessor::test_part_results().
|
inline |
Definition at line 76 of file gtest-test-part.h.
|
inline |
Definition at line 82 of file gtest-test-part.h.
|
inline |
Definition at line 82 of file gtest-test-part.h.
|
inline |
Definition at line 82 of file gtest-test-part.h.
Referenced by testing::operator<<(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrintTestPartResultToString(), and testing::internal::TestResultAccessor::test_part_results().
|
inline |
Definition at line 88 of file gtest-test-part.h.
Referenced by testing::internal::HasOneFailure(), testing::operator<<(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrintTestPartResultToString(), testing::internal::ShouldRunTestCase(), and testing::internal::TestResultAccessor::test_part_results().
|
inline |
Definition at line 88 of file gtest-test-part.h.
|
inline |
Definition at line 88 of file gtest-test-part.h.
|
inline |
|
inline |
Definition at line 97 of file gtest-test-part.h.
References type_.
Referenced by operator<<(), and testing::TestPartNonfatallyFailed().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 85 of file gtest-test-part.h.
Referenced by testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), and testing::internal::PortableLocaltime().
|
inline |
Definition at line 85 of file gtest-test-part.h.
|
inline |
Definition at line 85 of file gtest-test-part.h.
|
inline |
Definition at line 72 of file gtest-test-part.h.
References type_.
Referenced by testing::internal::HasOneFailure(), testing::internal::PrettyUnitTestResultPrinter::OnTestPartResult(), testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::operator<<(), testing::internal::PrintTestPartResultToString(), and testing::internal::ShouldRunTestCase().
|
inline |
|
inline |
|
private |
Definition at line 111 of file gtest-test-part.h.
|
private |
Definition at line 114 of file gtest-test-part.h.
|
private |
Definition at line 116 of file gtest-test-part.h.
|
private |
Definition at line 115 of file gtest-test-part.h.
|
private |
Definition at line 103 of file gtest-test-part.h.