Lumiera
0.pre.03
»edit your freedom«
|
Classes | |
class | MockSys |
A simulated "Lumiera Subsystem". More... | |
Functions | |
int | draw_rand_runtime () |
LUMIERA_ERROR_DEFINE (TEST, "simulated failure.") | |
marker for simulated failure exceptions | |
Variables | |
const uint | DELAY_FOR_FLOUNDERING_THRAD_ms = 20 |
due to a shortcoming of this test fixture, a floundering subsystem continues to run for a short time after the sync barrier. More... | |
lib::Cmdline | dummyArgs ("") |
dummy options just to be ignored | |
lumiera::Option | dummyOpt (dummyArgs) |
const uint | MAX_RUNNING_TIME_ms = 80 |
limit for the randomly selected duration of subsystem's running phase (milliseconds) | |
const uint | MIN_RUNNING_TIME_ms = 20 |
const uint | TICK_DURATION_ms = 5 |
the "running" subsystem checks for a shutdown request every XX milliseconds | |
const uint DELAY_FOR_FLOUNDERING_THRAD_ms = 20 |
due to a shortcoming of this test fixture, a floundering subsystem continues to run for a short time after the sync barrier.
Relevant for singleSubsys_start_failure().
Definition at line 79 of file subsystem-runner-test.cpp.