Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Made sure that the correct variables are fetched in iCalendarEvent unit tests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 3 Feb 2016 17:49:26 +0000 (17:49 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 3 Feb 2016 17:49:26 +0000 (17:49 +0000)
Swapped ContactList for RequestStatusData in REQUEST-STATUS.

source/tests/xestiacalendar_icaleventload.h

index 6ec5ddc..d82f687 100644 (file)
@@ -676,13 +676,13 @@ TEST(iCalendarEvent, ObjectDataTests){
        
        std::string RequestLanguage;
        
-       if (TestEvent.ContactList.size() > 1){
+       if (TestEvent.RequestStatusData.size() > 1){
                
                RequestStatus = TestEvent.RequestStatusData[1];
                
        }
        
-       if (TestEvent.ContactList.size() > 1){
+       if (TestEvent.RequestStatusData.size() > 1){
                
                RequestLanguage = TestEvent.RequestStatusLanguage[1];
                
@@ -697,13 +697,13 @@ TEST(iCalendarEvent, ObjectDataTests){
        
        std::string RequestTokens;
        
-       if (TestEvent.ContactList.size() > 2){
+       if (TestEvent.RequestStatusData.size() > 2){
                
                RequestStatus = TestEvent.RequestStatusData[2];
                
        }
        
-       if (TestEvent.ContactList.size() > 2){
+       if (TestEvent.RequestStatusData.size() > 2){
                
                RequestTokens = TestEvent.RequestStatusTokens[2];
                
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