Lumiera  0.pre.03
»edit your freedom«
lumiera::test::anonymous_namespace{subsystem-runner-test.cpp} Namespace Reference

Classes

class  MockSys
 A simulated "Lumiera Subsystem". More...
 

Functions

 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
 

Variable Documentation

◆ DELAY_FOR_FLOUNDERING_THRAD_ms

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 81 of file subsystem-runner-test.cpp.