Commit 38d96b4e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix class name

parent ae30758c
Pipeline #44857 passed with stage
in 16 minutes and 27 seconds
......@@ -12,16 +12,16 @@
#include <QIcon>
#include <QTest>
PreferredLineEditWidget::PreferredLineEditWidget(QObject *parent)
PreferredLineEditWidgetTest::PreferredLineEditWidgetTest(QObject *parent)
: QObject(parent)
{
}
PreferredLineEditWidget::~PreferredLineEditWidget()
PreferredLineEditWidgetTest::~PreferredLineEditWidgetTest()
{
}
void PreferredLineEditWidget::shouldHaveDefaultValue()
void PreferredLineEditWidgetTest::shouldHaveDefaultValue()
{
ContactEditor::PreferredLineEditWidget w;
auto *act = w.findChild<QAction *>(QStringLiteral("preferredaction"));
......@@ -29,7 +29,7 @@ void PreferredLineEditWidget::shouldHaveDefaultValue()
QVERIFY(!w.preferred());
}
void PreferredLineEditWidget::shouldChangePreferredValue()
void PreferredLineEditWidgetTest::shouldChangePreferredValue()
{
ContactEditor::PreferredLineEditWidget w;
auto *act = w.findChild<QAction *>(QStringLiteral("preferredaction"));
......@@ -45,4 +45,4 @@ void PreferredLineEditWidget::shouldChangePreferredValue()
QCOMPARE(act->icon(), enabled);
}
QTEST_MAIN(PreferredLineEditWidget)
QTEST_MAIN(PreferredLineEditWidgetTest)
......@@ -11,12 +11,12 @@
#include <QObject>
class PreferredLineEditWidget : public QObject
class PreferredLineEditWidgetTest : public QObject
{
Q_OBJECT
public:
explicit PreferredLineEditWidget(QObject *parent = nullptr);
~PreferredLineEditWidget();
explicit PreferredLineEditWidgetTest(QObject *parent = nullptr);
~PreferredLineEditWidgetTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
......
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