From: Steve Brokenshire Date: Mon, 29 Feb 2016 15:08:21 +0000 (+0000) Subject: Renamed Fail to InvalidSSL. X-Git-Tag: release-0.02~326 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=b6dd64930e7e2624c33b9a90bd9bed8c7f6d2391;p=xestiacalendar%2F.git Renamed Fail to InvalidSSL. --- diff --git a/source/tests/xestiacalendar_caldav.h b/source/tests/xestiacalendar_caldav.h index f3a7c3e..50faa06 100644 --- a/source/tests/xestiacalendar_caldav.h +++ b/source/tests/xestiacalendar_caldav.h @@ -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