Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

using ParamType = typename TestSuite::ParamType
 
using ParamNameGeneratorFunc = std::string(const TestParamInfo< ParamType > &)
 

Public Member Functions

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

Private Types

using TestInfoContainer = ::std::vector< std::shared_ptr< TestInfo > >
 
typedef ::std::vector
< InstantiationInfo
InstantiationContainer
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ParameterizedTestSuiteInfo)
 

Static Private Member Functions

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

Private Attributes

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

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 496 of file gtest-param-util.h.

Member Typedef Documentation

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

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

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

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

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

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

template<class TestSuite>
typedef testing::internal::ParameterizedTestSuiteInfo< TestSuite >::ParamGenerator ( GeneratorCreationFunc  )
template<class TestSuite>
const std::string& testing::internal::ParameterizedTestSuiteInfo< TestSuite >::GetTestSuiteName ( ) const
inlineoverridevirtual
template<class TestSuite>
TypeId testing::internal::ParameterizedTestSuiteInfo< TestSuite >::GetTestSuiteTypeId ( ) const
inlineoverridevirtual
template<class TestSuite>
void testing::internal::ParameterizedTestSuiteInfo< TestSuite >::AddTestPattern ( const char *  test_suite_name,
const char *  test_base_name,
TestMetaFactoryBase< ParamType > *  meta_factory,
CodeLocation  code_location 
)
inline

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

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 530 of file gtest-param-util.h.

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

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

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

Member Data Documentation

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

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

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

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

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

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

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

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


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