Go to the documentation of this file.
41 #define GTEST_IMPLEMENTATION_ 1
43 #undef GTEST_IMPLEMENTATION_
53 return stack_trace == NULL ?
message :
63 "Non-fatal failure") <<
":\n"
64 << result.
message() << std::endl;
74 if (index < 0 || index >=
size()) {
75 printf(
"\nInvalid index (%d) into TestPartResultArray.\n", index);
84 return static_cast<int>(
array_.size());
90 : has_new_fatal_failure_(false),
92 GetTestPartResultReporterForCurrentThread()) {
static std::string ExtractSummary(const char *message)
std::ostream & operator<<(std::ostream &os, const Message &sb)
class UnitTestImpl * GetUnitTestImpl()
virtual void ReportTestPartResult(const TestPartResult &result)
virtual void ReportTestPartResult(const TestPartResult &result)=0
TestPartResultReporterInterface * original_reporter_
bool has_new_fatal_failure_
const char * message() const
void Append(const TestPartResult &result)
virtual ~HasNewFatalFailureHelper()
const TestPartResult & GetTestPartResult(int index) const
HasNewFatalFailureHelper()
std::vector< TestPartResult > array_
const GTEST_API_ char kStackTraceMarker[]
const char * file_name() const
bool fatally_failed() const
void SetTestPartResultReporterForCurrentThread(TestPartResultReporterInterface *reporter)
fcl
Author(s):
autogenerated on Fri Apr 2 2021 02:38:00