Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f8c97ce6 authored by Laurent Montel's avatar Laurent Montel 😁

Add more unittest

parent 8740b4ab
......@@ -35,6 +35,8 @@ void GravatarResolvUrlJobTest::shouldHaveDefaultValue()
PimCommon::GravatarResolvUrlJob job;
QVERIFY(job.email().isEmpty());
QCOMPARE(job.size(), 80);
QCOMPARE(job.hasGravatar(), false);
QCOMPARE(job.pixmap().isNull(), true);
}
void GravatarResolvUrlJobTest::shouldChangeSize()
......@@ -108,4 +110,4 @@ void GravatarResolvUrlJobTest::shouldGenerateGravatarUrl()
}
QTEST_KDEMAIN(GravatarResolvUrlJobTest, NoGUI)
QTEST_KDEMAIN(GravatarResolvUrlJobTest, GUI)
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