Changeset View
Changeset View
Standalone View
Standalone View
autotests/testcreateddatecompat.cpp
Context not available. | |||||
63 | { | 63 | { | ||
---|---|---|---|---|---|
64 | KCalCore::MemoryCalendar::Ptr cal(new KCalCore::MemoryCalendar(QTimeZone::utc())); | 64 | KCalCore::MemoryCalendar::Ptr cal(new KCalCore::MemoryCalendar(QTimeZone::utc())); | ||
65 | KCalCore::ICalFormat format; | 65 | KCalCore::ICalFormat format; | ||
66 | format.fromRawString(cal, QByteArray(icalFile32)); | 66 | QVERIFY(format.fromRawString(cal, QByteArray(icalFile32))); | ||
67 | KCalCore::Event::Ptr event = cal->event(QStringLiteral("uid")); | 67 | KCalCore::Event::Ptr event = cal->event(QStringLiteral("uid")); | ||
68 | QVERIFY(event); | 68 | QVERIFY(event); | ||
69 | QCOMPARE(event->created(), | 69 | QCOMPARE(event->created(), | ||
Context not available. | |||||
74 | { | 74 | { | ||
75 | KCalCore::MemoryCalendar::Ptr cal(new KCalCore::MemoryCalendar(QTimeZone::utc())); | 75 | KCalCore::MemoryCalendar::Ptr cal(new KCalCore::MemoryCalendar(QTimeZone::utc())); | ||
76 | KCalCore::ICalFormat format; | 76 | KCalCore::ICalFormat format; | ||
77 | format.fromRawString(cal, QByteArray(icalFile33)); | 77 | QVERIFY(format.fromRawString(cal, QByteArray(icalFile33))); | ||
78 | KCalCore::Event::Ptr event = cal->event(QStringLiteral("uid")); | 78 | KCalCore::Event::Ptr event = cal->event(QStringLiteral("uid")); | ||
79 | QVERIFY(event); | 79 | QVERIFY(event); | ||
80 | QCOMPARE(event->created(), | 80 | QCOMPARE(event->created(), | ||
Context not available. |