Fabrice Bacchella
2015-05-15 2c0555f90ecb61a068754569e2624a6569b89a2c
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" });