HTTPCLIENT-1319 - add disabled tests

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2013-02-07 00:17:31 +00:00
parent cbb0c48021
commit 4464a658db
1 changed files with 8 additions and 0 deletions

View File

@ -68,4 +68,12 @@ public class TestInetAddressUtils {
Assert.assertFalse(InetAddressUtils.isIPv6Address("2001:0db8::0000::57ab")); // Cannot have two contractions
}
@Test
@org.junit.Ignore
// Test HTTPCLIENT-1319
public void testInvalidIPv6AddressIncorrectGroupCount() {
Assert.assertFalse(InetAddressUtils.isIPv6HexCompressedAddress("::")); // not enough fields
Assert.assertFalse(InetAddressUtils.isIPv6HexCompressedAddress("1::2:3:4:5:6:7:8")); // too many fields
}
}