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

Description

Test:
the handling of Assets dependent on other Assets and the enabling/disabling of Assets.
See also
asset::Asset
asset::Clip

Definition at line 57 of file dependent-assets-test.cpp.

Private Types

typedef TA::PA PTestA
 
typedef TestAsset< AssetTA
 

Private Member Functions

void checkDependencyMechanics ()
 
void checkEnablementPropagation ()
 
void checkRealAssetDependencyRegistration ()
 
void checkUnlinking ()
 
virtual void run (Arg)
 

Member Function Documentation

◆ checkDependencyMechanics()

void checkDependencyMechanics ( )
inlineprivate
Test:
check operation of basic asset dependency support

Definition at line 73 of file dependent-assets-test.cpp.

◆ checkUnlinking()

void checkUnlinking ( )
inlineprivate
Test:
unlink operation removing inter asset links

Definition at line 93 of file dependent-assets-test.cpp.

◆ checkEnablementPropagation()

void checkEnablementPropagation ( )
inlineprivate
Test:
enabling and disabling an asset should propagate to dependant assets

Definition at line 129 of file dependent-assets-test.cpp.

◆ checkRealAssetDependencyRegistration()

void checkRealAssetDependencyRegistration ( )
inlineprivate
Test:
each real world asset subclass has to care for registering and deregistering any additional dependencies.

Here we collect some more prominent examples (and hopefully don't fail to cover any important special cases...)

Definition at line 201 of file dependent-assets-test.cpp.

+ Inheritance diagram for DependentAssets_test:
+ Collaboration diagram for DependentAssets_test:

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