Compute Library
Fixture Class Reference

Abstract fixture class. More...

#include <Fixture.h>

Public Member Functions

void setup ()
 Setup function. More...
void teardown ()
 Teardown function. More...

Detailed Description

Abstract fixture class.

All custom fixtures have to inherit from this class.

Definition at line 37 of file Fixture.h.

Member Function Documentation

◆ setup()

void setup ( )

Setup function.

This function is only invoked by non-data fixture test cases. Fixture data test cases implement a setup function with arguments matching the dataset.

The function is called before the test case is executed.

Definition at line 48 of file Fixture.h.

48 {};

◆ teardown()

void teardown ( )

Teardown function.

The function is called after the test case finished.

Definition at line 54 of file Fixture.h.

54 {};

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