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

Function fail

libcaf_test/caf/test/runnable.hpp:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 /// Generates a message with the INFO severity level.
55 template <class... Ts>
56 [[noreturn]] void fail(format_string_with_location fwl, Ts&&... xs) {
57 auto msg = detail::format(fwl.value, std::forward<Ts>(xs)...);
58 reporter::instance().fail(msg, fwl.location);
59 requirement_failed::raise(fwl.location);
60 }
61
62 /// Checks whether `lhs` and `rhs` are equal.
63 template <class T0, class T1>

Callers 1

WITH_FIXTUREFunction · 0.50

Calls 4

instanceClass · 0.85
raiseFunction · 0.85
formatEnum · 0.50
failMethod · 0.45

Tested by

no test coverage detected