Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KNotes
Commits
5d5643ef
Commit
5d5643ef
authored
Jan 17, 2021
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use QTEST_GUILESS_MAIN
parent
b100b296
Pipeline
#47982
passed with stage
in 12 minutes and 20 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
noteshared/autotests/noteutilstest.cpp
noteshared/autotests/noteutilstest.cpp
+1
-1
noteshared/src/attributes/autotests/notealarmattributetest.cpp
...hared/src/attributes/autotests/notealarmattributetest.cpp
+1
-1
noteshared/src/attributes/autotests/notedisplayattributetest.cpp
...red/src/attributes/autotests/notedisplayattributetest.cpp
+1
-1
noteshared/src/attributes/autotests/notelockattributetest.cpp
...shared/src/attributes/autotests/notelockattributetest.cpp
+1
-1
noteshared/src/attributes/autotests/showfoldernotesattributetest.cpp
...src/attributes/autotests/showfoldernotesattributetest.cpp
+1
-1
src/print/autotests/knotesgrantleeprinttest.cpp
src/print/autotests/knotesgrantleeprinttest.cpp
+1
-1
No files found.
noteshared/autotests/noteutilstest.cpp
View file @
5d5643ef
...
@@ -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
)
...
...
noteshared/src/attributes/autotests/notealarmattributetest.cpp
View file @
5d5643ef
...
@@ -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
)
noteshared/src/attributes/autotests/notedisplayattributetest.cpp
View file @
5d5643ef
...
@@ -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
)
noteshared/src/attributes/autotests/notelockattributetest.cpp
View file @
5d5643ef
...
@@ -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
)
noteshared/src/attributes/autotests/showfoldernotesattributetest.cpp
View file @
5d5643ef
...
@@ -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
)
src/print/autotests/knotesgrantleeprinttest.cpp
View file @
5d5643ef
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment