Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::WithParamInterface< T > Class Template Reference

#include <gtest.h>

Inheritance diagram for testing::WithParamInterface< T >:

Public Types

typedef T ParamType
 

Public Member Functions

virtual ~WithParamInterface ()
 
const ParamTypeGetParam () const
 

Friends

template<class TestClass >
class internal::ParameterizedTestFactory
 

Detailed Description

template<typename T>
class testing::WithParamInterface< T >

Definition at line 1783 of file gtest.h.

Member Typedef Documentation

◆ ParamType

template<typename T >
T testing::WithParamInterface< T >::ParamType

Definition at line 1785 of file gtest.h.

Constructor & Destructor Documentation

◆ ~WithParamInterface()

template<typename T >
virtual testing::WithParamInterface< T >::~WithParamInterface ( )
inlinevirtual

Definition at line 1786 of file gtest.h.

1786{}

Member Function Documentation

◆ GetParam()

template<typename T >
const ParamType & testing::WithParamInterface< T >::GetParam ( ) const
inline

Definition at line 1793 of file gtest.h.

1793 {
1794 GTEST_CHECK_(parameter_ != NULL)
1795 << "GetParam() can only be called inside a value-parameterized test "
1796 << "-- did you intend to write TEST_P instead of TEST_F?";
1797 return *parameter_;
1798 }
#define GTEST_CHECK_(condition)

Friends And Related Symbol Documentation

◆ internal::ParameterizedTestFactory

template<typename T >
template<class TestClass >
friend class internal::ParameterizedTestFactory
friend

Definition at line 1811 of file gtest.h.


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