Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::ParameterizedTestFactory< TestClass > Class Template Reference

#include <gtest-param-util.h>

Inheritance diagram for testing::internal::ParameterizedTestFactory< TestClass >:
Collaboration diagram for testing::internal::ParameterizedTestFactory< TestClass >:

Public Types

typedef TestClass::ParamType ParamType
 

Public Member Functions

 ParameterizedTestFactory (ParamType parameter)
 
virtual TestCreateTest ()
 
- Public Member Functions inherited from testing::internal::TestFactoryBase
virtual ~TestFactoryBase ()
 

Additional Inherited Members

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

Detailed Description

template<class TestClass>
class testing::internal::ParameterizedTestFactory< TestClass >

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

Member Typedef Documentation

◆ ParamType

template<class TestClass >
TestClass::ParamType testing::internal::ParameterizedTestFactory< TestClass >::ParamType

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

Constructor & Destructor Documentation

◆ ParameterizedTestFactory()

template<class TestClass >
testing::internal::ParameterizedTestFactory< TestClass >::ParameterizedTestFactory ( ParamType parameter)
inlineexplicit

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

406 :
407 parameter_(parameter) {}
#define parameter
Definition pkcs11.h:165

Member Function Documentation

◆ CreateTest()

template<class TestClass >
virtual Test * testing::internal::ParameterizedTestFactory< TestClass >::CreateTest ( )
inlinevirtual

Implements testing::internal::TestFactoryBase.

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

408 {
409 TestClass::SetParam(&parameter_);
410 return new TestClass();
411 }

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