OTest2
A C++ testing framework
lib
command.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 Ondrej Starek
3
*
4
* This file is part of OTest2.
5
*
6
* OTest2 is free software: you can redistribute it and/or modify it under
7
* the terms of the GNU Lesser General Public License as published by
8
* the Free Software Foundation, either version 3 of the License,
9
* or (at your option) any later version.
10
*
11
* OTest2 is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14
* License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public License
17
* along with OTest2. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#include <
command.h
>
21
22
namespace
OTest2
{
23
24
Command::Command
() {
25
26
}
27
28
Command::~Command
() {
29
30
}
31
32
bool
Command::shouldWait
(
33
const
Context
& context_,
34
int
& delay_) {
35
return
false
;
36
}
37
38
}
/* namespace OTest2 */
OTest2::Command::~Command
virtual ~Command()
Dtor.
Definition:
command.cpp:28
command.h
OTest2::Command::shouldWait
virtual bool shouldWait(const Context &context_, int &delay_)
Say whether the framework should wait before running the command.
Definition:
command.cpp:32
OTest2
Definition:
assertbean.h:25
OTest2::Context
OTest2 runtime context.
Definition:
context.h:38
OTest2::Command::Command
Command()
Ctor.
Definition:
command.cpp:24
Generated by
1.8.17