From bd8cf03971ebd5a67f1d3fd8f40f23baa353761c Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 21 Mar 2016 21:05:13 +0000 Subject: [PATCH] Added stubs for CommonFunctions unit tests. --- source/tests/xestiaab_common.h | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) 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 -- 2.39.2