Verified Commit 384cb13f authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Remove the useless TagSelectWidgetTest

parent 7608464a
......@@ -157,12 +157,6 @@ add_akonadi_isolated_test(SOURCE collectionmodifytest.cpp)
# FIXME: This is very unstable on Jenkins
#add_akonadi_isolated_test(servermanagertest.cpp)
add_akonadi_isolated_test(
SOURCE tagselectwidgettest.cpp
LINK_LIBRARIES KF5::AkonadiWidgets
)
# Having a benchmark is cool if you have any reference to compare against, but this
# benchmark takes over 40 seconds and does not have any real value to us atm. Major
# performance regressions would be spotted by devs anyway, so disabling for now.
......
/*
Copyright (c) 2015-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, 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 "tagselectwidgettest.h"
#include "../src/widgets/tagselectwidget.h"
#include "../src/widgets/tageditwidget.h"
#include <QTest>
TagSelectWidgetTest::TagSelectWidgetTest(QObject *parent)
: QObject(parent)
{
}
TagSelectWidgetTest::~TagSelectWidgetTest()
{
}
void TagSelectWidgetTest::shouldHaveDefaultValue()
{
Akonadi::TagSelectWidget widget;
Akonadi::TagEditWidget *edit = widget.findChild<Akonadi::TagEditWidget *>(QStringLiteral("tageditwidget"));
QVERIFY(edit);
}
QTEST_MAIN(TagSelectWidgetTest)
/*
Copyright (c) 2015-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, 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 TAGSELECTWIDGETTEST_H
#define TAGSELECTWIDGETTEST_H
#include <QObject>
class TagSelectWidgetTest : public QObject
{
Q_OBJECT
public:
explicit TagSelectWidgetTest(QObject *parent = nullptr);
~TagSelectWidgetTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif // TAGSELECTWIDGETTEST_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment