summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorChris Aniszczyk <caniszczyk@gmail.com>2010-12-02 21:19:10 -0500
committerCode Review <codereview-daemon@eclipse.org>2010-12-02 21:19:10 -0500
commit39fe52ccc7db41db5a066663beb2d8428d02c706 (patch)
tree17b6ed17abb07330e1d40c4ee4f55afb3da00e4b /org.eclipse.jgit.test
parentb5f9a9b4d33a5a2930957a6ea4a5930ea748b5fd (diff)
parent7aa1b85821e007c0243772273960069497284290 (diff)
downloadjgit-39fe52ccc7db41db5a066663beb2d8428d02c706.tar.gz
jgit-39fe52ccc7db41db5a066663beb2d8428d02c706.zip
Merge "Rebase Interoperability first part: write "interactive" file"
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/api/RebaseCommandTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/RebaseCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/RebaseCommandTest.java
index 2e04cdb1bd..d1d3480b23 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/RebaseCommandTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/RebaseCommandTest.java
@@ -322,7 +322,8 @@ public class RebaseCommandTest extends RepositoryTestCase {
checkFile(theFile,
"<<<<<<< OURS\n1master\n=======\n1topic\n>>>>>>> THEIRS\n2\n3\ntopic4\n");
- assertEquals(RepositoryState.REBASING_MERGE, db.getRepositoryState());
+ assertEquals(RepositoryState.REBASING_INTERACTIVE, db
+ .getRepositoryState());
assertTrue(new File(db.getDirectory(), "rebase-merge").exists());
// the first one should be included, so we should have left two picks in
// the file
@@ -410,7 +411,8 @@ public class RebaseCommandTest extends RepositoryTestCase {
assertEquals(Status.STOPPED, res.getStatus());
assertEquals(conflicting, res.getCurrentCommit());
- assertEquals(RepositoryState.REBASING_MERGE, db.getRepositoryState());
+ assertEquals(RepositoryState.REBASING_INTERACTIVE, db
+ .getRepositoryState());
assertTrue(new File(db.getDirectory(), "rebase-merge").exists());
// the first one should be included, so we should have left two picks in
// the file