Browse Source

removed tests that no longer apply

Sebastian Stenzel 9 years ago
parent
commit
b2a90ddcf6

+ 0 - 18
main/jackrabbit-filesystem-adapter/src/test/java/org/cryptomator/filesystem/jackrabbit/FileSystemResourceLocatorFactoryTest.java

@@ -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/");