aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-09-30 10:56:42 +0100
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-09-30 11:04:09 +0100
commit4160938c8bd1cd242c32906b9e119fc3c5fa3393 (patch)
tree814b60f1b896ada500e47b52f79f85fe82adbca2
parentbc45947c98f7420e6e3b8b9197e3deda1e6a69f4 (diff)
downloadjgit-4160938c8bd1cd242c32906b9e119fc3c5fa3393.tar.gz
jgit-4160938c8bd1cd242c32906b9e119fc3c5fa3393.zip
ChangeIdUtilTest: Remove unused notestCommitDashV
This test was never being run. Since it was introduced it was named "notest.." which meant it didn't run with JUnit3, and since it is not annotated @Test it also doesn't run with JUnit4. When compiling with Bazel 0.6.0, error-prone raises an error that the public method is not annotated with @Ignore or @Test. Given that the test has never been run anyway, we can just remove it. Bug: 525415 Change-Id: Ie9a54f89fe42e0c201f547ff54ff1d419ce37864 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java
index aaeb79c64a..6fed233051 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java
@@ -583,23 +583,6 @@ public class ChangeIdUtilTest {
SOB1));
}
- public void notestCommitDashV() throws Exception {
- assertEquals("a\n" + //
- "\n" + //
- "Change-Id: I7fc3876fee63c766a2063df97fbe04a2dddd8d7c\n" + //
- SOB1 + //
- SOB2, //
- call("a\n" + //
- "\n" + //
- SOB1 + //
- SOB2 + //
- "\n" + //
- "# on branch master\n" + //
- "diff --git a/src b/src\n" + //
- "new file mode 100644\n" + //
- "index 0000000..c78b7f0\n"));
- }
-
@Test
public void testWithEndingURL() throws Exception {
assertEquals("a\n" + //