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

Method isSectionEnabled

Libraries/Testing/Testing.cpp:845–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843bool SC::TestReport::isTestEnabled(StringSpan testName) const { return testToRun.isEmpty() || testToRun == testName; }
844
845bool SC::TestReport::isSectionEnabled(StringSpan sectionName) const
846{
847 return sectionToRun.isEmpty() || sectionName == sectionToRun;
848}
849
850int SC::TestReport::getTestReturnCode() const { return startupFailure || numTestsFailed > 0 ? -1 : 0; }
851

Callers 1

test_sectionMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected