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

Description

Test:
command usage aspects II: patterns of command invocation.
Todo:
this test is still on hold, as the non-trivial patterns aren't implemented as of 10/09 ////////////////TICKET #211
See also
Command
command-basic-test.cpp (simple usage example)

Definition at line 91 of file command-use2-test.cpp.

Private Member Functions

void check_defaultHandlingPattern ()
 
void check_DispatcherInvocation ()
 
void check_ThrowOnError ()
 
string randomTxt ()
 
virtual void run (Arg)
 

Private Attributes

bool blowUp_
 
int randVal_
 

Member Function Documentation

◆ check_DispatcherInvocation()

void check_DispatcherInvocation ( )
inlineprivate
Test:
simplified integration test of command dispatch
  • performs the minimal actions necessary to start the session loop thread
  • then issues a test command, which will be queued and dispatched by the SteamDispatcher.

Like in the real application, the command executions happens in the dedicated session loop thread, and thus we have to wait a moment, after which execution can be verified.

Definition at line 222 of file command-use2-test.cpp.

References SteamDispatcher::instance, lumiera_interfaceregistry_init(), and lumiera::throwOnError().

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

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