Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the CLASS property to iCalendarJournal-Load2.vcf
[xestiacalendar/.git]
/
source
/
tests
/
xestiacalendar_icaljournalload.h
diff --git
a/source/tests/xestiacalendar_icaljournalload.h
b/source/tests/xestiacalendar_icaljournalload.h
index
9c06acc
..
c9284a2
100644
(file)
--- a/
source/tests/xestiacalendar_icaljournalload.h
+++ b/
source/tests/xestiacalendar_icaljournalload.h
@@
-30,13
+30,18
@@
TEST(iCalendarJournal, BasicTests){
TEST(iCalendarJournal, ObjectDataTests){
TEST(iCalendarJournal, ObjectDataTests){
- Calendar
Event
Object TestJournal;
- ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestJournal.LoadFile("iCalendar
Event
-Load2.vcf"));
+ Calendar
Journal
Object TestJournal;
+ ASSERT_EQ(CALENDAROBJECTLOAD_OK, TestJournal.LoadFile("iCalendar
Journal
-Load2.vcf"));
ASSERT_EQ(CALENDAROBJECTVALID_OK, TestJournal.ValidBaseObject());
// Tests for DTSTAMP.
ASSERT_EQ(CALENDAROBJECTVALID_OK, TestJournal.ValidBaseObject());
// Tests for DTSTAMP.
- ASSERT_EQ("201601
22T1241
00Z", TestJournal.DateTimeStampData);
+ ASSERT_EQ("201601
31T1415
00Z", TestJournal.DateTimeStampData);
ASSERT_EQ("OTHER=PARAM", TestJournal.DateTimeStampTokens);
ASSERT_EQ("OTHER=PARAM", TestJournal.DateTimeStampTokens);
+ // Tests for UID.
+
+ ASSERT_EQ("b3a16392-ad86-4061-be53-c215af2306c1", TestJournal.UniqueID);
+ ASSERT_EQ("UNIQUEPARAM=CERTAINLY;OKAY=MAYBENOT", TestJournal.UniqueIDTokens);
+
}
\ No newline at end of file
}
\ No newline at end of file
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy