Xmipp  v3.23.11-Nereus
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
testing::WithParamInterface< T > Class Template Reference

#include <gtest.h>

Inheritance diagram for testing::WithParamInterface< T >:
Inheritance graph
[legend]

Public Types

typedef T ParamType
 

Public Member Functions

virtual ~WithParamInterface ()
 

Static Public Member Functions

static const ParamTypeGetParam ()
 

Friends

template<class TestClass >
class internal::ParameterizedTestFactory
 

Detailed Description

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

Definition at line 1669 of file gtest.h.

Member Typedef Documentation

◆ ParamType

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

Definition at line 1671 of file gtest.h.

Constructor & Destructor Documentation

◆ ~WithParamInterface()

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

Definition at line 1672 of file gtest.h.

1672 {}

Member Function Documentation

◆ GetParam()

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

Definition at line 1676 of file gtest.h.

1676  {
1677  GTEST_CHECK_(parameter_ != nullptr)
1678  << "GetParam() can only be called inside a value-parameterized test "
1679  << "-- did you intend to write TEST_P instead of TEST_F?";
1680  return *parameter_;
1681  }
#define GTEST_CHECK_(condition)
Definition: gtest-port.h:1025

Friends And Related Function Documentation

◆ internal::ParameterizedTestFactory

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

Definition at line 1693 of file gtest.h.


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