Skip to content
Snippets Groups Projects
Unverified Commit 88801b20 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

TST: test file system directories access mode

parent 41106cb1
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,6 @@ public class FileSystem {
}
}
@Deprecated
public static String getBasepath() {
if (filesystem == null) {
init();
......
......@@ -68,8 +68,17 @@ public class FileUtilsTest {
@BeforeClass
public static void setup() throws Message, IOException {
Assert.assertTrue(new File(FileSystem.getBasepath()).canWrite());
Assert.assertTrue(new File(FileSystem.getBasepath()).canRead());
Assert.assertTrue(new File(FileSystem.getBasepath()).canExecute());
Assert.assertTrue(new File(FileSystem.getTmp()).canWrite());
Assert.assertTrue(new File(FileSystem.getTmp()).canRead());
Assert.assertTrue(new File(FileSystem.getTmp()).canExecute());
Assert.assertTrue(new File(FileSystem.getDropOffBox()).canWrite());
Assert.assertTrue(new File(FileSystem.getDropOffBox()).canRead());
Assert.assertTrue(new File(FileSystem.getDropOffBox()).canExecute());
deleteTmp();
System.err.println("setup");
FileUtils.createFolders(testRoot);
FileUtils.createFolders(someDir);
someFile.createNewFile();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment