- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testHashCodeAndEquals (0.28 sec)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
public void testGetPortOrDefault() { assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123)); assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); } public void testHashCodeAndEquals() { HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123"); HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123"); HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0)