summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/tests/JGitUtilsTest.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-04-17 12:06:29 -0400
committerJames Moger <james.moger@gitblit.com>2011-04-17 12:06:29 -0400
commit9802a766a28bfcb0ae01494ebfa1cbeb11e71809 (patch)
tree208ee6239872f47206e2070546f5fa2b3d76f779 /src/com/gitblit/tests/JGitUtilsTest.java
parent01bd346efe98af0f05f23f897c0819d2df8d856c (diff)
downloadgitblit-9802a766a28bfcb0ae01494ebfa1cbeb11e71809.tar.gz
gitblit-9802a766a28bfcb0ae01494ebfa1cbeb11e71809.zip
Rename ticgit integration to tickets.
The current ticgit implementation is based on ticgit.net, a BSD implementation for C#. Jeff Welling advises using commit bf57b032e030bd16a7b2 (2009-01-27) from ticgit as the last MIT licensed commit. A more complete implementation will be based on this version of the original Ruby sources. It remains unclear if I will support using the "ticgit" branch name or not. I purposefully haven't looked at any of the GPL improvements by Jeff, but I can see from the readme at GitHub that he has renamed the branch to "ticgit-ng" which I have no plans on supporting as I do not want to taint GitBlit with GPL code.
Diffstat (limited to 'src/com/gitblit/tests/JGitUtilsTest.java')
-rw-r--r--src/com/gitblit/tests/JGitUtilsTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/gitblit/tests/JGitUtilsTest.java b/src/com/gitblit/tests/JGitUtilsTest.java
index c77aaaf1..b6b497f0 100644
--- a/src/com/gitblit/tests/JGitUtilsTest.java
+++ b/src/com/gitblit/tests/JGitUtilsTest.java
@@ -17,7 +17,7 @@ import org.eclipse.jgit.storage.file.FileRepository;
import com.gitblit.utils.JGitUtils;
import com.gitblit.wicket.models.PathModel;
import com.gitblit.wicket.models.RefModel;
-import com.gitblit.wicket.models.TicGitTicket;
+import com.gitblit.wicket.models.TicketModel;
public class JGitUtilsTest extends TestCase {
@@ -72,9 +72,9 @@ public class JGitUtilsTest extends TestCase {
public void testTicGit() throws Exception {
Repository r = new FileRepository(new File(repositoriesFolder, "ticgit") + "/" + Constants.DOT_GIT);
- RefModel ticgit = JGitUtils.getTicGitBranch(r);
+ RefModel ticgit = JGitUtils.getTicketsBranch(r);
assertTrue("Ticgit branch does not exist!", ticgit != null);
- List<TicGitTicket> tickets = JGitUtils.getTicGitTickets(r);
+ List<TicketModel> tickets = JGitUtils.getTickets(r);
assertTrue("No tickets found!", tickets.size() > 0);
r.close();
}