![]() |
Lumiera 0.pre.04
»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 | 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. | |
| lib::Cmdline | dummyArgs ("") |
| dummy options just to be ignored | |
| lumiera::Option | dummyOpt (dummyArgs) |
|
inline |
Definition at line 64 of file subsystem-runner-test.cpp.
References draw_rand_runtime(), MAX_RUNNING_TIME_ms, and MIN_RUNNING_TIME_ms.
Referenced by draw_rand_runtime().
Here is the call graph for this function:
Here is the caller graph for this function:| LUMIERA_ERROR_DEFINE | ( | TEST | , |
| "simulated failure." | |||
| ) |
marker for simulated failure exceptions
| const uint MAX_RUNNING_TIME_ms = 80 |
limit for the randomly selected duration of subsystem's running phase (milliseconds)
Definition at line 60 of file subsystem-runner-test.cpp.
Referenced by draw_rand_runtime().
| const uint MIN_RUNNING_TIME_ms = 20 |
Definition at line 61 of file subsystem-runner-test.cpp.
Referenced by draw_rand_runtime().
| const uint TICK_DURATION_ms = 5 |
the "running" subsystem checks for a shutdown request every XX milliseconds
Definition at line 72 of file subsystem-runner-test.cpp.
Referenced by MockSys::run().
| 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.
| lib::Cmdline dummyArgs("") | ( | "" | ) |
dummy options just to be ignored
| lumiera::Option dummyOpt(dummyArgs) | ( | dummyArgs | ) |