![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Unit test helper to generate a system of nested test scopes. More...
Go to the source code of this file.
Unit test helper to generate a system of nested test scopes.
These can be used to verify session search and discovery functionality. The build_testScopes() function generates a system of placements and MObjects with a known, fixed layout.
Definition in file test-scopes.hpp.
#include "steam/mobject/test-dummy-mobject.hpp"#include "steam/mobject/session/placement-index.hpp"#include "steam/mobject/session/scope-query.hpp"#include "steam/mobject/placement.hpp"#include <memory>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 |
Typedefs | |
| typedef std::shared_ptr< PlacementIndex > | PPIdx |
| typedef ScopeQuery< MObject >::iterator | _ScopeIterMO |
Functions | |
| PPIdx | build_testScopes () |
| helper for tests: create a pseudo-session (actually just a PlacementIndex), which contains some nested placement scopes. | |
| PlacementMO & | retrieve_startElm () |
| complement to the helper: retrieve one of the dummy placements which is a Placement<> and way down into the hierarchy | |
| PlacementMO & | retrieve_firstTestSubMO21 () |
| ScopeQuery< MObject >::iterator | explore_testScope (PlacementMO const &scopeTop) |
| shortcut to explore the contents of a scope within the current index. | |