Lumiera  0.pre.03
»edit your freedom«
JobPlanning_test Class Reference

Description

Test:
document and verify the data aggregation and the calculations necessary to prepare render jobs for scheduling.

Definition at line 50 of file job-planning-test.cpp.

Private Member Functions

void calculateDeadline ()
 
virtual void run (Arg)
 
void setupDependentJob ()
 
void simpleUsage ()
 

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
 

Member Function Documentation

◆ simpleUsage()

void simpleUsage ( )
inlineprivate
Test:
demonstrate a simple usage scenario

Definition at line 67 of file job-planning-test.cpp.

References MockDispatcher::getDummyConnection(), MockDispatcher::getJobTicketFor(), FrameRate::PAL, MockDispatcher::resolveModelPort(), and MockDispatcher::verify().

+ Here is the call graph for this function:

◆ calculateDeadline()

void calculateDeadline ( )
inlineprivate
Test:
verify the timing calculations to establish the scheduling deadline of a simple render job

Definition at line 90 of file job-planning-test.cpp.

References Time::ANYTIME, MockDispatcher::getDummyConnection(), JobTicket::getExpectedRuntime(), MockDispatcher::getJobTicketFor(), FrameRate::PAL, and MockDispatcher::resolveModelPort().

+ Here is the call graph for this function:

◆ setupDependentJob()

void setupDependentJob ( )
inlineprivate
Test:
verify the setup of a prerequisite job in relation to the master job depending on this prerequisite

Definition at line 136 of file job-planning-test.cpp.

+ Inheritance diagram for JobPlanning_test:
+ Collaboration diagram for JobPlanning_test:

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