From: Steve Brokenshire Date: Mon, 21 Mar 2016 21:05:13 +0000 (+0000) Subject: Added stubs for CommonFunctions unit tests. X-Git-Tag: release-0.11~16 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=bd8cf03971ebd5a67f1d3fd8f40f23baa353761c Added stubs for CommonFunctions unit tests. --- diff --git a/source/tests/xestiaab_common.h b/source/tests/xestiaab_common.h index 1d1e0c3..654cdc8 100644 --- a/source/tests/xestiaab_common.h +++ b/source/tests/xestiaab_common.h @@ -21,7 +21,7 @@ #include "../common/filename.h" #include "../common/mime.h" #include "../common/svrblist.h" - +#include "../common/textprocessing.h" TEST(CommonFunctions, GetUserDir){ // Run the unit tests depending on the operating system being used. @@ -63,8 +63,7 @@ TEST(CommonFunctions, GetUserPrefDir){ UserDirCheck.Append(wxT("/.xestiaab/preferences/")); wxString UserDir = GetUserPrefDir(); - - ASSERT_EQ(UserDir, UserDirCheck); + ASSERT_EQ(UserDir, UserDirCheck); #endif @@ -244,4 +243,32 @@ TEST(CommonFunctions, CheckBlacklist){ ASSERT_EQ(false, CheckBlacklist("example.com")); ASSERT_EQ(true, CheckBlacklist("google.com")); +} + +TEST(CommonFunctions, EscapeString){ + +} + +TEST(CommonFunctions, GetEscapeString){ + +} + +TEST(CommonFunctions, CaptureString){ + +} + +TEST(CommonFunctions, ResetUnusedString){ + +} + +TEST(CommonFunctions, ConvertToHTML){ + +} + +TEST(CommonFunctions, DeleteMapDataProcess){ + +} + +TEST(CommonFunctions, MapDataExists){ + } \ No newline at end of file