Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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 48 of file dependent-assets-test.cpp.

Private Types

typedef TestAsset< AssetTA
 
typedef TA::PA PTestA
 

Private Member Functions

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

Member Typedef Documentation

◆ TA

typedef TestAsset<Asset> TA
private

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

◆ PTestA

typedef TA::PA PTestA
private

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

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

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

References DependentAssets_test::checkDependencyMechanics(), DependentAssets_test::checkEnablementPropagation(), DependentAssets_test::checkRealAssetDependencyRegistration(), and DependentAssets_test::checkUnlinking().

+ Here is the call graph for this function:

◆ checkDependencyMechanics()

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

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

Referenced by DependentAssets_test::run().

+ Here is the caller graph for this function:

◆ checkUnlinking()

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

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

Referenced by DependentAssets_test::run().

+ Here is the caller graph for this function:

◆ checkEnablementPropagation()

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

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

Referenced by DependentAssets_test::run().

+ Here is the caller graph for this function:

◆ 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 192 of file dependent-assets-test.cpp.

References Media::create, steam::asset::dependencyCheck(), and steam::asset::VIDEO.

Referenced by DependentAssets_test::run().

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

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