MCPcopy Create free account
hub / github.com/comaps/comaps / OnTestFailed

Function OnTestFailed

libs/testing/testing.hpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace base
36{
37[[noreturn]] inline void OnTestFailed(SrcPoint const & srcPoint, std::string const & msg)
38{
39 LOG(LINFO, ("FAILED"));
40 LOG(LINFO, (::DebugPrint(srcPoint.FileName()) + ":" + ::DebugPrint(srcPoint.Line()), msg));
41 MYTHROW(TestFailureException, (srcPoint.FileName(), srcPoint.Line(), msg));
42}
43} // namespace base
44
45namespace testing

Callers

nothing calls this directly

Calls 3

FileNameMethod · 0.80
DebugPrintFunction · 0.50
LineMethod · 0.45

Tested by

no test coverage detected