From bea36a26ea68c9589f9ac73a5d700d8abeb2bcac Mon Sep 17 00:00:00 2001
From: william <william.chen@hlmt.com.tw>
Date: Wed, 05 Aug 2015 03:56:39 -0400
Subject: [PATCH] trandition chinese translation it's for zh_TW(Taiwan)

---
 src/test/java/com/gitblit/tests/JGitUtilsTest.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/test/java/com/gitblit/tests/JGitUtilsTest.java b/src/test/java/com/gitblit/tests/JGitUtilsTest.java
index 68cb4f8..2cf4a5a 100644
--- a/src/test/java/com/gitblit/tests/JGitUtilsTest.java
+++ b/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" });
@@ -520,7 +529,7 @@
 		// grab the commits since 2008-07-15
 		commits = JGitUtils.getRevLog(repository, null,
 				new SimpleDateFormat("yyyy-MM-dd").parse("2008-07-15"));
-		assertEquals(19, commits.size());
+		assertEquals(12, commits.size());
 		repository.close();
 	}
 

--
Gitblit v1.9.1