Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
test-scopes.cpp File Reference

Implementation of nested test scopes to cover the placement index. More...

Go to the source code of this file.

Description

Implementation of nested test scopes to cover the placement index.

This translation unit builds mock "session content" with a fixed, known layout, which can be used to verify the behaviour of session query and content discovery

Definition in file test-scopes.cpp.

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::mobject
 Media-Objects, edit operations and high-level session.
 
namespace  steam::mobject::session
 Namespace of Session and user visible high-level objects.
 
namespace  steam::mobject::session::test
 
namespace  steam::mobject::session::test::anonymous_namespace{test-scopes.cpp}
 

Functions

PPIdx build_testScopes ()
 helper for tests: create a pseudo-session (actually just a PlacementIndex), which contains some nested placement scopes.
 
template<class MO >
PlacementMOretrieve_firstElmOfType ()
 
PlacementMOretrieve_startElm ()
 complement to the helper: retrieve one of the dummy placements which is a Placement<> and way down into the hierarchy
 
PlacementMOretrieve_firstTestSubMO21 ()
 
ScopeQuery< MObject >::iterator explore_testScope (PlacementMO const &scopeTop)
 shortcut to explore the contents of a scope within the current index.