aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2013-06-14 18:57:59 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2013-06-14 18:57:59 -0400
commit4b68f2a5327a0d7ec878bc339e5bb5b686a8d275 (patch)
tree9426217df93dfb10e5e3a29ba3d8be89573cc52b /org.eclipse.jgit.test
parent6b9c0d1232a61b74445849b70a70f8da319b009e (diff)
parent28ab9b83937982a446fe09674e653e6d4e950cd4 (diff)
downloadjgit-4b68f2a5327a0d7ec878bc339e5bb5b686a8d275.tar.gz
jgit-4b68f2a5327a0d7ec878bc339e5bb5b686a8d275.zip
Merge "document empty blocks in StashApplyCommandTest"
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java
index a81beb009a..16e80f1bfa 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java
@@ -368,6 +368,7 @@ public class StashApplyCommandTest extends RepositoryTestCase {
git.stashApply().call();
fail("Exception not thrown");
} catch (StashApplyFailureException e) {
+ // expected
}
assertEquals("content3", read(PATH));
}
@@ -398,6 +399,7 @@ public class StashApplyCommandTest extends RepositoryTestCase {
git.stashApply().call();
fail("Expected conflict");
} catch (StashApplyFailureException e) {
+ // expected
}
Status status = new StatusCommand(db).call();
assertEquals(1, status.getConflicting().size());
@@ -446,6 +448,7 @@ public class StashApplyCommandTest extends RepositoryTestCase {
git.stashApply().call();
fail("Exception not thrown");
} catch (StashApplyFailureException e) {
+ // expected
}
assertEquals("content2", read(PATH));
}