49 implicitTestState += dur;
55 return implicitTestState;
61 implicitTestState = oldVal;
92 implicitTestState = five;
96 .captureUndo (capture)
97 .undoOperation (undoIt)
102 TimeSpan testSpan (randTime(), randTime());
103 Rec argMsg {testSpan};
107 CHECK (not ourCmd.canExec());
109 ourCmd.bindArg (argMsg);
110 CHECK (ourCmd.canExec());
114 CHECK (implicitTestState == five +
Duration(testSpan));
118 CHECK (implicitTestState == five);
Helper class used solely for defining a Command-Object.
a mutable time value, behaving like a plain number, allowing copy and re-accessing ...
static Command get(Symbol cmdID)
Access existing command for use.
Steam-Layer implementation namespace root.
Lumiera's internal time value datatype.
Simplistic test class runner.
Generic building block for tree shaped (meta)data structures.
A collection of frequently used helper functions to support unit testing.
Handle object representing a single Command instance to be used by client code.
Duration is the internal Lumiera time metric.
lib::time::Time randTime()
create a random but not insane Time value between 1s ...
A time interval anchored at a specific point in time.
Actually defining a command and binding it to execution parameters.
a family of time value like entities and their relationships.
object-like record of data.
basic constant internal time value.