Changeset View
Changeset View
Standalone View
Standalone View
autotests/gravatardownloadpixmapwidgettest.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 38 | { | |||
---|---|---|---|---|---|
52 | 52 | | |||
53 | QCheckBox *useLibravatar = w.findChild<QCheckBox *>(QStringLiteral("uselibravatar")); | 53 | QCheckBox *useLibravatar = w.findChild<QCheckBox *>(QStringLiteral("uselibravatar")); | ||
54 | QVERIFY(useLibravatar); | 54 | QVERIFY(useLibravatar); | ||
55 | QVERIFY(!useLibravatar->isChecked()); | 55 | QVERIFY(!useLibravatar->isChecked()); | ||
56 | 56 | | |||
57 | QCheckBox *fallBackGravatar = w.findChild<QCheckBox *>(QStringLiteral("fallbackgravatar")); | 57 | QCheckBox *fallBackGravatar = w.findChild<QCheckBox *>(QStringLiteral("fallbackgravatar")); | ||
58 | QVERIFY(fallBackGravatar); | 58 | QVERIFY(fallBackGravatar); | ||
59 | QVERIFY(!fallBackGravatar->isChecked()); | 59 | QVERIFY(!fallBackGravatar->isChecked()); | ||
60 | | ||||
61 | QCheckBox *useHttps = w.findChild<QCheckBox *>(QStringLiteral("usehttps")); | | |||
62 | QVERIFY(useHttps); | | |||
63 | QVERIFY(!useHttps->isChecked()); | | |||
64 | } | 60 | } | ||
65 | 61 | | |||
66 | void GravatarDownloadPixmapWidgetTest::shouldChangeButtonEnableState() | 62 | void GravatarDownloadPixmapWidgetTest::shouldChangeButtonEnableState() | ||
67 | { | 63 | { | ||
68 | Gravatar::GravatarDownloadPixmapWidget w; | 64 | Gravatar::GravatarDownloadPixmapWidget w; | ||
69 | QLineEdit *lineEdit = w.findChild<QLineEdit *>(QStringLiteral("email")); | 65 | QLineEdit *lineEdit = w.findChild<QLineEdit *>(QStringLiteral("email")); | ||
70 | 66 | | |||
71 | QPushButton *getPixmapButton = w.findChild<QPushButton *>(QStringLiteral("searchbutton")); | 67 | QPushButton *getPixmapButton = w.findChild<QPushButton *>(QStringLiteral("searchbutton")); | ||
Show All 10 Lines |