MCPcopy Create free account
hub / github.com/FlightGear/flightgear / reportError

Method reportError

3rdparty/cppunit/src/cppunit/Protector.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20void
21Protector::reportError( const ProtectorContext &context,
22 const Exception &error ) const
23{
24 std::unique_ptr<Exception> actualError( error.clone() );
25 actualError->setMessage( actualMessage( actualError->message(), context ) );
26 context.m_result->addError( context.m_test,
27 actualError.release() );
28}
29
30
31

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 6

ExceptionClass · 0.85
setMessageMethod · 0.80
messageMethod · 0.80
addErrorMethod · 0.80
cloneMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected