This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 65d70c1 Document test fixtures.
65d70c1 is described below
commit 65d70c1e55845225899feb411efe893325dc70a9
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Feb 6 10:53:01 2022 -0500
Document test fixtures.
---
src/test/java/org/apache/commons/io/file/PathUtilsTest.java | 10 ++++++++++
1 file changed, 10 insertions(+)
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 1f2c346..ce5a680 100644
--- a/src/test/java/org/apache/commons/io/file/PathUtilsTest.java
+++ b/src/test/java/org/apache/commons/io/file/PathUtilsTest.java
@@ -63,6 +63,16 @@ public class PathUtilsTest extends AbstractTempDirTest {
private static final String PATH_FIXTURE = "NOTICE.txt";
+ /**
+ * Creates directory test fixtures.
+ * <ol>
+ * <li>tempDirPath/subdir</li>
+ * <li>tempDirPath/symlinked-dir -> tempDirPath/subdir</li>
+ * </ol>
+ *
+ * @return Path to tempDirPath/subdir
+ * @throws IOException if an I/O error occurs or the parent directory does
not exist.
+ */
private Path createTempSymlinkedRelativeDir() throws IOException {
final Path targetDir = tempDirPath.resolve("subdir");
final Path symlinkDir = tempDirPath.resolve("symlinked-dir");