Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCreateParentDirectories_oneParentNeeded (0.15 sec)

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

        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_oneParentNeeded() throws IOException {
        Path path = tempDir.resolve("parent/nonexistent.file");
        Path parent = path.getParent();
        assertFalse(Files.exists(parent));
        MoreFiles.createParentDirectories(path);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_oneParentNeeded() throws IOException {
        Path path = tempDir.resolve("parent/nonexistent.file");
        Path parent = path.getParent();
        assertFalse(Files.exists(parent));
        MoreFiles.createParentDirectories(path);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top