mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-17 07:26:47 +00:00
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:
parent
cbb0c48021
commit
4464a658db
@ -68,4 +68,12 @@ public void testInvalidIPv6Address() {
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user