- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testFromParts (0.41 sec)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
// Make sure we expected this to fail. assertEquals(-1, expectPort); } assertEquals(expectHost, hp2.getHost()); } } public void testFromParts() { HostAndPort hp = HostAndPort.fromParts("gmail.com", 81); assertEquals("gmail.com", hp.getHost()); assertTrue(hp.hasPort()); assertEquals(81, hp.getPort()); try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 11:19:47 UTC 2023 - 9.6K bytes - Viewed (0)