Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIsValid (0.08 sec)

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

        for (String domain : badCookieDomains) {
          assertThrows(
              IllegalStateException.class, () -> InternetDomainName.from(domain).topPrivateDomain());
        }
      }
    
      public void testIsValid() {
        final Iterable<String> validCases = Iterables.concat(VALID_NAME, PS, NO_PS, NON_PS);
        final Iterable<String> invalidCases =
            Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top