added store-api

This commit is contained in:
Sebastian Sdorra
2010-12-05 19:26:38 +01:00
parent df91b7ebed
commit f5e41495c6
13 changed files with 492 additions and 170 deletions

View File

@@ -105,11 +105,9 @@ public abstract class ManagerTestBase<T extends TypedObject,
tempDirectory = new File(System.getProperty("java.io.tmpdir"),
UUID.randomUUID().toString());
assertTrue(tempDirectory.mkdirs());
manager = createManager();
SCMContextProvider provider = mock(SCMContextProvider.class);
provider = mock(SCMContextProvider.class);
when(provider.getBaseDirectory()).thenReturn(tempDirectory);
manager = createManager();
manager.init(provider);
}
@@ -143,6 +141,9 @@ public abstract class ManagerTestBase<T extends TypedObject,
/** Field description */
protected Manager<T, E> manager;
/** Field description */
protected SCMContextProvider provider;
/** Field description */
protected File tempDirectory;
}