Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
EngineInterface_test Class Reference

Description

Test:
cover the basic service exposed at the engine interface: create a calculation stream and verify the translation into individual jobs.

This test relies on the engine's diagnostic facilities, allowing to log and verify the generated jobs without needing to execute them. So this test doesn't actually run the engine. There are other tests covering the output generation separate from the engine.

See also
CalcStream_test more in-depth coverage of the various flavours of calculation streams supported by the engine
EngineService
CalcStream
OutputSlotProtocol_test

Definition at line 75 of file engine-interface-test.cpp.

Private Member Functions

virtual void run (Arg)
 

Additional Inherited Members

- 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
 
- Public Member Functions inherited from Test
virtual ~Test ()=default
 this is an interface
 
virtual void run (Arg arg)=0
 
void seedRand ()
 draw a new random seed from a common nucleus, and re-seed the default-Gen.
 
lib::Random makeRandGen ()
 build a dedicated new RandomGen, seeded from the default-Gen
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 79 of file engine-interface-test.cpp.

References OutputSlot::allocate(), DiagnosticOutputSlot::build(), EngineDiagnostics::has_scheduled_jobs_for(), EngineService::instance, FrameRate::PAL, and Pipe::query().

+ Here is the call graph for this function:
+ Inheritance diagram for EngineInterface_test:
+ Collaboration diagram for EngineInterface_test:

The documentation for this class was generated from the following file: