()
| 751 | } |
| 752 | |
| 753 | @Test |
| 754 | public void testMkdirs() throws Exception { |
| 755 | assertMemoryLeak(() -> { |
| 756 | File r = temporaryFolder.newFolder("to_delete"); |
| 757 | try (Path path = new Path().of(r.getAbsolutePath())) { |
| 758 | path.concat("a").concat("b").concat("c").concat("f.text"); |
| 759 | Assert.assertEquals(0, Files.mkdirs(path, 509)); |
| 760 | } |
| 761 | |
| 762 | try (Path path = new Path().of(r.getAbsolutePath())) { |
| 763 | path.concat("a").concat("b").concat("c"); |
| 764 | Assert.assertTrue(Files.exists(path.$())); |
| 765 | } |
| 766 | }); |
| 767 | } |
| 768 | |
| 769 | @Test |
| 770 | public void testMmapInvalid() throws Exception { |
nothing calls this directly
no test coverage detected