MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / reportFailure

Method reportFailure

Source/Falcor/Testing/UnitTest.cpp:635–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

633///////////////////////////////////////////////////////////////////////////
634
635void UnitTestContext::reportFailure(const std::string& message)
636{
637 if (message.empty())
638 return;
639 reportLine("{}", message);
640 mFailureMessages.push_back(message);
641
642 if (isDebuggerPresent())
643 debugBreak();
644}
645
646///////////////////////////////////////////////////////////////////////////
647

Callers 1

~StreamSinkMethod · 0.80

Calls 5

reportLineFunction · 0.85
isDebuggerPresentFunction · 0.50
debugBreakFunction · 0.50
emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected