morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
owner_probe_recorder.hpp File Reference

morph::testing::OwnerProbeRecorder: observes the owner checks a test's code makes, instead of letting a debug build assert on them. More...

#include <algorithm>
#include <atomic>
#include <core/async/ExecutorContext.hpp>
#include <core/async/IExecutor.hpp>
#include <cstddef>
#include <mutex>
#include <string>
#include <string_view>
#include <thread>
#include <vector>
#include "../core/detail/owner_probe.hpp"

Go to the source code of this file.

Classes

class  morph::testing::OwnerProbeRecorder
 Records every owner check a loop-owned body makes while this object is alive (morph::exec::detail::noteOwner), and what the calling thread's executor scope said at that moment. More...
struct  morph::testing::OwnerProbeRecorder::Seen
 One owner check. More...

Detailed Description

morph::testing::OwnerProbeRecorder: observes the owner checks a test's code makes, instead of letting a debug build assert on them.

Definition in file owner_probe_recorder.hpp.