Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added unit tests for CALSCALE to iCalendarEvent/BaseObjectVerifyTests
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 14:40:21 +0000 (14:40 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 14:40:21 +0000 (14:40 +0000)
source/tests/xestiacalendar_icaleventload.h

index e3498e2..674ebcf 100644 (file)
@@ -39,6 +39,11 @@ TEST(iCalendarEvent, BaseObjectVerifyTests){
        ASSERT_EQ("REQUEST", TestEvent.MethodData);
        ASSERT_EQ("EXAMPLE=DATA", TestEvent.MethodTokens);
        
+       // Tests for CALSCALE.
+       
+       ASSERT_EQ("GREGORIAN", TestEvent.CalendarScaleData);
+       ASSERT_EQ("MORE=YES", TestEvent.CalendarScaleTokens);
+       
 }
 
 TEST(iCalendarEvent, ObjectDataTests){
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