Ver Fonte

Extended TestHelper class

- added MAC OS specific test folder location
Patrick há 4 anos atrás
pai
commit
f9f84f592e
1 ficheiros alterados com 7 adições e 1 exclusões
  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;
     }