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

Method testBinaryToTextLayout

tests/binaryloggertest/binaryloggertest.cpp:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void BinaryLoggerTest::testBinaryToTextLayout()
187{
188 log("Hello world!");
189 auto list = mAppender->clearList();
190 QCOMPARE(list.size(), 1);
191 auto result = list.at(0);
192 QVERIFY(result.contains(QStringLiteral("12 bytes: 48 65 6c 6c 6f 20 77 6f 72 6c 64 21")));
193}
194
195void BinaryLoggerTest::testBinaryEventFilter()
196{

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
clearListMethod · 0.45

Tested by

no test coverage detected