Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE PIM Add-ons
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
KDE PIM Add-ons
Commits
40729072
Commit
40729072
authored
Dec 27, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more autotest
parent
1311af58
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
2 deletions
+71
-2
kmail/editorplugins/rot13/autotests/CMakeLists.txt
kmail/editorplugins/rot13/autotests/CMakeLists.txt
+5
-2
kmail/editorplugins/rot13/autotests/rot13jobtest.cpp
kmail/editorplugins/rot13/autotests/rot13jobtest.cpp
+33
-0
kmail/editorplugins/rot13/autotests/rot13jobtest.h
kmail/editorplugins/rot13/autotests/rot13jobtest.h
+32
-0
kmail/editorplugins/rot13/rot13plugineditorinterface.cpp
kmail/editorplugins/rot13/rot13plugineditorinterface.cpp
+1
-0
No files found.
kmail/editorplugins/rot13/autotests/CMakeLists.txt
View file @
40729072
...
...
@@ -8,6 +8,9 @@ macro(add_kmail_editorplugin_unittest _source _additional)
target_link_libraries
(
${
_name
}
Qt5::Test KF5::XmlGui KF5::IconThemes KF5::MessageComposer
)
endmacro
()
add_kmail_editorplugin_unittest
(
rot13plugineditortest.cpp
"../rot13plugineditor.cpp;../rot13plugineditorinterface.cpp"
)
add_kmail_editorplugin_unittest
(
rot13plugineditortest.cpp
"../rot13plugineditor.cpp;../rot13plugineditorinterface.cpp;../rot13job.cpp"
)
add_kmail_editorplugin_unittest
(
rot13plugineditorinterfacetest.cpp
"../rot13plugineditorinterface.cpp;../rot13job.cpp"
)
add_kmail_editorplugin_unittest
(
rot13jobtest.cpp
"../rot13job.cpp"
)
add_kmail_editorplugin_unittest
(
rot13plugineditorinterfacetest.cpp
"../rot13plugineditorinterface.cpp"
)
kmail/editorplugins/rot13/autotests/rot13jobtest.cpp
0 → 100644
View file @
40729072
/*
Copyright (c) 2015 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "rot13jobtest.h"
#include <QTest>
Rot13JobTest
::
Rot13JobTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
Rot13JobTest
::~
Rot13JobTest
()
{
}
QTEST_MAIN
(
Rot13JobTest
)
kmail/editorplugins/rot13/autotests/rot13jobtest.h
0 → 100644
View file @
40729072
/*
Copyright (c) 2015 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef ROT13JOBTEST_H
#define ROT13JOBTEST_H
#include <QObject>
class
Rot13JobTest
:
public
QObject
{
Q_OBJECT
public:
explicit
Rot13JobTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
Rot13JobTest
();
};
#endif // ROT13JOBTEST_H
kmail/editorplugins/rot13/rot13plugineditorinterface.cpp
View file @
40729072
...
...
@@ -16,6 +16,7 @@
*/
#include "rot13plugineditorinterface.h"
#include "rot13job.h"
#include <KLocalizedString>
#include <KActionCollection>
#include <QAction>
...
...
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