Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testFromParts (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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());
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. 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());
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top