Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
testing::internal::ParameterizedTestCaseInfo< TestCase > Class Template Reference

#include <gtest.h>

Inheritance diagram for testing::internal::ParameterizedTestCaseInfo< TestCase >:
Inheritance graph
[legend]

Classes

struct  TestInfo
 

Public Types

typedef TestCase::ParamType ParamType
 

Public Member Functions

int AddTestCaseInstantiation (const string &instantiation_name, GeneratorCreationFunc *func, const char *, int)
 
void AddTestPattern (const char *test_case_name, const char *test_base_name, TestMetaFactoryBase< ParamType > *meta_factory)
 
virtual const stringGetTestCaseName () const
 
virtual TypeId GetTestCaseTypeId () const
 
 ParameterizedTestCaseInfo (const char *name)
 
typedef ParamGenerator (GeneratorCreationFunc)()
 
virtual void RegisterTests ()
 
- Public Member Functions inherited from testing::internal::ParameterizedTestCaseInfoBase
virtual ~ParameterizedTestCaseInfoBase ()
 

Private Types

typedef ::std::vector< std::pair< string, GeneratorCreationFunc * > > InstantiationContainer
 
typedef ::std::vector< linked_ptr< TestInfo > > TestInfoContainer
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ParameterizedTestCaseInfo)
 

Private Attributes

InstantiationContainer instantiations_
 
const string test_case_name_
 
TestInfoContainer tests_
 

Additional Inherited Members

- Protected Member Functions inherited from testing::internal::ParameterizedTestCaseInfoBase
 ParameterizedTestCaseInfoBase ()
 

Detailed Description

template<class TestCase>
class testing::internal::ParameterizedTestCaseInfo< TestCase >

Definition at line 10443 of file gtest.h.

Member Typedef Documentation

◆ InstantiationContainer

template<class TestCase >
typedef ::std::vector<std::pair<string, GeneratorCreationFunc*> > testing::internal::ParameterizedTestCaseInfo< TestCase >::InstantiationContainer
private

Definition at line 10540 of file gtest.h.

◆ ParamType

template<class TestCase >
typedef TestCase::ParamType testing::internal::ParameterizedTestCaseInfo< TestCase >::ParamType

Definition at line 10448 of file gtest.h.

◆ TestInfoContainer

template<class TestCase >
typedef ::std::vector<linked_ptr<TestInfo> > testing::internal::ParameterizedTestCaseInfo< TestCase >::TestInfoContainer
private

Definition at line 10536 of file gtest.h.

Constructor & Destructor Documentation

◆ ParameterizedTestCaseInfo()

template<class TestCase >
testing::internal::ParameterizedTestCaseInfo< TestCase >::ParameterizedTestCaseInfo ( const char *  name)
inlineexplicit

Definition at line 10452 of file gtest.h.

Member Function Documentation

◆ AddTestCaseInstantiation()

template<class TestCase >
int testing::internal::ParameterizedTestCaseInfo< TestCase >::AddTestCaseInstantiation ( const string instantiation_name,
GeneratorCreationFunc *  func,
const char *  ,
int   
)
inline

Definition at line 10474 of file gtest.h.

◆ AddTestPattern()

template<class TestCase >
void testing::internal::ParameterizedTestCaseInfo< TestCase >::AddTestPattern ( const char *  test_case_name,
const char *  test_base_name,
TestMetaFactoryBase< ParamType > *  meta_factory 
)
inline

Definition at line 10465 of file gtest.h.

◆ GetTestCaseName()

template<class TestCase >
virtual const string& testing::internal::ParameterizedTestCaseInfo< TestCase >::GetTestCaseName ( ) const
inlinevirtual

Implements testing::internal::ParameterizedTestCaseInfoBase.

Definition at line 10456 of file gtest.h.

◆ GetTestCaseTypeId()

template<class TestCase >
virtual TypeId testing::internal::ParameterizedTestCaseInfo< TestCase >::GetTestCaseTypeId ( ) const
inlinevirtual

Implements testing::internal::ParameterizedTestCaseInfoBase.

Definition at line 10458 of file gtest.h.

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

template<class TestCase >
testing::internal::ParameterizedTestCaseInfo< TestCase >::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ParameterizedTestCaseInfo< TestCase )
private

◆ ParamGenerator()

template<class TestCase >
typedef testing::internal::ParameterizedTestCaseInfo< TestCase >::ParamGenerator ( GeneratorCreationFunc  )

◆ RegisterTests()

template<class TestCase >
virtual void testing::internal::ParameterizedTestCaseInfo< TestCase >::RegisterTests ( )
inlinevirtual

Implements testing::internal::ParameterizedTestCaseInfoBase.

Definition at line 10486 of file gtest.h.

Member Data Documentation

◆ instantiations_

template<class TestCase >
InstantiationContainer testing::internal::ParameterizedTestCaseInfo< TestCase >::instantiations_
private

Definition at line 10544 of file gtest.h.

◆ test_case_name_

template<class TestCase >
const string testing::internal::ParameterizedTestCaseInfo< TestCase >::test_case_name_
private

Definition at line 10542 of file gtest.h.

◆ tests_

template<class TestCase >
TestInfoContainer testing::internal::ParameterizedTestCaseInfo< TestCase >::tests_
private

Definition at line 10543 of file gtest.h.


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


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Tue Nov 15 2022 03:17:24