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

#include <gtest-param-util.h>

Inheritance diagram for testing::internal::ParameterizedTestSuiteInfo< TestSuite >:
Inheritance graph
[legend]

Classes

struct  InstantiationInfo
 
struct  TestInfo
 

Public Types

typedef ParamNameGenFunc< ParamType >::Type ParamNameGeneratorFunc
 
using ParamType = typename TestSuite::ParamType
 

Public Member Functions

void AddTestPattern (const char *test_suite_name, const char *test_base_name, TestMetaFactoryBase< ParamType > *meta_factory)
 
int AddTestSuiteInstantiation (const std::string &instantiation_name, GeneratorCreationFunc *func, ParamNameGeneratorFunc *name_func, const char *file, int line)
 
const std::stringGetTestSuiteName () const override
 
TypeId GetTestSuiteTypeId () const override
 
 ParameterizedTestSuiteInfo (const char *name, CodeLocation code_location)
 
typedef ParamGenerator (GeneratorCreationFunc)()
 
void RegisterTests () override
 
- Public Member Functions inherited from testing::internal::ParameterizedTestSuiteInfoBase
virtual ~ParameterizedTestSuiteInfoBase ()
 

Private Types

typedef ::std::vector< InstantiationInfoInstantiationContainer
 
using TestInfoContainer = ::std::vector< std::shared_ptr< TestInfo > >
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ParameterizedTestSuiteInfo)
 

Static Private Member Functions

static bool IsValidParamName (const std::string &name)
 

Private Attributes

CodeLocation code_location_
 
InstantiationContainer instantiations_
 
const std::string test_suite_name_
 
TestInfoContainer tests_
 

Additional Inherited Members

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

Detailed Description

template<class TestSuite>
class testing::internal::ParameterizedTestSuiteInfo< TestSuite >

Definition at line 495 of file gtest-param-util.h.

Member Typedef Documentation

◆ InstantiationContainer

template<class TestSuite >
typedef ::std::vector<InstantiationInfo> testing::internal::ParameterizedTestSuiteInfo< TestSuite >::InstantiationContainer
private

Definition at line 630 of file gtest-param-util.h.

◆ ParamNameGeneratorFunc

Definition at line 503 of file gtest-param-util.h.

◆ ParamType

template<class TestSuite >
using testing::internal::ParameterizedTestSuiteInfo< TestSuite >::ParamType = typename TestSuite::ParamType

Definition at line 500 of file gtest-param-util.h.

◆ TestInfoContainer

template<class TestSuite >
using testing::internal::ParameterizedTestSuiteInfo< TestSuite >::TestInfoContainer = ::std::vector<std::shared_ptr<TestInfo> >
private

Definition at line 608 of file gtest-param-util.h.

Constructor & Destructor Documentation

◆ ParameterizedTestSuiteInfo()

template<class TestSuite >
testing::internal::ParameterizedTestSuiteInfo< TestSuite >::ParameterizedTestSuiteInfo ( const char *  name,
CodeLocation  code_location 
)
inlineexplicit

Definition at line 505 of file gtest-param-util.h.

Member Function Documentation

◆ AddTestPattern()

template<class TestSuite >
void testing::internal::ParameterizedTestSuiteInfo< TestSuite >::AddTestPattern ( const char *  test_suite_name,
const char *  test_base_name,
TestMetaFactoryBase< ParamType > *  meta_factory 
)
inline

Definition at line 521 of file gtest-param-util.h.

◆ AddTestSuiteInstantiation()

template<class TestSuite >
int testing::internal::ParameterizedTestSuiteInfo< TestSuite >::AddTestSuiteInstantiation ( const std::string instantiation_name,
GeneratorCreationFunc *  func,
ParamNameGeneratorFunc name_func,
const char *  file,
int  line 
)
inline

Definition at line 528 of file gtest-param-util.h.

◆ GetTestSuiteName()

template<class TestSuite >
const std::string& testing::internal::ParameterizedTestSuiteInfo< TestSuite >::GetTestSuiteName ( ) const
inlineoverridevirtual

◆ GetTestSuiteTypeId()

template<class TestSuite >
TypeId testing::internal::ParameterizedTestSuiteInfo< TestSuite >::GetTestSuiteTypeId ( ) const
inlineoverridevirtual

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

template<class TestSuite >
testing::internal::ParameterizedTestSuiteInfo< TestSuite >::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ParameterizedTestSuiteInfo< TestSuite )
private

◆ IsValidParamName()

template<class TestSuite >
static bool testing::internal::ParameterizedTestSuiteInfo< TestSuite >::IsValidParamName ( const std::string name)
inlinestaticprivate

Definition at line 632 of file gtest-param-util.h.

◆ ParamGenerator()

template<class TestSuite >
typedef testing::internal::ParameterizedTestSuiteInfo< TestSuite >::ParamGenerator ( GeneratorCreationFunc  )

◆ RegisterTests()

template<class TestSuite >
void testing::internal::ParameterizedTestSuiteInfo< TestSuite >::RegisterTests ( )
inlineoverridevirtual

Member Data Documentation

◆ code_location_

template<class TestSuite >
CodeLocation testing::internal::ParameterizedTestSuiteInfo< TestSuite >::code_location_
private

Definition at line 647 of file gtest-param-util.h.

◆ instantiations_

template<class TestSuite >
InstantiationContainer testing::internal::ParameterizedTestSuiteInfo< TestSuite >::instantiations_
private

Definition at line 649 of file gtest-param-util.h.

◆ test_suite_name_

template<class TestSuite >
const std::string testing::internal::ParameterizedTestSuiteInfo< TestSuite >::test_suite_name_
private

Definition at line 646 of file gtest-param-util.h.

◆ tests_

template<class TestSuite >
TestInfoContainer testing::internal::ParameterizedTestSuiteInfo< TestSuite >::tests_
private

Definition at line 648 of file gtest-param-util.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11