Replace model object exception with generic ones and migrate guice

This commit is contained in:
René Pfeuffer
2018-08-21 07:53:33 +02:00
parent bb9a0657a5
commit a0f74e3329
227 changed files with 1380 additions and 3549 deletions

View File

@@ -33,21 +33,21 @@
package sonia.scm;
import java.io.IOException;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.rules.TemporaryFolder;
import sonia.scm.util.MockUtil;
import java.io.IOException;
/**
*
* @author Sebastian Sdorra
*
* @param <T>
* @param <E>
*/
public abstract class ManagerTestBase<T extends ModelObject, E extends Exception>
public abstract class ManagerTestBase<T extends ModelObject>
{
@Rule
@@ -55,7 +55,7 @@ public abstract class ManagerTestBase<T extends ModelObject, E extends Exception
protected SCMContextProvider contextProvider;
protected Manager<T, E> manager;
protected Manager<T> manager;
@Before
public void setUp() throws IOException {
@@ -75,6 +75,6 @@ public abstract class ManagerTestBase<T extends ModelObject, E extends Exception
*
* @return
*/
protected abstract Manager<T, E> createManager();
protected abstract Manager<T> createManager();
}