- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testFromParts (0.21 sec)
-
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 {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 10K bytes - Viewed (0) -
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 {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 9.6K bytes - Viewed (0)