private ArchivaDavResourceLocator resourceLocator;
- private ArchivaDavResourceFactory factory;
-
private File baseDir;
- private final String REPOPATH = "/myresource.jar";
+ private final String REPOPATH = "myresource.jar";
private File myResource;
baseDir = getTestFile("target/DavResourceTest");
baseDir.mkdirs();
myResource = new File(baseDir, "myresource.jar");
- myResource.createNewFile();
+ assertTrue("Could not create " + myResource.getAbsolutePath(), myResource.createNewFile());
resourceLocator = (ArchivaDavResourceLocator)new ArchivaDavLocatorFactory().createResourceLocator("/", REPOPATH);
resource = getDavResource(REPOPATH, myResource);
lockManager = new SimpleLockManager();