Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Renamed Fail to InvalidSSL.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 29 Feb 2016 15:08:21 +0000 (15:08 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 29 Feb 2016 15:08:21 +0000 (15:08 +0000)
source/tests/xestiacalendar_caldav.h

index f3a7c3e..50faa06 100644 (file)
@@ -27,13 +27,13 @@ TEST(CalDAV, BasicTests){
 
        CalDAVConnectionData ConnPlain;
        CalDAVConnectionData ConnNormal;
-       CalDAVConnectionData ConnFail;
+       CalDAVConnectionData ConnInvalidSSL;
        CalDAVConnectionData ConnTimeout;
        ProcessConnectionDataFileResult DataFileResult;
 
        bool ValidDataPlain = false;
        bool ValidDataNormal = false;
-       bool ValidDataFail = false;
+       bool ValidDataInvalidSSL = false;
        bool ValidDataTimeout = false;
 
        // Attempt to read the caldavtest-plain.auth file.
@@ -52,9 +52,9 @@ TEST(CalDAV, BasicTests){
        
        // Attempt to read the caldavtest-fail.auth file.
        
-       DataFileResult = ProcessConnectionDataFile("caldavtest-fail.auth", &ConnFail);
+       DataFileResult = ProcessConnectionDataFile("caldavtest-fail.auth", &ConnInvalidSSL);
        if (DataFileResult == PROCESSCONNECTIONDATAFILE_OK){
-               ValidDataFail = true;
+               ValidDataInvalidSSL = true;
        }
        
        // Attempt to read the caldavtest-timeout.auth file.
@@ -94,7 +94,7 @@ TEST(CalDAV, BasicTests){
                
        }
        
-       if (ValidDataFail == false){
+       if (ValidDataInvalidSSL == false){
        
                // Cannot read the caldavtest-fail.auth file properly.
                
@@ -126,7 +126,7 @@ TEST(CalDAV, BasicTests){
        
        ASSERT_EQ(true, ValidDataPlain);
        ASSERT_EQ(true, ValidDataNormal);
-       ASSERT_EQ(true, ValidDataFail);
+       ASSERT_EQ(true, ValidDataInvalidSSL);
        ASSERT_EQ(true, ValidDataTimeout);
 
        // (*nix version) Setup an initial connection (just plain
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