Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/gtest.h>
Public Member Functions | |
TestResult () | |
~TestResult () | |
int | total_part_count () const |
int | test_property_count () const |
bool | Passed () const |
bool | Failed () const |
bool | HasFatalFailure () const |
bool | HasNonfatalFailure () const |
TimeInMillis | elapsed_time () const |
const TestPartResult & | GetTestPartResult (int i) const |
const TestProperty & | GetTestProperty (int i) const |
Private Member Functions | |
const std::vector < TestPartResult > & | test_part_results () const |
const std::vector< TestProperty > & | test_properties () const |
void | set_elapsed_time (TimeInMillis elapsed) |
void | RecordProperty (const std::string &xml_element, const TestProperty &test_property) |
void | AddTestPartResult (const TestPartResult &test_part_result) |
int | death_test_count () const |
int | increment_death_test_count () |
void | ClearTestPartResults () |
void | Clear () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult) | |
Static Private Member Functions | |
static bool | ValidateTestProperty (const std::string &xml_element, const TestProperty &test_property) |
Private Attributes | |
internal::Mutex | test_properites_mutex_ |
std::vector< TestPartResult > | test_part_results_ |
std::vector< TestProperty > | test_properties_ |
int | death_test_count_ |
TimeInMillis | elapsed_time_ |
Friends | |
class | TestInfo |
class | TestCase |
class | UnitTest |
class | internal::DefaultGlobalTestPartResultReporter |
class | internal::ExecDeathTest |
class | internal::TestResultAccessor |
class | internal::UnitTestImpl |
class | internal::WindowsDeathTest |
Definition at line 523 of file gtest.h.
View newest version in sPHENIX GitHub at line 523 of file gtest.h
testing::TestResult::TestResult | ( | ) |
testing::TestResult::~TestResult | ( | ) |
|
private |
Definition at line 2050 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2050 of file gtest.cc
References test_part_results_.
Referenced by testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult().
|
private |
Definition at line 2162 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2162 of file gtest.cc
References death_test_count_, elapsed_time_, test_part_results_, and test_properties_.
Referenced by testing::TestCase::ClearResult(), and testing::TestInfo::ClearTestResult().
|
private |
Definition at line 2045 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2045 of file gtest.cc
References test_part_results_.
Referenced by testing::internal::TestResultAccessor::ClearTestPartResults().
|
inlineprivate |
|
inline |
Definition at line 551 of file gtest.h.
View newest version in sPHENIX GitHub at line 551 of file gtest.h
Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), and testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo().
bool testing::TestResult::Failed | ( | ) | const |
Definition at line 2170 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2170 of file gtest.cc
References testing::TestPartResult::failed(), GetTestPartResult(), i, and total_part_count().
Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), and testing::TestCase::TestFailed().
const TestPartResult & testing::TestResult::GetTestPartResult | ( | int | i | ) | const |
Definition at line 2029 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2029 of file gtest.cc
References testing::internal::posix::Abort(), test_part_results_, and total_part_count().
Referenced by Failed(), and testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo().
const TestProperty & testing::TestResult::GetTestProperty | ( | int | i | ) | const |
Definition at line 2038 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2038 of file gtest.cc
References testing::internal::posix::Abort(), test_properties_, and test_property_count().
Referenced by testing::internal::FinalSuccessChecker::TearDown(), and testing::internal::XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes().
|
private |
bool testing::TestResult::HasFatalFailure | ( | ) | const |
Definition at line 2184 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2184 of file gtest.cc
References testing::internal::CountIf(), test_part_results_, and testing::TestPartFatallyFailed().
Referenced by testing::Test::HasFatalFailure().
bool testing::TestResult::HasNonfatalFailure | ( | ) | const |
Definition at line 2194 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2194 of file gtest.cc
References testing::internal::CountIf(), test_part_results_, and testing::TestPartNonfatallyFailed().
|
inlineprivate |
|
inline |
Definition at line 539 of file gtest.h.
View newest version in sPHENIX GitHub at line 539 of file gtest.h
Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(), and testing::TestCase::TestPassed().
|
private |
Definition at line 2057 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2057 of file gtest.cc
References testing::TestProperty::key(), test_properites_mutex_, test_properties_, ValidateTestProperty(), and testing::TestProperty::value().
Referenced by testing::internal::UnitTestImpl::RecordProperty(), and testing::internal::TestResultAccessor::RecordProperty().
|
inlineprivate |
Definition at line 584 of file gtest.h.
View newest version in sPHENIX GitHub at line 584 of file gtest.h
Referenced by testing::TestInfo::Run().
|
inlineprivate |
Definition at line 574 of file gtest.h.
View newest version in sPHENIX GitHub at line 574 of file gtest.h
Referenced by testing::internal::TestResultAccessor::test_part_results().
|
inlineprivate |
int testing::TestResult::test_property_count | ( | ) | const |
Definition at line 2205 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2205 of file gtest.cc
References test_properties_.
Referenced by GetTestProperty(), and testing::internal::XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes().
int testing::TestResult::total_part_count | ( | ) | const |
Definition at line 2200 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2200 of file gtest.cc
References test_part_results_.
Referenced by Failed(), GetTestPartResult(), and testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo().
|
staticprivate |
Definition at line 2155 of file gtest.cc.
View newest version in sPHENIX GitHub at line 2155 of file gtest.cc
References testing::GetReservedAttributesForElement(), testing::TestProperty::key(), and testing::ValidateTestPropertyName().
Referenced by RecordProperty().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
Definition at line 621 of file gtest.h.
View newest version in sPHENIX GitHub at line 621 of file gtest.h
Referenced by AddTestPartResult(), Clear(), ClearTestPartResults(), GetTestPartResult(), HasFatalFailure(), HasNonfatalFailure(), and total_part_count().
|
private |
Definition at line 618 of file gtest.h.
View newest version in sPHENIX GitHub at line 618 of file gtest.h
Referenced by RecordProperty().
|
private |
Definition at line 623 of file gtest.h.
View newest version in sPHENIX GitHub at line 623 of file gtest.h
Referenced by Clear(), GetTestProperty(), RecordProperty(), and test_property_count().