Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
test-dummy-mobject.hpp File Reference

A hierarchy of simple dummy-Media-Objects for easy unit testing. More...

Go to the source code of this file.

Description

A hierarchy of simple dummy-Media-Objects for easy unit testing.

Normally, the creation of MObjects and corresponding Placements is defined to be very restricted. Any MObjects are supposed to be created by the MObjectFactory, which provided very specialised factory functions. When writing unit tests to check the basic MObject properties and behaviour, this can be an obstacle. Thus we create a separate branch in the MObject hierarchy with relaxed requirements and some dummy/test API functions.

Todo:
needed to move this temporarily into the core session tree. ////////////TICKET #532
See also
mobject::session::BuilderTool_test
mobject::session::PlacementHierarchy_test

Definition in file test-dummy-mobject.hpp.

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::mobject
 Media-Objects, edit operations and high-level session.
 
namespace  steam::mobject::test
 

Classes

class  DummyMO
 Test MObject subclass, which, contrary to any real MObject, can be created directly without involving MObjectFactory. More...
 
struct  TestSubMO1
 Subclass-1 is not defined "processible", thus will always be handled as DummyMO... More...
 
struct  TestSubMO2
 Subclass-2 is defined "processible", but we omit the necessary "applicable" definition in TestTool, resulting in an invocation of the error (catch-all) function... More...
 
struct  TestSubMO21
 
class  TestPlacement<>
 
class  TestPlacement< DMO, B >