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

Description

Test:
verify the mechanics of a functor based internal DSL to configure access and allocation patters for component views.
See also
id-scheme.hpp
ViewLocator
UICoord_test

Definition at line 97 of file view-spec-dsl-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void verify_alternatives ()
 
void verify_basicProperties ()
 
void verify_genericInvocation ()
 
void verify_standardUsage ()
 

Member Function Documentation

◆ verify_genericInvocation()

void verify_genericInvocation ( )
inlineprivate
Test:
generic integrated access through ViewLocator This test demonstrates and verifies the way ViewLocator combines type based selection of the applicable DSL clauses, the invocation of those DSL definitions, the allocation of a suitable element and finally specifically typed access to this located or allocated element.
Remarks
due to limitations of our unit test setup (GTK is prohibited), this component integration test can not be performed against the actual DSL definitions of the real UI, even while it uses the actual code from ViewLocator. Simply because we can not instantiate UI widgets in a unit test. We have to resort to mock UI elements and thus use a dummy "view type" together with faked DSL definitions for this dummy. These definitions are given in the test fixture above, right within this translation unit. (see namespace idi and the class MockView1).

Definition at line 193 of file view-spec-dsl-test.cpp.

+ Inheritance diagram for ViewSpecDSL_test:
+ Collaboration diagram for ViewSpecDSL_test:

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