Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
CommandArgument_test Class Reference

Description

Test:
Check storage handling of the command parameters and state memento.
See also
control::CommandStorageHolder
command-basic-test.hpp

Definition at line 184 of file command-argument-test.cpp.

Private Types

typedef Tracker< TimeVarTTime
 
typedef Tracker< string > Tstr
 

Private Member Functions

virtual void run (Arg)
 
void createTuples (ArgTuples &tup)
 
void serialiseArgTuples (ArgTuples &tup)
 
void simulateCmdLifecycle ()
 

Member Typedef Documentation

◆ TTime

typedef Tracker<TimeVar> TTime
private

Definition at line 207 of file command-argument-test.cpp.

◆ Tstr

typedef Tracker<string> Tstr
private

Definition at line 208 of file command-argument-test.cpp.

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 188 of file command-argument-test.cpp.

References CommandArgument_test::createTuples(), CommandArgument_test::serialiseArgTuples(), and CommandArgument_test::simulateCmdLifecycle().

+ Here is the call graph for this function:

◆ createTuples()

void createTuples ( ArgTuples tup)
inlineprivate
Test:
create various argument tuples and re-access their contents

Definition at line 215 of file command-argument-test.cpp.

References VERIFY_ERROR.

Referenced by CommandArgument_test::run().

+ Here is the caller graph for this function:

◆ serialiseArgTuples()

void serialiseArgTuples ( ArgTuples tup)
inlineprivate
Test:
serialise and de-serialise each tuple and check validity
Todo:
unimplemented, waiting on Serialiser

Definition at line 266 of file command-argument-test.cpp.

Referenced by CommandArgument_test::run().

+ Here is the caller graph for this function:

◆ simulateCmdLifecycle()

void simulateCmdLifecycle ( )
inlineprivate
Test:
simulate a complete command lifecycle with regards to the storage handling of the command parameters and state memento.

Definition at line 277 of file command-argument-test.cpp.

References CmdClosure::invoke(), and VERIFY_ERROR.

Referenced by CommandArgument_test::run().

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

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