cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
CommonTest< T > Class Template Reference
Inheritance diagram for CommonTest< T >:
testing::Test DerivedTest< T >

Static Public Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 
static void TearDownTestCase ()
 
static void SetUpTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool IsSkipped ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
template<typename T , std::enable_if_t< std::is_convertible< T, int64_t >::value, bool > = true>
static void RecordProperty (const std::string &key, const T &value)
 

Protected Types

typedef std::vector< TVector
 
typedef std::set< int > IntSet
 

Protected Member Functions

 CommonTest ()
 
 ~CommonTest () override
 
void SetUp () override
 
void TearDown () override
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

T value_
 

Static Protected Attributes

static Tshared_ = nullptr
 

Additional Inherited Members

- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Member Typedef Documentation

◆ IntSet

template<typename T >
typedef std::set<int> CommonTest< T >::IntSet
protected

◆ Vector

template<typename T >
typedef std::vector<T> CommonTest< T >::Vector
protected

Constructor & Destructor Documentation

◆ CommonTest()

template<typename T >
CommonTest< T >::CommonTest ( )
inlineprotected

◆ ~CommonTest()

template<typename T >
CommonTest< T >::~CommonTest ( )
inlineoverrideprotected

Member Function Documentation

◆ SetUp()

template<typename T >
void CommonTest< T >::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

◆ SetUpTestSuite()

template<typename T >
static void CommonTest< T >::SetUpTestSuite ( )
inlinestatic

◆ TearDown()

template<typename T >
void CommonTest< T >::TearDown ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

◆ TearDownTestSuite()

template<typename T >
static void CommonTest< T >::TearDownTestSuite ( )
inlinestatic

Member Data Documentation

◆ shared_

template<typename T >
T * CommonTest< T >::shared_ = nullptr
staticprotected

◆ value_

template<typename T >
T CommonTest< T >::value_
protected

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