diff --git a/src/test/java/org/apache/commons/io/file/PathUtilsTest.java b/src/test/java/org/apache/commons/io/file/PathUtilsTest.java index 4643f640884..93c23c04cba 100644 --- a/src/test/java/org/apache/commons/io/file/PathUtilsTest.java +++ b/src/test/java/org/apache/commons/io/file/PathUtilsTest.java @@ -250,6 +250,11 @@ public void testGetBaseNamePathCornerCases() { assertEquals("", PathUtils.getBaseName(Paths.get("bar/.foo"))); } + @Test + public void testGetDosFileAttributeView() { + assertNotNull(PathUtils.getDosFileAttributeView(current())); + } + @Test public void testGetExtension() { assertNull(PathUtils.getExtension(null)); @@ -453,7 +458,7 @@ public void testReadStringSimpleUtf8() throws IOException { assertEquals(expected, PathUtils.readString(path, StandardCharsets.UTF_8)); assertEquals(expected, PathUtils.readString(path, null)); } - + @Test public void testSetReadOnlyFile() throws IOException { final Path resolved = tempDirPath.resolve("testSetReadOnlyFile.txt");