Пример #1
0
 /** Returns the base folder for read tests. */
 public FileObject getBaseTestFolder(final FileSystemManager manager) throws Exception {
   final File tarFile = AbstractVfsTestCase.getTestResource("test.tar");
   final String uri = "tar:" + tarFile.getAbsolutePath() + "!/";
   return manager.resolveFile(uri);
 }
 /** Returns the base folder for tests. */
 @Override
 public FileObject getBaseTestFolder(final FileSystemManager manager) throws Exception {
   final File baseDir = AbstractVfsTestCase.getTestDirectoryFile();
   final URL url = baseDir.toURL();
   return manager.resolveFile(url.toExternalForm());
 }