50 string desc = candidate->operator string();
51 return contains(desc,
"MO2");
67 cout <<
"--------------------------------Test-"<< ++nr <<
": " << description << endl;
114 announce (
"continue exploring partially used TestSubMO2 iterator");
124 announce (description);
125 pullOut (
issue(query));
iterator resolveBy(QueryResolver const &resolver) const
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
Query a scope to discover it's contents or location.
_Parent::iterator iterator
static void discover(ScopeQuery< MO > const &query, Literal description)
static ScopeQuery< MO >::iterator issue(ScopeQuery< MO > const &query)
MObject in the Session to represent a clip on the timeline.
void announce(Literal description)
bool filter(Placement< DummyMO > const &candidate)
a filter predicate to pick some objects from a resultset.
PPIdx build_testScopes()
helper for tests: create a pseudo-session (actually just a PlacementIndex), which contains some neste...
std::shared_ptr< PlacementIndex > PPIdx
Namespace of Session and user visible high-level objects.
@ CONTENTS
discover any contained objects depth-first
@ PARENTS
discover the enclosing scopes
@ CHILDREN
discover the immediate children
@ PATH
discover the path to root
_PickResult< FUNC >::FilterQuery pickAllSuitable(PlacementMO const &scope, FUNC predicate)
convenience shortcut to issue a SpecificContentsQuery, figuring out the actual return/filter type aut...
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
bool contains(MAP &map, typename MAP::key_type const &key)
shortcut for containment test on a map
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Specific queries to explore contents of a scope within the high-level model.
Implementation level session API: query a scope.
Implementation facility to query and retrieve session context with filtering conditions.
static lumiera::QueryResolver const & getResolver()
static PlacementMO & getScopeRoot()
Marker types to indicate a literal string and a Symbol.
Unit test helper to generate a system of nested test scopes.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...