Home
last modified time | relevance | path

Searched refs:getHostText (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java133 assertEquals(expectHost, hp.getHostText()); in checkFromStringCase()
145 assertEquals(expectHost, hp2.getHostText()); in checkFromStringCase()
151 assertEquals("gmail.com", hp.getHostText()); in testFromParts()
170 assertEquals("gmail.com", hp.getHostText()); in testFromHost()
174 assertEquals("::1", hp.getHostText()); in testFromHost()
217 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
218 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
220 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
221 assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
/external/guava/guava/src/com/google/common/net/
DHostSpecifier.java80 final String host = parsedHost.getHostText(); in fromValid()
DHostAndPort.java93 public String getHostText() { in getHostText() method in HostAndPort