MCPcopy Create free account
hub / github.com/pybind/pybind11 / testCaseEnded

Method testCaseEnded

tests/test_with_catch/catch.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void testCaseEnded(Catch::TestCaseStats const &stats) override {
51 bool failed = stats.totals.assertions.failed > 0;
52 auto &os = Catch::cout();
53 os << (failed ? "[ FAILED ] " : "[ OK ] ") << stats.testInfo.name << '\n';
54 os.flush();
55 }
56
57 void noMatchingTestCases(std::string const &spec) override {
58 auto &os = Catch::cout();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected