summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/GitBlitSuite.java
diff options
context:
space:
mode:
authorMilos Cubrilo <milos.cubrilo@gmail.com>2015-01-11 13:41:29 +0100
committerMilos Cubrilo <milos.cubrilo@gmail.com>2015-01-11 13:41:29 +0100
commita9a2ffcf9a34bd25fe2e05bfdd4cde74725bb17d (patch)
tree69489cfef9060831b3c802bbb237f9d70f4a13ac /src/test/java/com/gitblit/tests/GitBlitSuite.java
parentde6f6625cb96775b640240ed2e57499743670fe2 (diff)
downloadgitblit-a9a2ffcf9a34bd25fe2e05bfdd4cde74725bb17d.tar.gz
gitblit-a9a2ffcf9a34bd25fe2e05bfdd4cde74725bb17d.zip
#230 - Improve empty folder navigation.
Empty folders are automatically skipped when browsing repository tree (similar to github "folder jumping" feature).
Diffstat (limited to 'src/test/java/com/gitblit/tests/GitBlitSuite.java')
-rw-r--r--src/test/java/com/gitblit/tests/GitBlitSuite.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/com/gitblit/tests/GitBlitSuite.java b/src/test/java/com/gitblit/tests/GitBlitSuite.java
index f2dfcc0c..bf6834d3 100644
--- a/src/test/java/com/gitblit/tests/GitBlitSuite.java
+++ b/src/test/java/com/gitblit/tests/GitBlitSuite.java
@@ -63,9 +63,9 @@ import com.gitblit.utils.JGitUtils;
GitBlitTest.class, FederationTests.class, RpcTests.class, GitServletTest.class, GitDaemonTest.class,
SshDaemonTest.class, GroovyScriptTest.class, LuceneExecutorTest.class, RepositoryModelTest.class,
FanoutServiceTest.class, Issue0259Test.class, Issue0271Test.class, HtpasswdAuthenticationTest.class,
- ModelUtilsTest.class, JnaUtilsTest.class, LdapSyncServiceTest.class, FileTicketServiceTest.class,
+ ModelUtilsTest.class, JnaUtilsTest.class, LdapSyncServiceTest.class, FileTicketServiceTest.class,
BranchTicketServiceTest.class, RedisTicketServiceTest.class, AuthenticationManagerTest.class,
- SshKeysDispatcherTest.class, UITicketTest.class })
+ SshKeysDispatcherTest.class, UITicketTest.class, PathUtilsTest.class })
public class GitBlitSuite {
public static final File BASEFOLDER = new File("data");
@@ -110,11 +110,11 @@ public class GitBlitSuite {
return getRepository("test/gitective.git");
}
- public static Repository getTicketsTestRepository() {
- JGitUtils.createRepository(REPOSITORIES, "gb-tickets.git").close();
- return getRepository("gb-tickets.git");
- }
-
+ public static Repository getTicketsTestRepository() {
+ JGitUtils.createRepository(REPOSITORIES, "gb-tickets.git").close();
+ return getRepository("gb-tickets.git");
+ }
+
private static Repository getRepository(String name) {
try {
File gitDir = FileKey.resolve(new File(REPOSITORIES, name), FS.DETECTED);