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

Leaving of a testing object. More...

#include <cmdleaveobject.h>

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

Public Member Functions

 CmdLeaveObject (ScenarioPtr scenario_)
 Ctor. More...
 
virtual ~CmdLeaveObject ()
 Dtor. More...
 
 CmdLeaveObject (const CmdLeaveObject &)=delete
 
CmdLeaveObjectoperator= (const CmdLeaveObject &)=delete
 
virtual void run (const Context &context_) override
 Run the command. More...
 
- Public Member Functions inherited from OTest2::Command
 Command (const Command &)=delete
 
Commandoperator= (const Command &)=delete
 
 Command ()
 Ctor. More...
 
virtual ~Command ()
 Dtor. More...
 
virtual bool shouldWait (const Context &context_, int &delay_)
 Say whether the framework should wait before running the command. More...
 

Detailed Description

Leaving of a testing object.

Definition at line 33 of file cmdleaveobject.h.

Constructor & Destructor Documentation

◆ CmdLeaveObject() [1/2]

OTest2::CmdLeaveObject::CmdLeaveObject ( ScenarioPtr  scenario_)
explicit

Ctor.

Parameters
scenario_The scenario object representing the testing object

Definition at line 31 of file cmdleaveobject.cpp.

◆ ~CmdLeaveObject()

OTest2::CmdLeaveObject::~CmdLeaveObject ( )
virtual

Dtor.

Definition at line 38 of file cmdleaveobject.cpp.

◆ CmdLeaveObject() [2/2]

OTest2::CmdLeaveObject::CmdLeaveObject ( const CmdLeaveObject )
delete

Member Function Documentation

◆ operator=()

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

◆ run()

void OTest2::CmdLeaveObject::run ( const Context context_)
overridevirtual

Run the command.

Parameters
context_The OTest2 context

Implements OTest2::Command.

Definition at line 42 of file cmdleaveobject.cpp.


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