DS-3484: Refactoring builders and extended Browse by title test

This commit is contained in:
Tom Desair
2017-10-16 23:24:22 +02:00
committed by Tom Desair
parent 9529e5634f
commit 6a7c60c121
29 changed files with 614 additions and 289 deletions

View File

@@ -81,7 +81,7 @@ public class AbstractDSpaceTest
if (!kernelImpl.isRunning())
{
// NOTE: the "dspace.dir" system property MUST be specified via Maven
kernelImpl.start(System.getProperty("dspace.dir")); // init the kernel
kernelImpl.start(getDspaceDir()); // init the kernel
}
// Initialize mock Util class (allows Util.getSourceVersion() to work in Unit tests)
@@ -111,4 +111,8 @@ public class AbstractDSpaceTest
}
kernelImpl = null;
}
public static String getDspaceDir(){
return System.getProperty("dspace.dir");
}
}