Lumiera
0.pre.03
»edit your freedom«
|
Using mock-subsystems, which actually spawn a thread and finish by themselves and generally behave sane. For each such MockSys, we can define a behaviour pattern, e.g. weather the start succeeds and if the run terminates with error.
Definition at line 270 of file subsystem-runner-test.cpp.
Private Member Functions | |
void | dependentSubsys_complete_cycle () |
void | dependentSubsys_start_failure () |
virtual void | run (Arg) |
void | singleSubsys_complete_cycle () |
void | singleSubsys_emegency_exit () |
void | singleSubsys_start_failure () |
Additional Inherited Members | |
Public Member Functions inherited from Test | |
virtual | ~Test ()=default |
this is an interface | |
lib::Random | makeRandGen () |
build a dedicated new RandomGen, seeded from the default-Gen | |
virtual void | run (Arg arg)=0 |
void | seedRand () |
draw a new random seed from a common nucleus, and re-seed the default-Gen. | |
Static Public Member Functions inherited from Test | |
static string | firstTok (Arg) |
conveniently pick the first token from the argument line | |
static uint | firstVal (Arg, uint=1) |
conveniently use some number given as argument, with optional default | |
|
inlineprivate |
Definition at line 315 of file subsystem-runner-test.cpp.