use of org.opensolaris.opengrok.history.GitRepository in project OpenGrok by OpenGrok.
the class ProjectMessageTest method setUp.
@Before
public void setUp() throws IOException {
Assume.assumeTrue(new MercurialRepository().isWorking());
Assume.assumeTrue(new SubversionRepository().isWorking());
Assume.assumeTrue(new GitRepository().isWorking());
repository = new TestRepository();
repository.create(HistoryGuru.class.getResourceAsStream("repositories.zip"));
env = RuntimeEnvironment.getInstance();
env.removeAllMessages();
env.setSourceRoot(repository.getSourceRoot());
env.setDataRoot(repository.getDataRoot());
env.setProjectsEnabled(true);
RepositoryFactory.initializeIgnoredNames(env);
}
Aggregations