فهرست منبع

Extended TestHelper class

- added MAC OS specific test folder location
Patrick 4 سال پیش
والد
کامیت
f9f84f592e
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      test/TestHelper.hpp

+ 7 - 1
test/TestHelper.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2020-08-15
+ * Changed:         2020-08-16
  *
  * */
 
@@ -27,6 +27,9 @@ class TestHelper {
       #ifdef unix
         location = TestHelper::getTestFolderLocation() + R"(resources/)";
       #endif
+      #ifdef __APPLE__
+        location = TestHelper::getTestFolderLocation() + R"(resources/)";
+      #endif
 
       return location;
     }
@@ -40,6 +43,9 @@ class TestHelper {
       #ifdef unix
         location = R"(/home/patrick/CLionProjects/lynar-studios-standard-library/test/)";
       #endif
+      #ifdef __APPLE__
+        location = R"(/Users/lynarstudios/CLionProjects/lynar-studios-standard-library/test/)";
+      #endif
 
       return location;
     }