MCPcopy Create free account
hub / github.com/YACReader/yacreader / log

Function log

tests/concurrent_queue_test/concurrent_queue_test.cpp:49–53  ·  view source on GitHub ↗

This test prints thousands of lines of detailed output. The output allows to analyze how ConcurrentQueue is being tested, how it works and why the test fails or crashes (normally it passes). The default maximum number of warnings in Qt Test is 2000, which is too low for this test. Therefore, the following warning is printed before the log output is suppressed: "Maximum amount of warnings exceeded.

Source from the content-addressed store, hash-verified

47//! output except for RandomEngineProvider's root seeds, which are necessary to reproduce
48//! interesting test results.
49QDebug log()
50{
51 return qInfo().noquote() << currentThreadInfo() << '|'
52 << QTime::currentTime().toString(Qt::ISODateWithMs) << '|';
53}
54
55using Total = std::atomic<int>;
56

Callers 8

operator()Method · 0.85
operator()Method · 0.85
printStartedMessageMethod · 0.85
printCanceledMessageMethod · 0.85
RandomEngineProviderMethod · 0.85
printProbabilitiesMethod · 0.85

Calls 2

currentThreadInfoFunction · 0.85
toStringMethod · 0.80

Tested by

no test coverage detected