libept
Public Member Functions | List of all members
ept::tests::Fixture Struct Reference

Base class for test fixtures. More...

#include <tests.h>

Public Member Functions

virtual ~Fixture ()
 
virtual void test_setup ()
 
virtual void test_teardown ()
 

Detailed Description

Base class for test fixtures.

A fixture will have a constructor and a destructor to do setup/teardown, and a reset() function to be called inbetween tests.

Fixtures do not need to descend from Fixture: this implementation is provided as a default for tests that do not need one, or as a base for fixtures that do not need reset().

Constructor & Destructor Documentation

◆ ~Fixture()

virtual ept::tests::Fixture::~Fixture ( )
inlinevirtual

Member Function Documentation

◆ test_setup()

virtual void ept::tests::Fixture::test_setup ( )
inlinevirtual

◆ test_teardown()

virtual void ept::tests::Fixture::test_teardown ( )
inlinevirtual

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