- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCreateParentDirectories_noParentsNeeded (0.29 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertNull(path.getParent()); assertNotNull(path.toAbsolutePath().getParent()); MoreFiles.createParentDirectories(path); // test that there's no exception } public void testCreateParentDirectories_noParentsNeeded() throws IOException { Path path = tempDir.resolve("nonexistent.file"); assertTrue(Files.exists(path.getParent())); MoreFiles.createParentDirectories(path); // test that there's no exception }
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)