Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Check if CalDAVConnectionData contains valid settings.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 25 Feb 2016 18:35:19 +0000 (18:35 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 25 Feb 2016 18:35:19 +0000 (18:35 +0000)
source/tests/xestiacalendar_testcommon.cpp

index 6c58342..fd716c4 100644 (file)
@@ -172,6 +172,17 @@ ProcessConnectionDataFileResult ProcessConnectionDataFile(string DataFilename,
 
        }
        
+       // Check that the CalDAV connection data object 
+       // contains valid data.
+       
+       bool CalDAVConnDataResult = CalDAVObjectValidSettings(&ConnData);
+       
+       if (CalDAVConnDataResult == false){
+               ProcessResult = PROCESSCONNECTIONDATAFILE_INVALID;
+       } else {
+               ProcessResult = PROCESSCONNECTIONDATAFILE_OK;
+       }
+       
        return ProcessResult;
                
 }
\ 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