Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_valid (0.06 sec)

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

          ImmutableSet.<String>builder().addAll(SOMEWHERE_UNDER_PS).addAll(PS_NOT_RS).build();
    
      public void testValid() {
        for (String name : VALID_NAME) {
          InternetDomainName unused = InternetDomainName.from(name);
        }
      }
    
      public void testInvalid() {
        for (String name : INVALID_NAME) {
          assertThrows(IllegalArgumentException.class, () -> InternetDomainName.from(name));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileLocationTest.java

                    assertEquals("/share/foo/bar/", fl2.getURLPath());
                }
            }
        }
    
    
        // test case for #30
        @Test ( expected = MalformedURLException.class )
        public void testInvalid () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb:a", getContext()) ) {
                p.getType();
            }
        }
    
    
        // #41
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
Back to top