Home
last modified time | relevance | path

Searched refs:fromHost (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java169 HostAndPort hp = HostAndPort.fromHost("gmail.com"); in testFromHost()
173 hp = HostAndPort.fromHost("[::1]"); in testFromHost()
178 HostAndPort.fromHost("gmail.com:80"); in testFromHost()
184 HostAndPort.fromHost("[gmail.com]"); in testFromHost()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java151 public static HostAndPort fromHost(String host) { in fromHost() method in HostAndPort