Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for SEQUENCE and STATUS in iCalendarTask/ObjectDataTests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 12:27:50 +0000 (12:27 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 12:27:50 +0000 (12:27 +0000)
source/tests/xestiacalendar_icaltaskload.h

index db631b5..747b53c 100644 (file)
@@ -138,4 +138,15 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("DATE", TestTask.RecurranceIDDataValue);
        ASSERT_EQ("EXAMPLE=DATA", TestTask.RecurranceIDDataTokens);
        
+       // Tests for SEQUENCE.
+       
+       ASSERT_EQ(3, TestTask.SequenceData);
+       ASSERT_EQ("TEST=YAY", TestTask.SequenceTokens);
+       
+       // Tests for STATUS.
+       
+       ASSERT_EQ("2.0;Success", TestTask.StatusData);
+       ASSERT_EQ("kw", TestTask.StatusLanguage);
+       ASSERT_EQ("FAVOURITE=BEANS;NOTLIKE=UNKNOWN", TestTask.StatusTokens);
+       
 }
\ No newline at end of file
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy