generic_test_fixture< T > Struct Template Reference

#include <generic_fixture.h>

Inheritance diagram for generic_test_fixture< T >:

Public Types

typedef ::testing::TestWithParam< generator_ptr< T > > parent_type
 
typedef generator_ptr< T > generator_type
 
typedef T value_type
 

Public Member Functions

 generic_test_fixture ()
 

Public Attributes

expected
 
actual
 
bool skip_test
 
::testing::Message msg
 
int test_modifier
 
const ::testing::AssertionResult fixture_test_result
 

Detailed Description

template<class T>
struct illumina::interop::unittest::generic_test_fixture< T >

Generic test fixture

This fixture will generated an expected and and actual object of any type. The objects are populated by parameters passed into GTest parameter interface.

Member Typedef Documentation

typedef ::testing::TestWithParam< generator_ptr<T> > parent_type

Get the type of the parent

typedef T value_type

Value type of the object to test

Constructor & Destructor Documentation

Constructor

Member Data Documentation

T actual

Actual object to test

T expected

Expected object to test

const ::testing::AssertionResult fixture_test_result

Error trying to generate the fixture

::testing::Message msg
bool skip_test

Skip running the test

int test_modifier

Flag for type of test


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