Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getparent (0.16 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertNull(root.getParent());
          assertNull(root.toRealPath().getParent());
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertNull(path.getParent());
        assertNotNull(path.toAbsolutePath().getParent());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactlyElementsIn(locations);
      }
    
      public void testLocationEquals() {
        ClassLoader child = getClass().getClassLoader();
        ClassLoader parent = child.getParent();
        new EqualsTester()
            .addEqualityGroup(
                new ClassPath.LocationInfo(new File("foo.jar"), child),
                new ClassPath.LocationInfo(new File("foo.jar"), child))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          assertTrue(name, domain.hasRegistrySuffix());
          assertTrue(name, domain.isUnderRegistrySuffix());
          assertFalse(name, domain.isTopDomainUnderRegistrySuffix());
        }
      }
    
      public void testParent() {
        assertEquals("com", InternetDomainName.from("google.com").parent().toString());
        assertEquals("uk", InternetDomainName.from("co.uk").parent().toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          assertTrue(name, domain.hasRegistrySuffix());
          assertTrue(name, domain.isUnderRegistrySuffix());
          assertFalse(name, domain.isTopDomainUnderRegistrySuffix());
        }
      }
    
      public void testParent() {
        assertEquals("com", InternetDomainName.from("google.com").parent().toString());
        assertEquals("uk", InternetDomainName.from("co.uk").parent().toString());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
Back to top