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

Description

Test:
creating several Assets and checking object identity, detection of duplicates and version handling.
See also
proc_interface::AssetManager::reg

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

Private Types

typedef shared_ptr< asset::MediaPM
 

Private Member Functions

virtual void run (Arg arg)
 
void createDuplicate ()
 

Member Typedef Documentation

◆ PM

typedef shared_ptr<asset::Media> PM
private

Definition at line 63 of file identity-of-assets-test.cpp.

Member Function Documentation

◆ run()

virtual void run ( Arg  arg)
inlineprivatevirtual

Definition at line 52 of file identity-of-assets-test.cpp.

References IdentityOfAssets_test::createDuplicate(), and steam::asset::dumpAssetManager().

+ Here is the call graph for this function:

◆ createDuplicate()

void createDuplicate ( )
inlineprivate
Test:
produce an ID clash. documents the current behaviour of the code as of 9/07
Todo:
this test is expected to break when the detection of duplicate registrations is implemented.

Definition at line 70 of file identity-of-assets-test.cpp.

References Media::create, AssetManager::getAsset(), AssetManager::instance, AssetManager::known(), and steam::asset::VIDEO.

Referenced by IdentityOfAssets_test::run().

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

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