MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / require

Method require

libcaf_test/caf/test/runnable.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void runnable::require(bool value, const detail::source_location& location) {
79 if (!check(value, location))
80 requirement_failed::raise(location);
81}
82
83runnable& runnable::current() {
84 auto ptr = current_runnable;

Callers 3

test_spawnMethod · 0.80
fixtureClass · 0.80
ping_single3Function · 0.80

Calls 2

raiseFunction · 0.85
checkFunction · 0.70

Tested by

no test coverage detected