Lumiera  0.pre.03
»edit your freedom«
QueryFocus_test Class Reference

Description

Test:
handling of current query focus when navigating a system of nested scopes.

Using a pseudo-session (actually just a PlacementIndex), this test accesses some nested scopes and then checks moving the "current scope". Moreover a (stack-like) sub-focus is created, temporarily moving aside the current focus and returning later on.

See also
mobject::PlacementIndex
mobject::session::ScopePath
mobject::session::QueryFocus

Definition at line 67 of file query-focus-test.cpp.

Private Member Functions

void checkNavigation (QueryFocus &focus)
 
void manipulate_subFocus ()
 
virtual void run (Arg)
 

Member Function Documentation

◆ checkNavigation()

void checkNavigation ( QueryFocus focus)
inlineprivate
Test:
move the current focus to different locations and discover contents there.

Definition at line 100 of file query-focus-test.cpp.

References QueryFocus::currentPath(), QueryFocus::explore(), Scope::getParent(), Scope::isRoot(), QueryFocus::query(), QueryFocus::reset(), and QueryFocus::shift().

+ Here is the call graph for this function:

◆ manipulate_subFocus()

void manipulate_subFocus ( )
inlineprivate
Test:
side-effect free manipulation of a sub-focus, while the original focus is pushed aside (stack)

Definition at line 132 of file query-focus-test.cpp.

References QueryFocus::explore(), QueryFocus::pop(), QueryFocus::push(), steam::mobject::session::test::anonymous_namespace{query-focus-test.cpp}::refs(), and QueryFocus::shift().

+ Here is the call graph for this function:
+ Inheritance diagram for QueryFocus_test:
+ Collaboration diagram for QueryFocus_test:

The documentation for this class was generated from the following file: