James Moger
2013-11-26 4fcac9d2cbdafb51e3ee9ca3b3da64fd86103174
src/test/java/com/gitblit/tests/GitBlitSuite.java
@@ -59,7 +59,7 @@
      MarkdownUtilsTest.class, JGitUtilsTest.class, SyndicationUtilsTest.class,
      DiffUtilsTest.class, MetricUtilsTest.class, X509UtilsTest.class,
      GitBlitTest.class, FederationTests.class, RpcTests.class, GitServletTest.class, GitDaemonTest.class,
      GroovyScriptTest.class, LuceneExecutorTest.class, IssuesTest.class, RepositoryModelTest.class,
      GroovyScriptTest.class, LuceneExecutorTest.class, RepositoryModelTest.class,
      FanoutServiceTest.class, Issue0259Test.class, Issue0271Test.class, HtpasswdUserServiceTest.class,
      ModelUtilsTest.class, JnaUtilsTest.class })
public class GitBlitSuite {
@@ -96,11 +96,6 @@
   public static Repository getAmbitionRepository() throws Exception {
      return getRepository("test/ambition.git");
   }
   public static Repository getIssuesTestRepository() throws Exception {
      JGitUtils.createRepository(REPOSITORIES, "gb-issues.git").close();
      return getRepository("gb-issues.git");
   }
   public static Repository getGitectiveRepository() throws Exception {
@@ -160,8 +155,6 @@
         cloneOrFetch("test/ambition.git", "https://github.com/defunkt/ambition.git");
         cloneOrFetch("test/gitective.git", "https://github.com/kevinsawicki/gitective.git");
         enableTickets("ticgit.git");
         enableDocs("ticgit.git");
         showRemoteBranches("ticgit.git");
         automaticallyTagBranchTips("ticgit.git");
         showRemoteBranches("test/jgit.git");
@@ -182,26 +175,6 @@
         System.out.println("Error: " + t.getMessage());
      }
      System.out.println("done.");
   }
   private static void enableTickets(String repositoryName) {
      try {
         RepositoryModel model = GitBlit.self().getRepositoryModel(repositoryName);
         model.useTickets = true;
         GitBlit.self().updateRepositoryModel(model.name, model, false);
      } catch (GitBlitException g) {
         g.printStackTrace();
      }
   }
   private static void enableDocs(String repositoryName) {
      try {
         RepositoryModel model = GitBlit.self().getRepositoryModel(repositoryName);
         model.useDocs = true;
         GitBlit.self().updateRepositoryModel(model.name, model, false);
      } catch (GitBlitException g) {
         g.printStackTrace();
      }
   }
   private static void showRemoteBranches(String repositoryName) {