Skip to content
GitLab
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
22145816
Commit
22145816
authored
Jan 17, 2022
by
Laurent Montel
Browse files
Add more autotest
parent
bb14ea2e
Pipeline
#124584
passed with stage
in 14 minutes and 16 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/openurlwith/autotests/CMakeLists.txt
View file @
22145816
...
...
@@ -12,3 +12,4 @@ endmacro ()
add_messageviewer_openwithurl_unittest
(
openurlwithconfigurewidgettest.cpp
)
add_messageviewer_openwithurl_unittest
(
openurlwithconfiguredialogtest.cpp
)
add_messageviewer_openwithurl_unittest
(
openurlwithconfigurecreatedialogtest.cpp
)
add_messageviewer_openwithurl_unittest
(
openurlwithconfigurecreatewidgettest.cpp
)
plugins/messageviewerconfigureplugins/openurlwith/autotests/openurlwithconfigurecreatewidgettest.cpp
0 → 100644
View file @
22145816
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include
"openurlwithconfigurecreatewidgettest.h"
#include
"openurlwithconfigurecreatewidget.h"
#include
<QTest>
QTEST_MAIN
(
OpenUrlWithConfigureCreateWidgetTest
)
OpenUrlWithConfigureCreateWidgetTest
::
OpenUrlWithConfigureCreateWidgetTest
(
QObject
*
parent
)
:
QObject
{
parent
}
{
}
void
OpenUrlWithConfigureCreateWidgetTest
::
shouldHaveDefaultValues
()
{
OpenUrlWithConfigureCreateWidget
w
;
}
plugins/messageviewerconfigureplugins/openurlwith/autotests/openurlwithconfigurecreatewidgettest.h
0 → 100644
View file @
22145816
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
<QObject>
class
OpenUrlWithConfigureCreateWidgetTest
:
public
QObject
{
Q_OBJECT
public:
explicit
OpenUrlWithConfigureCreateWidgetTest
(
QObject
*
parent
=
nullptr
);
~
OpenUrlWithConfigureCreateWidgetTest
()
override
=
default
;
private
Q_SLOTS
:
void
shouldHaveDefaultValues
();
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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