diff options
author | James Moger <james.moger@gitblit.com> | 2013-06-18 22:22:31 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-06-18 22:22:31 -0400 |
commit | ff7d3cffc7af1f24a1db8d42758943cc05bcbaa0 (patch) | |
tree | 798f512e83f9a1e7de120078f11b05d132e507ba /src/test/java | |
parent | f5359b93f1c68f76c00f7efc3746a227ba5249bc (diff) | |
download | gitblit-ff7d3cffc7af1f24a1db8d42758943cc05bcbaa0.tar.gz gitblit-ff7d3cffc7af1f24a1db8d42758943cc05bcbaa0.zip |
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.
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/gitblit/tests/GitServletTest.java | 6 | ||||
-rw-r--r-- | src/test/java/com/gitblit/tests/PushLogTest.java | 6 |
2 files changed, 6 insertions, 6 deletions
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<PushLogEntry> pushes = PushLogUtils.getPushLog(name, repository);
+ List<RefLogEntry> 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<PushLogEntry> pushes = PushLogUtils.getPushLog(name, repository);
+ List<RefLogEntry> pushes = RefLogUtils.getRefLog(name, repository);
GitBlitSuite.close(repository);
}
}
\ No newline at end of file |