diff --git a/tests/auto/logging/testlogging.cpp b/tests/auto/logging/testlogging.cpp index bceeeea8..38466176 100644 --- a/tests/auto/logging/testlogging.cpp +++ b/tests/auto/logging/testlogging.cpp @@ -23,6 +23,7 @@ #include "guhcore.h" #include "devicemanager.h" #include "guhsettings.h" +#include "logging/logentry.h" #include "plugin/deviceplugin.h" #include @@ -42,6 +43,8 @@ private: private slots: void initLogs(); + void coverageCalls(); + void systemLogs(); void invalidFilter_data(); @@ -76,6 +79,15 @@ void TestLogging::initLogs() restartServer(); } +void TestLogging::coverageCalls() +{ + LogEntry entry(QDateTime::currentDateTime(), Logging::LoggingLevelInfo, Logging::LoggingSourceSystem); + qDebug() << entry; + + LogFilter filter; + qDebug() << filter.timeFilters(); +} + void TestLogging::systemLogs() { // check the active system log at boot diff --git a/tests/auto/restrules/testrestrules.cpp b/tests/auto/restrules/testrestrules.cpp index 0373f7a5..b2efc2e9 100644 --- a/tests/auto/restrules/testrestrules.cpp +++ b/tests/auto/restrules/testrestrules.cpp @@ -238,7 +238,6 @@ void TestRestRules::findRule() request.setUrl(QUrl(QString("http://localhost:3333/api/v1/rules/%1").arg(ruleId.toString()))); response = getAndWait(request, 404); QVERIFY(!response.isNull()); - } void TestRestRules::invalidMethod()