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
Unmaintained
KDE Pim
Commits
6737caaf
Commit
6737caaf
authored
Dec 02, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start to create an unittest for sieve editor setting
parent
ff92e7b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
72 additions
and
0 deletions
+72
-0
sieveeditor/autotests/CMakeLists.txt
sieveeditor/autotests/CMakeLists.txt
+4
-0
sieveeditor/autotests/sieveeditorutiltest.cpp
sieveeditor/autotests/sieveeditorutiltest.cpp
+34
-0
sieveeditor/autotests/sieveeditorutiltest.h
sieveeditor/autotests/sieveeditorutiltest.h
+34
-0
No files found.
sieveeditor/autotests/CMakeLists.txt
View file @
6737caaf
...
...
@@ -7,3 +7,7 @@ kde4_add_ui_files(sieveedit_serversievesettings_source
kde4_add_unit_test
(
serversievesettingstest
${
sieveedit_serversievesettings_source
}
)
target_link_libraries
(
serversievesettingstest
${
QT_QTTEST_LIBRARY
}
${
KDE4_KDEUI_LIBS
}
)
set
(
sieveeditorutiltest_source sieveeditorutiltest.cpp
)
kde4_add_unit_test
(
sieveeditorutiltest
${
sieveeditorutiltest_source
}
)
target_link_libraries
(
sieveeditorutiltest
${
QT_QTTEST_LIBRARY
}
${
KDE4_KDEUI_LIBS
}
)
sieveeditor/autotests/sieveeditorutiltest.cpp
0 → 100644
View file @
6737caaf
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library 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 Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include "sieveeditorutiltest.h"
#include <qtest_kde.h>
SieveEditorUtilTest
::
SieveEditorUtilTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
SieveEditorUtilTest
::~
SieveEditorUtilTest
()
{
}
QTEST_KDEMAIN
(
SieveEditorUtilTest
,
NoGUI
)
sieveeditor/autotests/sieveeditorutiltest.h
0 → 100644
View file @
6737caaf
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library 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 Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#ifndef SIEVEEDITORUTILTEST_H
#define SIEVEEDITORUTILTEST_H
#include <QObject>
class
SieveEditorUtilTest
:
public
QObject
{
Q_OBJECT
public:
explicit
SieveEditorUtilTest
(
QObject
*
parent
=
0
);
~
SieveEditorUtilTest
();
};
#endif // SIEVEEDITORUTILTEST_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