MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / test_case_end

Method test_case_end

tests/framework/src/doctest.cpp:2787–2791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2785 }
2786
2787 void test_case_end(const CurrentTestCaseStats&) override {
2788 testCaseData.addTime(timer.getElapsedSeconds());
2789 testCaseData.appendSubcaseNamesToLastTestcase(deepestSubcaseStackNames);
2790 deepestSubcaseStackNames.clear();
2791 }
2792
2793 void test_case_exception(const TestCaseException& e) override {
2794 DOCTEST_LOCK_MUTEX(mutex)

Callers

nothing calls this directly

Calls 4

getElapsedSecondsMethod · 0.80
addTimeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected