OTest2
A C++ testing framework
|
Ordinary implementation of the Runner interface. More...
#include <runnerordinary.h>
Classes | |
struct | Impl |
Public Member Functions | |
RunnerOrdinary (const RunnerOrdinary &)=delete | |
RunnerOrdinary & | operator= (const RunnerOrdinary &)=delete |
RunnerOrdinary (TimeSource *time_source_, ExcCatcher *exc_catcher_, Reporter *reporter_, TestMarkFactory *test_mark_factory_, TestMarkStorage *test_mark_storage_, UserData *user_data_, ScenarioIterPtr test_scenario_) | |
Ctor. More... | |
virtual | ~RunnerOrdinary () |
Dtor. More... | |
virtual RunnerResult | runNext () override |
Run next pack of work. More... | |
![]() | |
Runner (const Runner &)=delete | |
Runner & | operator= (const Runner &)=delete |
Runner () | |
Ctor. More... | |
virtual | ~Runner () |
Dtor. More... | |
Ordinary implementation of the Runner interface.
This implementation keeps a stack of commands and runs them until the stack is empty.
Definition at line 42 of file runnerordinary.h.
|
delete |
|
explicit |
Ctor.
time_source_ | A source of current time. The ownership is not taken. |
exc_catcher_ | An exception catcher. The ownership is not taken. |
reporter_ | A reporter object. The ownership is not taken. |
test_mark_factory_ | A factory of test mark nodes. The ownership is not taken. |
test_mark_storage_ | Storage of test marks. The ownership is not taken. |
user_data_ | A container keeping user's data passed into the test. The ownership is not taken. |
test_registry_ | An iterator of the root scenario object |
Definition at line 99 of file runnerordinary.cpp.
|
virtual |
Dtor.
Definition at line 119 of file runnerordinary.cpp.
|
delete |
|
overridevirtual |
Run next pack of work.
Implements OTest2::Runner.
Definition at line 123 of file runnerordinary.cpp.