MCPcopy Create free account
hub / github.com/MEONMedical/Log4Qt / cleanupTestCase

Method cleanupTestCase

tests/binaryloggertest/binaryloggertest.cpp:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void BinaryLoggerTest::cleanupTestCase()
170{
171 Log4Qt::Logger::logger(binLogger)->removeAllAppenders();
172 unitTestLogger()->removeAllAppenders();
173 logger()->removeAllAppenders();
174
175 Log4Qt::Logger::rootLogger()->info(QStringLiteral("Unit test logger was shutdown."));
176 Log4Qt::Logger::rootLogger()->removeAllAppenders();
177 Log4Qt::Logger::rootLogger()->loggerRepository()->shutdown();
178}
179
180void BinaryLoggerTest::init()
181{

Callers

nothing calls this directly

Calls 4

removeAllAppendersMethod · 0.80
infoMethod · 0.45
shutdownMethod · 0.45
loggerRepositoryMethod · 0.45

Tested by

no test coverage detected