Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
testing::TestInfo Class Reference

#include <gtest.h>

Public Member Functions

bool is_reportable () const
 
const char * name () const
 
const TestResultresult () const
 
bool should_run () const
 
const char * test_case_name () const
 
const char * type_param () const
 
const char * value_param () const
 
 ~TestInfo ()
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestInfo)
 
int increment_death_test_count ()
 
void Run ()
 
 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)
 

Static Private Member Functions

static void ClearTestResult (TestInfo *test_info)
 

Private Attributes

internal::TestFactoryBase *const factory_
 
const internal::TypeId fixture_class_id_
 
bool is_disabled_
 
bool matches_filter_
 
const std::string name_
 
TestResult result_
 
bool should_run_
 
const std::string test_case_name_
 
const internal::scoped_ptr< const ::std::string > type_param_
 
const internal::scoped_ptr< const ::std::string > value_param_
 

Friends

TestInfointernal::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)
 
class internal::StreamingListenerTest
 
class internal::UnitTestImpl
 
class Test
 
class TestCase
 

Detailed Description

Definition at line 18034 of file gtest.h.

Constructor & Destructor Documentation

testing::TestInfo::~TestInfo ( )

Definition at line 3679 of file gtest-all.cc.

testing::TestInfo::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 
)
private

Definition at line 3661 of file gtest-all.cc.

Member Function Documentation

static void testing::TestInfo::ClearTestResult ( TestInfo test_info)
inlinestaticprivate

Definition at line 18128 of file gtest.h.

testing::TestInfo::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestInfo  )
private
int testing::TestInfo::increment_death_test_count ( )
inlineprivate

Definition at line 18120 of file gtest.h.

bool testing::TestInfo::is_reportable ( ) const
inline

Definition at line 18081 of file gtest.h.

const char* testing::TestInfo::name ( ) const
inline

Definition at line 18044 of file gtest.h.

const TestResult* testing::TestInfo::result ( ) const
inline

Definition at line 18089 of file gtest.h.

void testing::TestInfo::Run ( )
private

Definition at line 3784 of file gtest-all.cc.

bool testing::TestInfo::should_run ( ) const
inline

Definition at line 18078 of file gtest.h.

const char* testing::TestInfo::test_case_name ( ) const
inline

Definition at line 18041 of file gtest.h.

const char* testing::TestInfo::type_param ( ) const
inline

Definition at line 18048 of file gtest.h.

const char* testing::TestInfo::value_param ( ) const
inline

Definition at line 18056 of file gtest.h.

Friends And Related Function Documentation

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 
)
friend
friend class internal::StreamingListenerTest
friend

Definition at line 18098 of file gtest.h.

friend class internal::UnitTestImpl
friend

Definition at line 18097 of file gtest.h.

friend class Test
friend

Definition at line 18095 of file gtest.h.

friend class TestCase
friend

Definition at line 18096 of file gtest.h.

Member Data Documentation

internal::TestFactoryBase* const testing::TestInfo::factory_
private

Definition at line 18146 of file gtest.h.

const internal::TypeId testing::TestInfo::fixture_class_id_
private

Definition at line 18141 of file gtest.h.

bool testing::TestInfo::is_disabled_
private

Definition at line 18143 of file gtest.h.

bool testing::TestInfo::matches_filter_
private

Definition at line 18144 of file gtest.h.

const std::string testing::TestInfo::name_
private

Definition at line 18134 of file gtest.h.

TestResult testing::TestInfo::result_
private

Definition at line 18151 of file gtest.h.

bool testing::TestInfo::should_run_
private

Definition at line 18142 of file gtest.h.

const std::string testing::TestInfo::test_case_name_
private

Definition at line 18133 of file gtest.h.

const internal::scoped_ptr<const ::std::string> testing::TestInfo::type_param_
private

Definition at line 18137 of file gtest.h.

const internal::scoped_ptr<const ::std::string> testing::TestInfo::value_param_
private

Definition at line 18140 of file gtest.h.


The documentation for this class was generated from the following files:


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Wed Mar 27 2019 03:02:16