Commit 5d5643ef authored by Laurent Montel's avatar Laurent Montel 😁

Use QTEST_GUILESS_MAIN

parent b100b296
Pipeline #47982 passed with stage
in 12 minutes and 20 seconds
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "noteutilstest.h" #include "noteutilstest.h"
#include "noteutils.h" #include "noteutils.h"
#include <QTest> #include <QTest>
QTEST_MAIN(NoteUtilsTest) QTEST_GUILESS_MAIN(NoteUtilsTest)
NoteUtilsTest::NoteUtilsTest(QObject *parent) NoteUtilsTest::NoteUtilsTest(QObject *parent)
: QObject(parent) : QObject(parent)
......
...@@ -59,4 +59,4 @@ void NoteAlarmAttributeTest::shouldHaveType() ...@@ -59,4 +59,4 @@ void NoteAlarmAttributeTest::shouldHaveType()
QCOMPARE(attr.type(), QByteArray("NoteAlarmAttribute")); QCOMPARE(attr.type(), QByteArray("NoteAlarmAttribute"));
} }
QTEST_MAIN(NoteAlarmAttributeTest) QTEST_GUILESS_MAIN(NoteAlarmAttributeTest)
...@@ -73,4 +73,4 @@ void NoteDisplayAttributeTest::shouldHaveType() ...@@ -73,4 +73,4 @@ void NoteDisplayAttributeTest::shouldHaveType()
QCOMPARE(attribute.type(), QByteArray("NoteDisplayAttribute")); QCOMPARE(attribute.type(), QByteArray("NoteDisplayAttribute"));
} }
QTEST_MAIN(NoteDisplayAttributeTest) QTEST_GUILESS_MAIN(NoteDisplayAttributeTest)
...@@ -24,4 +24,4 @@ void NoteLockAttributeTest::shouldHaveType() ...@@ -24,4 +24,4 @@ void NoteLockAttributeTest::shouldHaveType()
QCOMPARE(attr.type(), QByteArray("KJotsLockAttribute")); QCOMPARE(attr.type(), QByteArray("KJotsLockAttribute"));
} }
QTEST_MAIN(NoteLockAttributeTest) QTEST_GUILESS_MAIN(NoteLockAttributeTest)
...@@ -24,4 +24,4 @@ void ShowFolderNotesAttributeTest::shouldHaveType() ...@@ -24,4 +24,4 @@ void ShowFolderNotesAttributeTest::shouldHaveType()
QCOMPARE(attr.type(), QByteArray("showfoldernotesattribute")); QCOMPARE(attr.type(), QByteArray("showfoldernotesattribute"));
} }
QTEST_MAIN(ShowFolderNotesAttributeTest) QTEST_GUILESS_MAIN(ShowFolderNotesAttributeTest)
...@@ -76,4 +76,4 @@ void KNotesGrantleePrintTest::shouldDisplayNoteInfo() ...@@ -76,4 +76,4 @@ void KNotesGrantleePrintTest::shouldDisplayNoteInfo()
QCOMPARE(html, result); QCOMPARE(html, result);
} }
QTEST_MAIN(KNotesGrantleePrintTest) QTEST_GUILESS_MAIN(KNotesGrantleePrintTest)
Markdown is supported
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