Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
75c0037d
Commit
75c0037d
authored
May 04, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test plugineditor
parent
1136d7bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
kmail/editorinitplugins/externalcomposer/autotests/externalcomposerplugineditortest.cpp
...alcomposer/autotests/externalcomposerplugineditortest.cpp
+8
-0
kmail/editorinitplugins/externalcomposer/autotests/externalcomposerplugineditortest.h
...rnalcomposer/autotests/externalcomposerplugineditortest.h
+4
-0
No files found.
kmail/editorinitplugins/externalcomposer/autotests/externalcomposerplugineditortest.cpp
View file @
75c0037d
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
*/
*/
#include "externalcomposerplugineditortest.h"
#include "externalcomposerplugineditortest.h"
#include "../externalcomposerplugineditor.h"
#include <QTest>
#include <QTest>
ExternalComposerPluginEditorTest
::
ExternalComposerPluginEditorTest
(
QObject
*
parent
)
ExternalComposerPluginEditorTest
::
ExternalComposerPluginEditorTest
(
QObject
*
parent
)
...
@@ -26,4 +27,11 @@ ExternalComposerPluginEditorTest::ExternalComposerPluginEditorTest(QObject *pare
...
@@ -26,4 +27,11 @@ ExternalComposerPluginEditorTest::ExternalComposerPluginEditorTest(QObject *pare
}
}
void
ExternalComposerPluginEditorTest
::
shouldHaveDefaultValue
()
{
ExternalComposerPluginEditor
plugin
;
QVERIFY
(
plugin
.
hasConfigureDialog
());
QVERIFY
(
plugin
.
createInterface
(
nullptr
));
}
QTEST_MAIN
(
ExternalComposerPluginEditorTest
)
QTEST_MAIN
(
ExternalComposerPluginEditorTest
)
kmail/editorinitplugins/externalcomposer/autotests/externalcomposerplugineditortest.h
View file @
75c0037d
...
@@ -28,6 +28,10 @@ class ExternalComposerPluginEditorTest : public QObject
...
@@ -28,6 +28,10 @@ class ExternalComposerPluginEditorTest : public QObject
public:
public:
explicit
ExternalComposerPluginEditorTest
(
QObject
*
parent
=
nullptr
);
explicit
ExternalComposerPluginEditorTest
(
QObject
*
parent
=
nullptr
);
~
ExternalComposerPluginEditorTest
()
=
default
;
~
ExternalComposerPluginEditorTest
()
=
default
;
private
Q_SLOTS
:
void
shouldHaveDefaultValue
();
};
};
#endif // EXTERNALCOMPOSERPLUGINEDITORTEST_H
#endif // EXTERNALCOMPOSERPLUGINEDITORTEST_H
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