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

Method printSectionResult

Libraries/Testing/Testing.cpp:821–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819 else
820 {
821 report.currentSection = StringSpan();
822 return false;
823 }
824}
825
826void SC::TestReport::printSectionResult(TestCase& testCase)
827{
828 if (quietMode)
829 {
830 return;
831 }
832 console.print("\t- ");
833 console.print(testCase.numSectionTestsFailed > 0 ? redEMOJI : greenEMOJI);
834 console.print(" {}::{}\n", testCase.testName, currentSection);

Callers 3

~TestCaseMethod · 0.80
recordExpectationMethod · 0.80
test_sectionMethod · 0.80

Calls 2

printMethod · 0.80
flushMethod · 0.80

Tested by

no test coverage detected