proxygen
|
#include <gtest.h>
Public Member Functions | |
~TestInfo () | |
const char * | test_case_name () const |
const char * | name () const |
const char * | type_param () const |
const char * | value_param () const |
const char * | file () const |
int | line () const |
bool | should_run () const |
bool | is_reportable () const |
const TestResult * | result () const |
~TestInfo () | |
const char * | test_case_name () const |
const char * | name () const |
const char * | type_param () const |
const char * | value_param () const |
const char * | file () const |
int | line () const |
bool | should_run () const |
bool | is_reportable () const |
const TestResult * | result () const |
~TestInfo () | |
const char * | test_case_name () const |
const char * | name () const |
const char * | type_param () const |
const char * | value_param () const |
const char * | file () const |
int | line () const |
bool | should_run () const |
bool | is_reportable () const |
const TestResult * | result () const |
Private Member Functions | |
TestInfo (const std::string &test_case_name, const std::string &name, const char *a_type_param, const char *a_value_param, internal::CodeLocation a_code_location, internal::TypeId fixture_class_id, internal::TestFactoryBase *factory) | |
int | increment_death_test_count () |
void | Run () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestInfo) | |
TestInfo (const std::string &test_case_name, const std::string &name, const char *a_type_param, const char *a_value_param, internal::CodeLocation a_code_location, internal::TypeId fixture_class_id, internal::TestFactoryBase *factory) | |
int | increment_death_test_count () |
void | Run () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestInfo) | |
TestInfo (const std::string &test_case_name, const std::string &name, const char *a_type_param, const char *a_value_param, internal::CodeLocation a_code_location, internal::TypeId fixture_class_id, internal::TestFactoryBase *factory) | |
int | increment_death_test_count () |
void | Run () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestInfo) | |
Static Private Member Functions | |
static void | ClearTestResult (TestInfo *test_info) |
static void | ClearTestResult (TestInfo *test_info) |
static void | ClearTestResult (TestInfo *test_info) |
Private Attributes | |
const std::string | test_case_name_ |
const std::string | name_ |
const internal::scoped_ptr< const ::std::string > | type_param_ |
const internal::scoped_ptr< const ::std::string > | value_param_ |
internal::CodeLocation | location_ |
const internal::TypeId | fixture_class_id_ |
bool | should_run_ |
bool | is_disabled_ |
bool | matches_filter_ |
internal::TestFactoryBase *const | factory_ |
TestResult | result_ |
testing::TestInfo::~TestInfo | ( | ) |
Definition at line 2521 of file gtest.cc.
References factory_.
Referenced by testing::TestPartNonfatallyFailed().
|
private |
Definition at line 2501 of file gtest.cc.
Referenced by testing::internal::MakeAndRegisterTestInfo(), and testing::TestPartNonfatallyFailed().
testing::TestInfo::~TestInfo | ( | ) |
|
private |
testing::TestInfo::~TestInfo | ( | ) |
|
private |
|
inlinestaticprivate |
Definition at line 746 of file gtest.h.
References testing::TestResult::Clear(), and result_.
Referenced by testing::TestCase::ClearResult().
|
inlinestaticprivate |
Definition at line 746 of file gtest.h.
References testing::TestResult::Clear(), GTEST_API_, GTEST_DISALLOW_COPY_AND_ASSIGN_, name, name_, result_, string, and gmock_test_utils::TestCase.
|
inlinestaticprivate |
Definition at line 746 of file gtest.h.
References testing::TestResult::Clear(), GTEST_API_, GTEST_DISALLOW_COPY_AND_ASSIGN_, name, name_, result_, string, and gmock_test_utils::TestCase.
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 738 of file gtest.h.
References Run().
|
inlineprivate |
Definition at line 738 of file gtest.h.
References Run().
|
inlineprivate |
Definition at line 738 of file gtest.h.
References Run().
|
inline |
Definition at line 697 of file gtest.h.
Referenced by testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::TestCase::TestReportable(), and testing::TestCase::TestReportableDisabled().
|
inline |
Definition at line 654 of file gtest.h.
References name_.
Referenced by HTTPParallelCodecTest::dumpToFile(), testing::internal::UnitTestImpl::FilterTests(), testing::TestInfoTest::GetTestInfo(), testing::TestInfoTest::GetTestResult(), testing::Test::HasSameFixtureClass(), testing::internal::UnitTestImpl::ListTestsMatchingFilter(), testing::internal::MakeAndRegisterTestInfo(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestStart(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(), testing::internal::PrintOnOneLine(), CommonTest< T >::TearDown(), testing::internal::TearDownEnvironment(), testing::CurrentTestInfoTest::TearDownTestCase(), testing::TEST_F(), testing::internal::TestResultAccessor::test_part_results(), and testing::TestPartNonfatallyFailed().
|
inline |
|
inline |
|
inline |
Definition at line 705 of file gtest.h.
References testing::internal::MakeAndRegisterTestInfo(), name, and string.
|
inline |
Definition at line 705 of file gtest.h.
References testing::internal::MakeAndRegisterTestInfo(), name, and string.
|
inline |
Definition at line 705 of file gtest.h.
Referenced by testing::TestInfoTest::GetTestResult(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(), testing::internal::FinalSuccessChecker::TearDown(), testing::internal::TestResultAccessor::test_part_results(), testing::TestCase::TestFailed(), and testing::TestCase::TestPassed().
|
private |
|
private |
Definition at line 2630 of file gtest.cc.
References testing::internal::TestFactoryBase::CreateTest(), testing::Test::DeleteSelf_(), factory_, testing::UnitTest::GetInstance(), testing::internal::GetTimeInMillis(), testing::internal::GetUnitTestImpl(), testing::internal::HandleExceptionsInMethodIfSupported(), testing::Test::HasFatalFailure(), testing::UnitTest::listeners(), testing::TestEventListener::OnTestEnd(), testing::TestEventListener::OnTestStart(), testing::internal::UnitTestImpl::os_stack_trace_getter(), testing::TestEventListeners::repeater(), result_, testing::Test::Run(), testing::internal::UnitTestImpl::set_current_test_info(), testing::TestResult::set_elapsed_time(), should_run_, start, and testing::internal::OsStackTraceGetterInterface::UponLeavingGTest().
Referenced by testing::TestCase::Run().
|
private |
|
inline |
Definition at line 694 of file gtest.h.
Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(), testing::TestCase::ShouldRunTest(), testing::TestCase::TestFailed(), and testing::TestCase::TestPassed().
|
inline |
|
inline |
Definition at line 651 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::AddTestInfo(), testing::TestInfoTest::GetTestResult(), testing::Test::HasSameFixtureClass(), testing::internal::MakeAndRegisterTestInfo(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestStart(), testing::CurrentTestInfoTest::TearDownTestCase(), testing::TEST_F(), and testing::TestPartNonfatallyFailed().
|
inline |
|
inline |
Definition at line 658 of file gtest.h.
|
inline |
Definition at line 658 of file gtest.h.
|
inline |
Definition at line 658 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::AddTestInfo(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), and testing::internal::PrintFullTestCommentIfPresent().
|
inline |
Definition at line 666 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::ListTestsMatchingFilter(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PortableLocaltime(), testing::internal::PrintFullTestCommentIfPresent(), and testing::internal::PrintOnOneLine().
|
inline |
Definition at line 666 of file gtest.h.
|
inline |
Definition at line 666 of file gtest.h.
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 765 of file gtest.h.
Referenced by Run(), and ~TestInfo().
|
private |
Definition at line 760 of file gtest.h.
Referenced by testing::Test::HasSameFixtureClass(), and testing::TestPartNonfatallyFailed().
|
private |
Definition at line 762 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::FilterTests(), testing::internal::TearDownEnvironment(), testing::TestCase::TestDisabled(), and testing::TestCase::TestReportableDisabled().
|
private |
|
private |
Definition at line 763 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::FilterTests(), testing::internal::UnitTestImpl::ListTestsMatchingFilter(), testing::internal::PrintOnOneLine(), and testing::internal::TearDownEnvironment().
|
private |
Definition at line 752 of file gtest.h.
Referenced by testing::internal::MakeAndRegisterTestInfo().
|
private |
Definition at line 770 of file gtest.h.
Referenced by ClearTestResult(), testing::internal::UnitTestImpl::current_test_result(), testing::internal::UnitTestImpl::RecordProperty(), and Run().
|
private |
Definition at line 761 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::FilterTests(), Run(), and testing::internal::TearDownEnvironment().
|
private |
|
private |
|
private |