From 7e298c9ed538dd8d5207adce3497b4a1df701dc5 Mon Sep 17 00:00:00 2001 From: Christian Halstrick Date: Wed, 24 Nov 2010 09:43:38 +0100 Subject: Add more tests for rebase and externalized missing Strings Coverage tests showed that we are missing to test certain areas in the rebase command. Add the missing tests. Change-Id: Ia4a272d26cde7e1861dac30496e4b6799fc8187a Signed-off-by: Christian Halstrick --- org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api') diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java index bda7f266ee..0938ec1051 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java @@ -434,7 +434,8 @@ public class RebaseCommand extends GitCommand { case NO_CHANGE: break; default: - throw new IOException("Could not abort rebase"); + throw new JGitInternalException( + JGitText.get().abortingRebaseFailed); } } // cleanup the files -- cgit v1.2.3