Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
3048a965
Commit
3048a965
authored
Mar 09, 2017
by
David Faure
Browse files
autotests: workaround ctest not exiting when klauncher was started by the test
parent
3b0126cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
messagecore/autotests/attachmentfromurljobtest.cpp
View file @
3048a965
...
...
@@ -30,6 +30,11 @@ QTEST_MAIN(AttachmentFromUrlJobTest)
#define PATH_ATTACHMENTS QLatin1String( KDESRCDIR "/attachments/" )
void
AttachmentFromUrlJobTest
::
initTestCase
()
{
qputenv
(
"KDE_FORK_SLAVES"
,
"yes"
);
// To avoid a runtime dependency on klauncher
}
void
AttachmentFromUrlJobTest
::
testAttachments_data
()
{
QTest
::
addColumn
<
QUrl
>
(
"url"
);
...
...
messagecore/autotests/attachmentfromurljobtest.h
View file @
3048a965
...
...
@@ -26,6 +26,7 @@ class AttachmentFromUrlJobTest : public QObject
{
Q_OBJECT
private
Q_SLOTS
:
void
initTestCase
();
void
testAttachments_data
();
void
testAttachments
();
void
testAttachmentTooBig
();
...
...
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