MCPcopy Create free account
hub / github.com/FastLED/FastLED / testCaseEnd

Method testCaseEnd

src/fl/test/fltest.cpp.hpp:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void DefaultReporter::testCaseEnd(bool passed, fl::u32 durationMs) FL_NOEXCEPT {
56 if (passed) {
57 if (durationMs > 0) {
58 fl::printf(" [PASSED] (%u ms)\n", durationMs);
59 } else {
60 fl::printf(" [PASSED]\n");
61 }
62 } else {
63 if (durationMs > 0) {
64 fl::printf(" [FAILED] (%u ms)\n", durationMs);
65 } else {
66 fl::printf(" [FAILED]\n");
67 }
68 }
69}
70
71void DefaultReporter::subcaseStart(const char* name) FL_NOEXCEPT {
72 fl::printf(" Subcase: %s\n", name);

Callers 1

runTestCaseMethod · 0.80

Calls 7

printfFunction · 0.85
printFunction · 0.50
c_strMethod · 0.45
strMethod · 0.45
push_backMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected