mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 18:21:26 +00:00
removed tests that no longer apply
This commit is contained in:
@@ -24,24 +24,6 @@ public class FileSystemResourceLocatorFactoryTest {
|
||||
factory = new FileSystemResourceLocatorFactory(URI.create("http://localhost/contextroot"), fs);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreateFoldersEvenWhenRequestingFiles() {
|
||||
FileSystemResourceLocator locator = factory.createResourceLocator(null, null, "/existingFolder");
|
||||
Assert.assertTrue(locator instanceof FolderLocator);
|
||||
|
||||
locator = factory.createResourceLocator("http://localhost/contextroot", "http://localhost/contextroot/existingFolder");
|
||||
Assert.assertTrue(locator instanceof FolderLocator);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreateFilesEvenWhenRequestingFolders() {
|
||||
FileSystemResourceLocator locator = factory.createResourceLocator(null, null, "/existingFile/");
|
||||
Assert.assertTrue(locator instanceof FileLocator);
|
||||
|
||||
locator = factory.createResourceLocator("http://localhost/contextroot", "http://localhost/contextroot/existingFile/");
|
||||
Assert.assertTrue(locator instanceof FileLocator);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreateFolders() {
|
||||
FileSystemResourceLocator locator = factory.createResourceLocator(null, null, "/foo/bar/");
|
||||
|
||||
Reference in New Issue
Block a user