diff options
Diffstat (limited to 'dev-java/dnsjava/files/2.1.6-no-network-tests.patch')
-rw-r--r-- | dev-java/dnsjava/files/2.1.6-no-network-tests.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-java/dnsjava/files/2.1.6-no-network-tests.patch b/dev-java/dnsjava/files/2.1.6-no-network-tests.patch deleted file mode 100644 index 1ea9d3929db0..000000000000 --- a/dev-java/dnsjava/files/2.1.6-no-network-tests.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java b/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java -index 451b262..7ce8029 100644 ---- a/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java -+++ b/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java -@@ -272,16 +272,19 @@ public class AddressTest extends TestCase - - public void test_getByName() throws UnknownHostException - { -+/* - InetAddress out = Address.getByName("128.145.198.231"); - assertEquals("128.145.198.231", out.getHostAddress()); - - out = Address.getByName("serl.cs.colorado.edu"); - assertEquals("epic.cs.colorado.edu", out.getCanonicalHostName()); - assertEquals("128.138.201.71", out.getHostAddress()); -+*/ - } - - public void test_getByName_invalid() throws UnknownHostException - { -+/* - try { - Address.getByName("example.invalid"); - fail("UnknownHostException not thrown"); -@@ -294,10 +297,12 @@ public class AddressTest extends TestCase - } - catch( UnknownHostException e ){ - } -+*/ - } - - public void test_getAllByName() throws UnknownHostException - { -+/* - InetAddress[] out = Address.getAllByName("128.145.198.231"); - assertEquals(1, out.length); - assertEquals("128.145.198.231", out[0].getHostAddress()); -@@ -353,5 +358,6 @@ public class AddressTest extends TestCase - } - catch( UnknownHostException e ){ - } -+*/ - } - } |