|
@@ -3,7 +3,7 @@
|
|
* Company: Lynar Studios
|
|
* Company: Lynar Studios
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
* Created: 2020-08-15
|
|
* Created: 2020-08-15
|
|
- * Changed: 2020-08-15
|
|
|
|
|
|
+ * Changed: 2020-08-16
|
|
*
|
|
*
|
|
* */
|
|
* */
|
|
|
|
|
|
@@ -58,6 +58,9 @@ namespace {
|
|
#ifdef unix
|
|
#ifdef unix
|
|
ls_std::File executableFile {TestHelper::getResourcesFolderLocation() + "app"};
|
|
ls_std::File executableFile {TestHelper::getResourcesFolderLocation() + "app"};
|
|
#endif
|
|
#endif
|
|
|
|
+ #ifdef __APPLE__
|
|
|
|
+ ls_std::File executableFile {TestHelper::getResourcesFolderLocation() + "app"};
|
|
|
|
+ #endif
|
|
|
|
|
|
ASSERT_TRUE(executableFile.canExecute());
|
|
ASSERT_TRUE(executableFile.canExecute());
|
|
}
|
|
}
|
|
@@ -124,6 +127,9 @@ namespace {
|
|
#ifdef unix
|
|
#ifdef unix
|
|
ASSERT_EQ(7, file.getSize());
|
|
ASSERT_EQ(7, file.getSize());
|
|
#endif
|
|
#endif
|
|
|
|
+ #ifdef __APPLE__
|
|
|
|
+ ASSERT_EQ(7, file.getSize());
|
|
|
|
+ #endif
|
|
}
|
|
}
|
|
|
|
|
|
TEST_F(FileTest, isDirectory)
|
|
TEST_F(FileTest, isDirectory)
|