53 PMO& root = index->getRoot();
56 ID i1 = index->insert (p1, root);
57 ID i2 = index->insert (p2, i1 );
58 ID i3 = index->insert (p3, i2 );
59 ID i4 = index->insert (p4, i3 );
60 index->insert (p5, i4 );
62 index->insert (ps1,root);
63 ID is2 =index->insert (ps2,root);
64 index->insert (ps3, is2);
89 return retrieve_firstElmOfType<TestSubMO1>();
95 return retrieve_firstElmOfType<TestSubMO21>();
iterator resolveBy(QueryResolver const &resolver) const
thin wrapper around a size_t hash ID used as primary key for all Asset objects.
Query a scope to discover it's contents or location.
_Parent::iterator iterator
static PPIdx install()
Re-define the implicit PlacementIndex temporarily, e.g.
Test MObject subclass, which, contrary to any real MObject, can be created directly without involving...
PlacementMO & retrieve_firstElmOfType()
PlacementMO & retrieve_firstTestSubMO21()
PPIdx build_testScopes()
helper for tests: create a pseudo-session (actually just a PlacementIndex), which contains some neste...
std::shared_ptr< PlacementIndex > PPIdx
PlacementMO & retrieve_startElm()
complement to the helper: retrieve one of the dummy placements which is a Placement<> and way down in...
ScopeQuery< MObject >::iterator explore_testScope(PlacementMO const &scopeTop)
shortcut to explore the contents of a scope within the current index.
Namespace of Session and user visible high-level objects.
@ CHILDREN
discover the immediate children
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
Specific queries to explore contents of a scope within the high-level model.
Implementation level session API: query a scope.
Implementation level session API: PlacementIndex mock for tests.
static lumiera::QueryResolver const & getResolver()
static PlacementMO & getScopeRoot()
Subclass-1 is not defined "processible", thus will always be handled as DummyMO...
Subclass-2 is defined "processible", but we omit the necessary "applicable" definition in TestTool,...
Unit test helper to generate a system of nested test scopes.