OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2__INCLUDE_OTEST2_COMMANDSTACK_H_
21 #define OTest2__INCLUDE_OTEST2_COMMANDSTACK_H_
CommandStack & operator=(const CommandStack &)=delete
void popCommand()
Pop a command from the top of the stack.
void pushCommand(CommandPtr command_)
Push a command into the stack.
bool empty() const
Check whether the stack is empty.
void replaceCommand(CommandPtr command_)
Replace a command at the top of the stack.
CommandPtr topCommand() const
Get the top command.
std::shared_ptr< Command > CommandPtr
Stack of framework commands.