Home
last modified time | relevance | path

Searched refs:requireBracketsForIPv6 (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java214 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
215 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
217 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
218 assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
222 HostAndPort.fromString("::1").requireBracketsForIPv6(); in testRequireBracketsForIPv6()
/external/guava/android/guava-tests/test/com/google/common/net/
DHostAndPortTest.java214 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
215 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
217 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
218 assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()); in testRequireBracketsForIPv6()
222 HostAndPort.fromString("::1").requireBracketsForIPv6(); in testRequireBracketsForIPv6()
/external/guava/android/guava/src/com/google/common/net/
DHostAndPort.java274 public HostAndPort requireBracketsForIPv6() { in requireBracketsForIPv6() method in HostAndPort
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java274 public HostAndPort requireBracketsForIPv6() { in requireBracketsForIPv6() method in HostAndPort