X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Ftests%2Fxestiacalendar_icaljournalload.h;h=a18be03a044adae89271501886793561bd1177ef;hb=5765775e2004150f6f43953dcb8c655b55a928db;hp=493e1b720a6b0a70eafceea68a5d999ed7129c27;hpb=13cdffa7da7e884a625ffd3e3361e211b5669c37;p=xestiacalendar%2F.git diff --git a/source/tests/xestiacalendar_icaljournalload.h b/source/tests/xestiacalendar_icaljournalload.h index 493e1b7..a18be03 100644 --- a/source/tests/xestiacalendar_icaljournalload.h +++ b/source/tests/xestiacalendar_icaljournalload.h @@ -89,4 +89,16 @@ TEST(iCalendarJournal, ObjectDataTests){ ASSERT_EQ("kw", TestJournal.StatusLanguage); ASSERT_EQ("FAVOURITE=RICHTEA;NOTLIKE=UNKNOWN", TestJournal.StatusTokens); + // Tests for SUMMARY. + + ASSERT_EQ("A summary of the journal entry.", TestJournal.SummaryData); + ASSERT_EQ("null:nodata", TestJournal.SummaryDataAltRep); + ASSERT_EQ("kw", TestJournal.SummaryDataLanguage); + ASSERT_EQ("FAVOURITE=TOFU;NOTLIKE=NONE", TestJournal.SummaryDataTokens); + + // Tests for URL. + + ASSERT_EQ("http://www.example.com/", TestJournal.URLData); + ASSERT_EQ("EXTERNAL=YES", TestJournal.URLDataTokens); + } \ No newline at end of file