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

Description

Test:
verify the usage pattern of low-level UI element access, based on a mock implementation of the accessor directory.
Todo:
4/2018 in the course of establishing an UI backbone, it is sufficient just to have that abstraction interface; so the test focuses merely on the invocation, and documents how the mock be used. Which is a prerequisite to get the ViewSpecDSL_test finished. The intention is to elaborate the mock in a second step later and use it to build a draft of the implementation mechanics, but based on Rec<GenNode> rather than on the real UI topology.
See also
GenNodeLocationQuery
Mock testing support
id-scheme.hpp
ViewLocator
ViewSpecDSL_test

Definition at line 87 of file element-access-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void verify_createNewPath ()
 
void verify_limitedCreate ()
 
void verify_simpleAccess ()
 
void verify_standardUsage ()
 

Member Function Documentation

◆ verify_simpleAccess()

void verify_simpleAccess ( )
inlineprivate
Test:
simple access to an existing element designated by coordinates

Definition at line 102 of file element-access-test.cpp.

References INSTANCEOF, and DependInject< SRV >::Local< MOC >::triggerCreate().

+ Here is the call graph for this function:

◆ verify_standardUsage()

void verify_standardUsage ( )
inlineprivate
Test:
the standard use case is to create one new child node below an existing path (widget) within the UI

Definition at line 126 of file element-access-test.cpp.

References DependInject< SRV >::Local< MOC >::triggerCreate().

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

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