]> source.dussan.org Git - jgit.git/commitdiff
Use Ignore to bypass unused test 41/2941/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 27 Mar 2011 20:53:26 +0000 (22:53 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 28 Mar 2011 05:41:45 +0000 (07:41 +0200)
Change-Id: Ica9e50c0d512865d217f55bf0d100f27878031b9
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java

index e6990fb83f2e3db458433b8ab6cadc904c014cbb..edcab8a92da9c5df2935d51e832e1753ffd29f81 100644 (file)
@@ -55,6 +55,7 @@ import java.io.File;
 import java.io.IOException;
 import java.net.URISyntaxException;
 
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class URIishTest {
@@ -315,8 +316,8 @@ public class URIishTest {
                assertEquals(u, new URIish(str));
        }
 
-       /* Resolving ~user is beyond standard Java API and need more support
        @Test
+       @Ignore("Resolving ~user is beyond standard Java API and need more support")
        public void testFileWithUserHome() throws Exception {
                final String str = "~some/p ath";
                URIish u = new URIish(str);
@@ -331,7 +332,6 @@ public class URIishTest {
                assertEquals(u.setPass(null).toPrivateString(), u.toString());
                assertEquals(u, new URIish(str));
        }
-       */
 
        @Test
        public void testFileWithNoneUserHomeWithTilde() throws Exception {