52 using namespace mobject::test;
55 ::Local<vault::test::MediaAccessMock>;
71 :
public Applicable<TestTool, Types<Clip, DummyMO>::List>
79 cout <<
"Clip on media : "<< pC->getMedia() <<
"\n";
80 CHECK (pC->operator==(c));
85 cout <<
"treat (AbstractMO&);\n";
86 log_ = string (getPlacement<MObject>());
90 cout <<
"catch-all-function called...\n";
91 log_ = string (getPlacement<MObject>());
119 MediaAccessMock useMockMedia;
130 cout <<
"apply (tool, clip);\n";
132 INFO (
test,
"got Wrapper = %s", t1.log_.c_str());
133 CHECK (t1.log_ ==
string(clip));
135 cout <<
"apply (tool, test1);\n";
137 INFO (
test,
"got Wrapper = %s", t1.log_.c_str());
138 CHECK (t1.log_ ==
string(test1));
140 cout <<
"apply (tool, test2);\n";
142 INFO (
test,
"got Wrapper = %s", t1.log_.c_str());
143 CHECK (t1.log_ ==
string(test2));
Marker Interface for classes visitable by Builder tools.
Subclass-1 is not defined "processible", thus will always be handled as DummyMO...
Core abstraction: placement of a media object into session context.
Per type specific configuration of instances created as service dependencies.
MObject in the Session to represent a clip on the timeline.
declare the concrete types a BuilderTool may receive and treat.
A user visible/editable Clip is a reference to a contiguous sequence of media data loaded as Asset in...
Steam-Layer implementation namespace root.
This framework allows to (re)configure the lib::Depend front-end for dependency-injection.
Simple test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
A hierarchy of simple dummy-Media-Objects for easy unit testing.
abstract base class of all MObjects for providing common services.
Subclass-2 is defined "processible", but we omit the necessary "applicable" definition in TestTool...
Definition of Asset categorisation.
Buildable::ReturnType apply(BuilderTool &tool, WRA &wrappedTargetObj)
to be picked up by ADL: redirect tool invocation for double dispatch.