Compute Library
TestCase Class Reference

Abstract test case class. More...

#include <TestCase.h>

Public Member Functions

virtual void do_setup ()
 Setup the test. More...
virtual void do_run ()
 Run the test. More...
virtual void do_sync ()
 Sync the test. More...
virtual void do_teardown ()
 Teardown the test. More...
virtual ~TestCase ()=default
 Default destructor. More...


class TestCaseFactory

Detailed Description

Abstract test case class.

All test cases have to inherit from this class.

Definition at line 40 of file TestCase.h.

Constructor & Destructor Documentation

◆ ~TestCase()

virtual ~TestCase ( )

Default destructor.

Referenced by TestCase::do_teardown().

Member Function Documentation

◆ do_run()

virtual void do_run ( )

Run the test.

Definition at line 46 of file TestCase.h.

46 {};

◆ do_setup()

virtual void do_setup ( )

Setup the test.

Definition at line 44 of file TestCase.h.

44 {};

◆ do_sync()

virtual void do_sync ( )

Sync the test.

Definition at line 48 of file TestCase.h.

48 {};

◆ do_teardown()

virtual void do_teardown ( )

Teardown the test.

Definition at line 50 of file TestCase.h.

References TestCase::~TestCase().

50 {};

Friends And Related Function Documentation

◆ TestCaseFactory

friend class TestCaseFactory

Definition at line 58 of file TestCase.h.

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