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

index d122854..dbe632a 100644 (file)
@@ -120,9 +120,14 @@ TEST(iCalendarTask, ObjectDataTests){
        ASSERT_EQ("kw", TestTask.OrganiserDataLanguage);
        ASSERT_EQ("HAPPY=WEEKS", TestTask.OrganiserDataTokens);
        
-       // Tets for PERCENT-COMPLETE.
+       // Tests for PERCENT-COMPLETE.
        
        ASSERT_EQ("42", TestTask.PercentCompleteData);
        ASSERT_EQ("DEEP=THOUGHT", TestTask.PercentCompleteTokens);
        
+       // Tests for PRIORITY.
+       
+       ASSERT_EQ(5, TestTask.PriorityData);
+       ASSERT_EQ("STATUS=DEFAULT", TestTask.PriorityTokens);
+       
 }
\ 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