From b6dd64930e7e2624c33b9a90bd9bed8c7f6d2391 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 29 Feb 2016 15:08:21 +0000 Subject: [PATCH] Renamed Fail to InvalidSSL. --- source/tests/xestiacalendar_caldav.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.5