use of com.google.gerrit.server.git.GitRepositoryManager in project gerrit by GerritCodeReview.
the class NoteDbSchemaVersionCheckTest method setup.
@Before
public void setup() throws Exception {
AllProjectsName allProjectsName = new AllProjectsName("All-Projects");
GitRepositoryManager repoManager = new InMemoryRepositoryManager();
repoManager.createRepository(allProjectsName);
versionManager = new NoteDbSchemaVersionManager(allProjectsName, repoManager);
versionManager.init();
sitePaths = new SitePaths(Paths.get("/tmp/foo"));
}
Aggregations