OTest2
A C++ testing framework
Public Member Functions | List of all members
OTest2::Case Class Reference

Interface of a test case. More...

#include <case.h>

Inheritance diagram for OTest2::Case:
Inheritance graph
[legend]
Collaboration diagram for OTest2::Case:
Collaboration graph
[legend]

Public Member Functions

 Case ()
 Ctor. More...
 
virtual ~Case ()
 Dtor. More...
 
 Case (const Case &)=delete
 
Caseoperator= (const Case &)=delete
 
- Public Member Functions inherited from OTest2::ObjectScenario
 ObjectScenario ()
 Dtor. More...
 
virtual ~ObjectScenario ()
 Dtor. More...
 
 ObjectScenario (const ObjectScenario &)=delete
 
ObjectScenariooperator= (const ObjectScenario &)=delete
 
virtual bool startUpObject (const Context &context_, int index_)=0
 Execute start-up function at specified index. More...
 
virtual void scheduleBody (const Context &context_, ScenarioPtr scenario_, ObjectPtr me_)=0
 Schedule body of the testing object. More...
 
virtual void tearDownObject (const Context &context_, int index_)=0
 Execute tear-down function at specified index. More...
 
- Public Member Functions inherited from OTest2::Object
 Object (const Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object ()
 Ctor. More...
 
virtual ~Object ()
 Dtor. More...
 
virtual std::string getName () const =0
 Get object's name. More...
 

Detailed Description

Interface of a test case.

Definition at line 30 of file case.h.

Constructor & Destructor Documentation

◆ Case() [1/2]

OTest2::Case::Case ( )

Ctor.

Definition at line 24 of file case.cpp.

◆ ~Case()

OTest2::Case::~Case ( )
virtual

Dtor.

Definition at line 28 of file case.cpp.

◆ Case() [2/2]

OTest2::Case::Case ( const Case )
delete

Member Function Documentation

◆ operator=()

Case& OTest2::Case::operator= ( const Case )
delete

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