58 ::Local<vault::test::MediaAccessMock>;
61 using namespace mobject::test;
88 testClip1.chain(
Time(FSecs(10)));
89 testClip2.chain(
Time(FSecs(20)));
91 Symbol labelType (
"dummyLabel");
94 testLabel1.chain(
Time(FSecs(30)));
102 CHECK (testDummy1->isValid());
103 CHECK (testDummy2->isValid());
112 cout << testClip1->
shortID() << endl;
113 cout << testClip2->
shortID() << endl;
114 cout << testLabel1->
shortID() << endl;
115 cout << testDummy1->shortID() << endl;
116 cout << testDummy2->shortID() << endl;
This framework allows to (re)configure the lib::Depend front-end for dependency-injection.
Token or Atom with distinct identity.
Duration is the internal Lumiera time metric.
Lumiera's internal time value datatype.
string const & shortID() const
a short readable ID as a single name-token, denoting both the kind of MObject and some sort of instan...
virtual bool isValid() const =0
MObject self-test (usable for asserting)
virtual Duration & getLength()=0
static session::MObjectFactory create
Storage for the (single, static) MObject factory object.
Test MObject subclass, which, contrary to any real MObject, can be created directly without involving...
Per type specific configuration of instances created as service dependencies.
Core abstraction of the Session model: a media object.
Core factory to generate media objects for use in the Session model.
boost::rational< int64_t > FSecs
rational representation of fractional seconds
TestPlacement< DummyMO > PDummy
lib::DependInject< vault::MediaAccessFacade > ::Local< vault::test::MediaAccessMock > MediaAccessMock
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
Core abstraction: placement of a media object into session context.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Subclass-1 is not defined "processible", thus will always be handled as DummyMO...
Marker types to indicate a literal string and a Symbol.
A hierarchy of simple dummy-Media-Objects for easy unit testing.
a family of time value like entities and their relationships.