Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added stubs for CommonFunctions unit tests.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 21 Mar 2016 21:05:13 +0000 (21:05 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 21 Mar 2016 21:05:13 +0000 (21:05 +0000)
source/tests/xestiaab_common.h

index 1d1e0c3..654cdc8 100644 (file)
@@ -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
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