Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRegistrySuffixExclusion (2.79 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertTrue(domain.hasPublicSuffix());
        assertEquals("essex.sch.uk", domain.publicSuffix().toString());
        assertEquals("www.essex.sch.uk", domain.topPrivateDomain().toString());
      }
    
      public void testRegistrySuffixExclusion() {
        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasRegistrySuffix());
        assertEquals("yokohama.jp", domain.registrySuffix().toString());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top