Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 52a1bb22 authored by Laurent Montel's avatar Laurent Montel 😁

Improve autotests

parent e90ebb46
......@@ -16,6 +16,8 @@
#include "gravatarcreatedialogtest.h"
#include "../widgets/gravatarcreatedialog.h"
#include "../widgets/gravatarcreatewidget.h"
#include <qtest_kde.h>
GravatarCreateDialogTest::GravatarCreateDialogTest(QObject *parent)
......@@ -29,4 +31,11 @@ GravatarCreateDialogTest::~GravatarCreateDialogTest()
void GravatarCreateDialogTest::shouldHaveDefaultValue()
KABGravatar::GravatarCreateDialog dlg;
KABGravatar::GravatarCreateWidget *w = dlg.findChild<KABGravatar::GravatarCreateWidget *>(QLatin1String("gravatarcreatewidget"));
QTEST_KDEMAIN(GravatarCreateDialogTest, GUI)
......@@ -26,6 +26,9 @@ class GravatarCreateDialogTest : public QObject
explicit GravatarCreateDialogTest(QObject *parent = 0);
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