use of org.eclipse.jgit.internal.storage.dfs.DfsRepositoryDescription in project gitiles by GerritCodeReview.
the class TimeCacheTest method setUp.
@Before
public void setUp() throws Exception {
repo = new TestRepository<>(new InMemoryRepository(new DfsRepositoryDescription("test")));
walk = new RevWalk(repo.getRepository());
cache = new TimeCache();
start = repo.getDate().getTime() / 1000;
}
use of org.eclipse.jgit.internal.storage.dfs.DfsRepositoryDescription in project gitiles by GerritCodeReview.
the class HostIndexServletTest method setUp.
@Override
@Before
public void setUp() throws Exception {
repo = new TestRepository<>(new InMemoryRepository(new DfsRepositoryDescription(NAME)));
servlet = TestGitilesServlet.create(repo);
}
Aggregations