James Moger
2015-10-10 a3a18a0ebfeb65777ad5bd065e26fa9c00e8100c
src/test/java/com/gitblit/tests/JGitUtilsTest.java
@@ -476,6 +476,15 @@
   }
   @Test
   public void testFilesInPath2() throws Exception {
      assertEquals(0, JGitUtils.getFilesInPath2(null, null, null).size());
      Repository repository = GitBlitSuite.getHelloworldRepository();
      List<PathModel> files = JGitUtils.getFilesInPath2(repository, null, null);
      repository.close();
      assertTrue(files.size() > 10);
   }
   @Test
   public void testDocuments() throws Exception {
      Repository repository = GitBlitSuite.getTicgitRepository();
      List<String> extensions = Arrays.asList(new String[] { ".mkd", ".md" });