43 using namespace mobject::test;
46 ::Local<vault::test::MediaAccessMock>;
62 :
public Applicable<TestTool, Types<Clip, DummyMO>::List>
70 cout <<
"Clip on media : "<< pC->getMedia() <<
"\n";
71 CHECK (pC->operator==(c));
76 cout <<
"treat (AbstractMO&);\n";
77 log_ = string (getPlacement<MObject>());
81 cout <<
"catch-all-function called...\n";
82 log_ = string (getPlacement<MObject>());
110 MediaAccessMock useMockMedia;
121 cout <<
"apply (tool, clip);\n";
123 INFO (
test,
"got Wrapper = %s", t1.log_.c_str());
124 CHECK (t1.log_ ==
string(clip));
126 cout <<
"apply (tool, test1);\n";
128 INFO (
test,
"got Wrapper = %s", t1.log_.c_str());
129 CHECK (t1.log_ ==
string(test1));
131 cout <<
"apply (tool, test2);\n";
133 INFO (
test,
"got Wrapper = %s", t1.log_.c_str());
134 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.
Simplistic 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.