From ff7d3cffc7af1f24a1db8d42758943cc05bcbaa0 Mon Sep 17 00:00:00 2001 From: James Moger Date: Tue, 18 Jun 2013 22:22:31 -0400 Subject: Reflogs, Digests, and Dashboards Renamed pushlog to reflog to better match it's current and future purpose. Split PushesPanel into ReflogPanel and DigestsPanel. Overhauled project pages and gave them a coherent purpose from the dashboard. --- src/test/java/com/gitblit/tests/GitServletTest.java | 6 +++--- src/test/java/com/gitblit/tests/PushLogTest.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/com/gitblit/tests/GitServletTest.java b/src/test/java/com/gitblit/tests/GitServletTest.java index c1aaf1a3..7607fbf7 100644 --- a/src/test/java/com/gitblit/tests/GitServletTest.java +++ b/src/test/java/com/gitblit/tests/GitServletTest.java @@ -38,12 +38,12 @@ import com.gitblit.Constants.AccessRestrictionType; import com.gitblit.Constants.AuthorizationControl; import com.gitblit.GitBlit; import com.gitblit.Keys; -import com.gitblit.models.PushLogEntry; +import com.gitblit.models.RefLogEntry; import com.gitblit.models.RepositoryModel; import com.gitblit.models.UserModel; import com.gitblit.utils.ArrayUtils; import com.gitblit.utils.JGitUtils; -import com.gitblit.utils.PushLogUtils; +import com.gitblit.utils.RefLogUtils; public class GitServletTest { @@ -788,7 +788,7 @@ public class GitServletTest { String name = "refchecks/ticgit.git"; File refChecks = new File(GitBlitSuite.REPOSITORIES, name); Repository repository = new FileRepositoryBuilder().setGitDir(refChecks).build(); - List pushes = PushLogUtils.getPushLog(name, repository); + List pushes = RefLogUtils.getRefLog(name, repository); GitBlitSuite.close(repository); assertTrue("Repository has an empty push log!", pushes.size() > 0); } diff --git a/src/test/java/com/gitblit/tests/PushLogTest.java b/src/test/java/com/gitblit/tests/PushLogTest.java index 0f46b53b..f5d5965b 100644 --- a/src/test/java/com/gitblit/tests/PushLogTest.java +++ b/src/test/java/com/gitblit/tests/PushLogTest.java @@ -25,8 +25,8 @@ import org.eclipse.jgit.storage.file.FileRepositoryBuilder; import org.eclipse.jgit.util.FS; import org.junit.Test; -import com.gitblit.models.PushLogEntry; -import com.gitblit.utils.PushLogUtils; +import com.gitblit.models.RefLogEntry; +import com.gitblit.utils.RefLogUtils; public class PushLogTest { @@ -35,7 +35,7 @@ public class PushLogTest { String name = "~james/helloworld.git"; File gitDir = FileKey.resolve(new File(GitBlitSuite.REPOSITORIES, name), FS.DETECTED); Repository repository = new FileRepositoryBuilder().setGitDir(gitDir).build(); - List pushes = PushLogUtils.getPushLog(name, repository); + List pushes = RefLogUtils.getRefLog(name, repository); GitBlitSuite.close(repository); } } \ No newline at end of file -- cgit v1.2.3