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
KDE PIM Add-ons
Commits
ac7328b2
Commit
ac7328b2
authored
Jul 27, 2020
by
Laurent Montel
😁
Browse files
Prepare autotests
parent
d8745e45
Pipeline
#28520
failed with stage
in 96 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/foldersettings/autotests/CMakeLists.txt
View file @
ac7328b2
macro
(
add_foldersettings_plugin_unittest _source
)
set
(
_test
${
_source
}
)
get_filename_component
(
_name
${
_source
}
NAME_WE
)
add_executable
(
${
_name
}
${
_test
}
)
add_test
(
NAME
${
_name
}
COMMAND
${
_name
}
)
ecm_mark_as_test
(
foldersettings-
${
_name
}
)
target_link_libraries
(
${
_name
}
KF5::PimCommon Qt5::Test KF5::I18n KF5::MessageViewer folderconfiguresettings
)
endmacro
()
add_foldersettings_plugin_unittest
(
folderconfiguresettingswidgettest.cpp
)
plugins/messageviewerconfigureplugins/foldersettings/autotests/folderconfiguresettingswidgettest.cpp
0 → 100644
View file @
ac7328b2
/*
Copyright (C) 2020 Laurent Montel <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 as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
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; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "folderconfiguresettingswidgettest.h"
#include "../folderconfiguresettingswidget.h"
#include <QTest>
QTEST_MAIN
(
FolderConfigureSettingsWidgetTest
)
FolderConfigureSettingsWidgetTest
::
FolderConfigureSettingsWidgetTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
plugins/messageviewerconfigureplugins/foldersettings/autotests/folderconfiguresettingswidgettest.h
0 → 100644
View file @
ac7328b2
/*
Copyright (C) 2020 Laurent Montel <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 as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
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; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef FOLDERCONFIGURESETTINGSWIDGETTEST_H
#define FOLDERCONFIGURESETTINGSWIDGETTEST_H
#include <QObject>
class
FolderConfigureSettingsWidgetTest
:
public
QObject
{
Q_OBJECT
public:
explicit
FolderConfigureSettingsWidgetTest
(
QObject
*
parent
=
nullptr
);
~
FolderConfigureSettingsWidgetTest
()
=
default
;
};
#endif // FOLDERCONFIGURESETTINGSWIDGETTEST_H
Write
Preview
Supports
Markdown
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