Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java34 checkFromStringCase("google.com", 80, "google.com", 80, false); in testFromStringWellFormed()
35 checkFromStringCase("google.com", 80, "google.com", 80, false); in testFromStringWellFormed()
36 checkFromStringCase("192.0.2.1", 82, "192.0.2.1", 82, false); in testFromStringWellFormed()
37 checkFromStringCase("[2001::1]", 84, "2001::1", 84, false); in testFromStringWellFormed()
38 checkFromStringCase("2001::3", 86, "2001::3", 86, false); in testFromStringWellFormed()
39 checkFromStringCase("host:", 80, "host", 80, false); in testFromStringWellFormed()
44 checkFromStringCase("gmail.com:81", -1, "gmail.com", 81, true); in testFromStringBadDefaultPort()
45 checkFromStringCase("192.0.2.2:83", -1, "192.0.2.2", 83, true); in testFromStringBadDefaultPort()
46 checkFromStringCase("[2001::2]:85", -1, "2001::2", 85, true); in testFromStringBadDefaultPort()
47 checkFromStringCase("goo.gl:65535", 65536, "goo.gl", 65535, true); in testFromStringBadDefaultPort()
[all …]
/external/guava/android/guava-tests/test/com/google/common/net/
DHostAndPortTest.java34 checkFromStringCase("google.com", 80, "google.com", 80, false); in testFromStringWellFormed()
35 checkFromStringCase("google.com", 80, "google.com", 80, false); in testFromStringWellFormed()
36 checkFromStringCase("192.0.2.1", 82, "192.0.2.1", 82, false); in testFromStringWellFormed()
37 checkFromStringCase("[2001::1]", 84, "2001::1", 84, false); in testFromStringWellFormed()
38 checkFromStringCase("2001::3", 86, "2001::3", 86, false); in testFromStringWellFormed()
39 checkFromStringCase("host:", 80, "host", 80, false); in testFromStringWellFormed()
44 checkFromStringCase("gmail.com:81", -1, "gmail.com", 81, true); in testFromStringBadDefaultPort()
45 checkFromStringCase("192.0.2.2:83", -1, "192.0.2.2", 83, true); in testFromStringBadDefaultPort()
46 checkFromStringCase("[2001::2]:85", -1, "2001::2", 85, true); in testFromStringBadDefaultPort()
47 checkFromStringCase("goo.gl:65535", 65536, "goo.gl", 65535, true); in testFromStringBadDefaultPort()
[all …]