27using std::atomic_bool;
28using std::this_thread::sleep_for;
29using namespace std::chrono_literals;
57 atomic_bool didRun{
false};
74 using ThreadHookable::ThreadHookable;
88 launchDetached<TestThread> (&TestThread::doIt, 55);
Extended variant of the standard case, allowing to install callbacks (hook functions) to be invoked d...
A Dummy object for tests.
void demonstrateSimpleUsage()
void verifyMemoryManagement()
Abstract Base Class for all testcases.
const_LList llist_cmpfn void * extra
Implementation namespace for support and library code.
void launchDetached(ThreadHookable::Launch &&launchBuilder)
Launch an autonomous self-managing thread (and forget about it).
Test runner and basic definitions for tests.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Convenience front-end to simplify and codify basic thread handling.
unittest helper code: test dummy objects to track instances.