Lumiera  0.pre.03
»edit your freedom«
test-dummy-mobject.hpp File Reference

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.

Classes

class  DummyMO
 Test MObject subclass, which, contrary to any real MObject, can be created directly without involving MObjectFactory. More...
 
class  TestPlacement< DMO, B >
 
class  TestPlacement< DMO, B >
 
class  TestPlacement<>
 
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
 

Namespaces

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