|
@@ -3,7 +3,7 @@
|
|
|
* Company: Lynar Studios
|
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
|
* Created: 2020-08-15
|
|
|
- * Changed: 2020-08-18
|
|
|
+ * Changed: 2020-08-19
|
|
|
*
|
|
|
* */
|
|
|
|
|
@@ -289,4 +289,13 @@ namespace {
|
|
|
|
|
|
file.remove();
|
|
|
}
|
|
|
+
|
|
|
+ TEST_F(FileTest, reset)
|
|
|
+ {
|
|
|
+ ls_std::File file {this->fileLocation};
|
|
|
+ ASSERT_TRUE(file.exists());
|
|
|
+
|
|
|
+ file.reset(TestHelper::getResourcesFolderLocation() + "list_test/hello.txt");
|
|
|
+ ASSERT_TRUE(file.exists());
|
|
|
+ }
|
|
|
}
|