40 ::Local<vault::test::MediaAccessMock>;
52 virtual void run(Arg arg)
58 TRACE (asset_mem,
"leaving IdentityOfAssets_test::run()");
63 typedef shared_ptr<asset::Media>
PM;
82 CHECK (mm1->getID() == mm2->getID());
85 CHECK (aMang.
getAsset (mm1->getID()) == mm2);
86 CHECK (aMang.
getAsset (mm2->getID()) == mm2);
88 CHECK (aMang.
known (mm1->getID()));
89 CHECK (aMang.
known (mm2->getID()));
90 CHECK (mm1->ident.name ==
"test-1");
91 CHECK (mm2->ident.name ==
"test-1");
92 CHECK (mm1->getFilename() ==
"test-1.mov");
93 CHECK (mm2->getFilename() ==
"test-2.mov");
96 TRACE (asset_mem,
"leaving test method scope");
Small helper and diagnostic functions related to Asset and AssetManager.
Steam-Layer Interface: Asset Lookup and Organisation.
This framework allows to (re)configure the lib::Depend front-end for dependency-injection.
Facade for the Asset subsystem.
lib::P< KIND > getAsset(const ID< KIND > &id)
find and return corresponding object
static lib::Depend< AssetManager > instance
get at the system-wide asset manager instance.
shared_ptr< asset::Media > PM
virtual void run(Arg arg)
Per type specific configuration of instances created as service dependencies.
This header is for including and configuring NoBug.
lib::DependInject< vault::MediaAccessFacade > ::Local< vault::test::MediaAccessMock > MediaAccessMock
The asset subsystem of the Steam-Layer.
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
bool isnil(lib::time::Duration const &dur)
Data processing Plugins and Codecs can be treated as a specific Kind of Asset.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
a POD comprised of all the information sufficiently identifying any given Asset.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...