#endif
+}
+
+TEST(CommonFunctions, GetSettingsFile){
+
+ // Run the unit tests depending on the operating system being used.
+
+#if defined(__WIN32__)
+
+#elif defined(__APPLE__)
+
+#else
+
+ // Setup for comparison purposes. Should be
+ // /home/<user>/.xestiaab/preferences/accounts
+
+ wxString SettingsFileCheck = "";
+ SettingsFileCheck.Clear();
+ SettingsFileCheck.Append(wxString::FromUTF8(getenv("HOME")));
+ SettingsFileCheck.Append(wxT("/.xestiaab/preferences/settings"));
+
+ wxString SettingsFile = GetSettingsFile();
+
+ ASSERT_EQ(SettingsFile, SettingsFileCheck);
+
+#endif
+
}
\ No newline at end of file