98 CHECK (not specialFun);
117 CHECK (0 == Dummy::checksum());
120 (JobParameter param)
mutable 122 int mark = param.invoKey.part.a;
123 tracker.setVal (mark);
127 CHECK (23 == Dummy::checksum());
129 hiddenMessage.part.a = 55;
135 CHECK (23 == Dummy::checksum());
137 CHECK (55 == Dummy::checksum());
139 CHECK (0 == Dummy::checksum());
142 auto trackingLambda = [tracker=
Dummy(23)]
143 (JobParameter param)
mutable 145 int mark = param.invoKey.part.a;
146 tracker.setVal (mark);
148 CHECK (23 == Dummy::checksum());
151 CHECK (23 == Dummy::checksum());
152 CHECK (2 == frontEnd.use_count());
154 auto otherHandle = frontEnd;
155 CHECK (3 == frontEnd.use_count());
156 CHECK (23 == Dummy::checksum());
159 CHECK (0 == frontEnd.use_count());
160 CHECK (2 == otherHandle.use_count());
161 CHECK (not frontEnd);
165 hiddenMessage.part.a = 55;
166 Job funJob{otherHandle
171 CHECK (2 == otherHandle.use_count());
172 CHECK (23 == Dummy::checksum());
175 CHECK (0 == otherHandle.use_count());
176 CHECK (23 == Dummy::checksum());
179 CHECK (0 == Dummy::checksum());
181 CHECK (0 == Dummy::checksum());
static const Time ANYTIME
border condition marker value. ANYTIME <= any time value
A configurable one-time job to invoke some special function.
Helpers typically used while writing tests.
Front-end to configure a special job functor for one-time use.
unittest helper code: test dummy objects to track instances.
Simple test class runner.
A collection of frequently used helper functions to support unit testing.
A Dummy object for tests.
opaque ID attached to each individual job invocation.
Individual frame rendering task, forwarding to a closure.
Vault-Layer implementation namespace root.