89 CHECK (not specialFun);
108 CHECK (0 == Dummy::checksum());
111 (JobParameter param)
mutable 113 int mark = param.invoKey.part.a;
114 tracker.setVal (mark);
118 CHECK (23 == Dummy::checksum());
120 hiddenMessage.part.a = 55;
126 CHECK (23 == Dummy::checksum());
128 CHECK (55 == Dummy::checksum());
130 CHECK (0 == Dummy::checksum());
133 auto trackingLambda = [tracker=
Dummy(23)]
134 (JobParameter param)
mutable 136 int mark = param.invoKey.part.a;
137 tracker.setVal (mark);
139 CHECK (23 == Dummy::checksum());
142 CHECK (23 == Dummy::checksum());
143 CHECK (2 == frontEnd.use_count());
145 auto otherHandle = frontEnd;
146 CHECK (3 == frontEnd.use_count());
147 CHECK (23 == Dummy::checksum());
150 CHECK (0 == frontEnd.use_count());
151 CHECK (2 == otherHandle.use_count());
152 CHECK (not frontEnd);
156 hiddenMessage.part.a = 55;
157 Job funJob{otherHandle
162 CHECK (2 == otherHandle.use_count());
163 CHECK (23 == Dummy::checksum());
166 CHECK (0 == otherHandle.use_count());
167 CHECK (23 == Dummy::checksum());
170 CHECK (0 == Dummy::checksum());
172 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.
Simplistic test class runner.
unittest helper code: test dummy objects to track instances.
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.