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

Description

Test:
check the stream type registration lifecycle.

Any internal or external component (plugin) can extend the Steam Layer's registry of media stream types. There is a basic pristine set of type information, which is restored automatically every time the STypeManager is reset, which in turn happens before loading a (new) Session.

Definition at line 72 of file stream-type-lifecycle-test.cpp.

Private Member Functions

void check_pristineState ()
 
void register_additional_TypeInfo ()
 
virtual void run (Arg arg)
 

Member Function Documentation

◆ check_pristineState()

void check_pristineState ( )
inlineprivate
Test:
this test defines a new (dummy) type info and schedules it for setup in the pristine state; check this info is actually present after resetting the stream type manager, while other additional info not scheduled in this manner is not present in this state

Definition at line 91 of file stream-type-lifecycle-test.cpp.

References Session::current, and SessManager::reset().

+ Here is the call graph for this function:

◆ register_additional_TypeInfo()

void register_additional_TypeInfo ( )
inlineprivate
Test:
use the stream type manager to register additional type info and verify it is used in type resolution.

Definition at line 102 of file stream-type-lifecycle-test.cpp.

References STypeManager::instance.

+ Inheritance diagram for StreamTypeLifecycle_test:
+ Collaboration diagram for StreamTypeLifecycle_test:

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