CHROMA
|
#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 |
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::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) |
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_ |
const internal::TypeId | fixture_class_id_ |
bool | should_run_ |
bool | is_disabled_ |
bool | matches_filter_ |
internal::TestFactoryBase *const | factory_ |
TestResult | result_ |
Friends | |
class | Test |
class | TestCase |
class | internal::UnitTestImpl |
class | internal::StreamingListenerTest |
TestInfo * | internal::MakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, internal::TypeId fixture_class_id, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, internal::TestFactoryBase *factory) |
testing::TestInfo::~TestInfo | ( | ) |
Definition at line 3679 of file gtest-all.cc.
References factory_.
|
private |
Definition at line 3661 of file gtest-all.cc.
|
inlinestaticprivate |
Definition at line 18128 of file gtest.h.
References testing::TestResult::Clear(), and result_.
Referenced by testing::TestCase::ClearResult().
|
private |
|
inlineprivate |
|
inline |
Definition at line 18081 of file gtest.h.
Referenced by testing::internal::XmlUnitTestResultPrinter::PrintXmlTestCase(), testing::TestCase::TestReportable(), and testing::TestCase::TestReportableDisabled().
|
inline |
Definition at line 18044 of file gtest.h.
References name_.
Referenced by testing::internal::UnitTestImpl::FilterTests(), testing::Test::HasSameFixtureClass(), testing::internal::UnitTestImpl::ListTestsMatchingFilter(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestStart(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), and testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests().
|
inline |
Definition at line 18089 of file gtest.h.
Referenced by testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(), testing::TestCase::TestFailed(), and testing::TestCase::TestPassed().
|
private |
Definition at line 3784 of file gtest-all.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_, and testing::internal::OsStackTraceGetterInterface::UponLeavingGTest().
Referenced by testing::TestCase::Run().
|
inline |
|
inline |
Definition at line 18041 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::AddTestInfo(), testing::Test::HasSameFixtureClass(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), and testing::internal::PrettyUnitTestResultPrinter::OnTestStart().
|
inline |
Definition at line 18048 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::AddTestInfo(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), and testing::internal::PrintFullTestCommentIfPresent().
|
inline |
Definition at line 18056 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::ListTestsMatchingFilter(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), and testing::internal::PrintFullTestCommentIfPresent().
|
friend |
|
friend |
|
private |
Definition at line 18146 of file gtest.h.
Referenced by Run(), and ~TestInfo().
|
private |
Definition at line 18141 of file gtest.h.
Referenced by testing::Test::HasSameFixtureClass().
|
private |
Definition at line 18143 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::FilterTests(), testing::TestCase::TestDisabled(), and testing::TestCase::TestReportableDisabled().
|
private |
Definition at line 18144 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::FilterTests(), and testing::internal::UnitTestImpl::ListTestsMatchingFilter().
|
private |
Definition at line 18151 of file gtest.h.
Referenced by ClearTestResult(), testing::internal::UnitTestImpl::current_test_result(), testing::internal::UnitTestImpl::RecordProperty(), and Run().
|
private |
Definition at line 18142 of file gtest.h.
Referenced by testing::internal::UnitTestImpl::FilterTests(), and Run().
|
private |
|
private |
|
private |