Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Moved initialisation of string values to somewhere more appropriate.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 6 Feb 2016 12:49:31 +0000 (12:49 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 6 Feb 2016 12:49:31 +0000 (12:49 +0000)
source/tests/xestiacalendar_icaltimezoneload.h

index 51fa613..3581a9e 100644 (file)
@@ -83,6 +83,26 @@ TEST(iCalendarTimezone, ObjectDataTests){
        std::string TimeZoneOffsetToTokens;
        std::string TimeZoneOffsetFromTokens;
        
+       std::string RecurranceRuleData;
+       std::string RecurranceRuleDataTokens;
+       
+       std::string CommentList;
+       std::string CommentListAltRep;
+       std::string CommentListLanguage;
+       std::string CommentListTokens;
+       
+       std::string RecurranceDateData;
+       std::string RecurranceDateValue;
+       std::string RecurranceDateDataTimeZoneParam;
+       std::string RecurranceDateDataTokens;
+       
+       std::string TimeZoneNameData;
+       std::string TimeZoneNameLanguage;
+       std::string TimeZoneNameTokens;
+       
+       std::string XTokensData;
+       std::string XTokensDataTokens;
+       
        DateTimeStartData.clear();
        TimeZoneOffsetToData.clear();
        TimeZoneOffsetFromData.clear();
@@ -124,26 +144,6 @@ TEST(iCalendarTimezone, ObjectDataTests){
        TimeZoneOffsetFromData.clear();
        TimeZoneOffsetFromTokens.clear();
        
-       std::string RecurranceRuleData;
-       std::string RecurranceRuleDataTokens;
-       
-       std::string CommentList;
-       std::string CommentListAltRep;
-       std::string CommentListLanguage;
-       std::string CommentListTokens;
-       
-       std::string RecurranceDateData;
-       std::string RecurranceDateValue;
-       std::string RecurranceDateDataTimeZoneParam;
-       std::string RecurranceDateDataTokens;
-       
-       std::string TimeZoneNameData;
-       std::string TimeZoneNameLanguage;
-       std::string TimeZoneNameTokens;
-       
-       std::string XTokensData;
-       std::string XTokensDataTokens;
-       
        if (TestTimezone.TimezoneStandardCollection.size() > 2){
        
                DateTimeStartData = TestTimezone.TimezoneStandardCollection[2].DateTimeStartData;
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