MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / testCaseFinished

Method testCaseFinished

Libraries/Testing/Testing.cpp:833–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831}
832
833void SC::TestReport::testCaseFinished(TestCase& testCase)
834{
835 if (abortOnFirstFailedTest && testCase.numTestsFailed > 0)
836 {
837#if SC_CONFIGURATION_RELEASE
838 ::exit(-1);
839#endif
840 }
841}
842
843bool SC::TestReport::isTestEnabled(StringSpan testName) const { return testToRun.isEmpty() || testToRun == testName; }
844

Callers 1

~TestCaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected