Commit 1ae51fc8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix log name

parent 971216c8
......@@ -55,7 +55,7 @@ void testProcess::testProcesses() {
//test all the pids are unique
if(!pids.contains(process->pid())) {
qCDebug(LIBKSYSGUARD) << process->pid() << " not found. " << process->name();
qCDebug(LIBKSYSGUARD_PROCESSCORE) << process->pid() << " not found. " << process->name();
}
pids.remove(process->pid());
}
......@@ -104,7 +104,7 @@ void testProcess::testProcessesModification() {
QVERIFY(initProcess);
QVERIFY(initProcess->children()[0]);
QVERIFY(initProcess->children()[1]);
qCDebug(LIBKSYSGUARD) << initProcess->numChildren();
qCDebug(LIBKSYSGUARD_PROCESSCORE) << initProcess->numChildren();
initProcess->children()[0]->setParent(initProcess->children()[1]);
initProcess->children()[1]->children().append(initProcess->children()[0]);
initProcess->children()[1]->numChildren()++;
......@@ -207,7 +207,7 @@ void testProcess::testHistoriesWithWidget() {
QList< QPair<QDateTime, uint> > history = processController->historiesAvailable();
for(int i = 0; i < history.size(); i++) {
qCDebug(LIBKSYSGUARD) << "Viewing time" << history[i].first;
qCDebug(LIBKSYSGUARD_PROCESSCORE) << "Viewing time" << history[i].first;
bool success = processController->setViewingTime(history[i].first);
QVERIFY(success);
QCOMPARE(processController->viewingTime(), history[i].first);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment