Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
test-scopes.hpp
Go to the documentation of this file.
1/*
2 TEST-SCOPES.hpp - builds a test PlacementIndex containing dummy Placements as nested scopes
3
4 Copyright (C)
5 2009, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12*/
13
22#ifndef MOBJECT_SESSION_TEST_TEST_SCOPES_H
23#define MOBJECT_SESSION_TEST_TEST_SCOPES_H
24
25
30
31#include <memory>
32
33
34namespace steam {
35namespace mobject {
36namespace session {
37namespace test {
38
39 using namespace mobject::test;
40 typedef TestPlacement<DummyMO> PDum;
41
42 typedef std::shared_ptr<PlacementIndex> PPIdx;
44
45
46
58
59
64
66
67
73
74
75
76}}}} // namespace steam::mobject::session::test
77#endif
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 _ScopeIterMO
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.
Definition sequence.hpp:65
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
Core of the session implementation datastructure.
Core abstraction: placement of a media object into session context.
Specific queries to explore contents of a scope within the high-level model.
A hierarchy of simple dummy-Media-Objects for easy unit testing.