@@ -0,0 +1,1550 @@
+package com.helger.commons.io;%0D%0A%0D%0Aimport static org.junit.Assert.assertEquals;%0D%0Aimport static org.junit.Assert.assertTrue;%0D%0A%0D%0Aimport java.io.File;%0D%0Aimport java.io.IOException;%0D%0Aimport java.nio.file.Path;%0D%0Aimport java.nio.file.Paths;%0D%0A%0D%0Aimport org.junit.Test;%0D%0A%0D%0A/**%0D%0A * Playground for %7B@link Path%7D testing%0D%0A *%0D%0A * @author Philip Helger%0D%0A */%0D%0Apublic final class PathFuncTest%0D%0A%7B%0D%0A  private static final char SEP = File.separatorChar;%0D%0A%0D%0A  @Test%0D%0A  public void testSimple () throws IOException%0D%0A  %7B%0D%0A    final Path p = Paths.get (%22pom.xml%22);%0D%0A    assertEquals (%22pom.xml%22, p.toString ());%0D%0A    assertEquals (%22pom.xml%22, p.normalize ().toString ());%0D%0A%0D%0A    // C:%5CUsers%5Cxxx%5Cgit%5Cph-commons%5Cph-commons%5Cpom.xml%0D%0A    assertTrue (p.toRealPath ().toString ().endsWith (SEP + %22ph-commons%22 + SEP + %22pom.xml%22));%0D%0A%0D%0A    // C:%5CUsers%5Cxxx%5Cgit%5Cph-commons%5Cph-commons%5Cpom.xml%0D%0A    assertTrue (p.toAbsolutePath ().toString ().endsWith (SEP + %22ph-commons%22 + SEP + %22pom.xml%22));%0D%0A  %7D%0D%0A%0D%0A  @Test%0D%0A  public void testTraverse1 () throws IOException%0D%0A  %7B%0D%0A    final Path p = Paths.get (%22cde/../pom.xml%22);%0D%0A    assertEquals (%22cde%22 + SEP + %22..%22 + SEP + %22pom.xml%22, p.toString ());%0D%0A    assertEquals (%22pom.xml%22, p.normalize ().toString ());%0D%0A%0D%0A    // C:%5CUsers%5Cxxx%5Cgit%5Cph-commons%5Cph-commons%5Cpom.xml%0D%0A    assertTrue (p.toRealPath ().toString ().endsWith (SEP + %22ph-commons%22 + SEP + %22pom.xml%22));%0D%0A%0D%0A    // C:%5CUsers%5Cxxx%5Cgit%5Cph-commons%5Cph-commons%5Cpom.xml%0D%0A    assertTrue (p.toAbsolutePath ().toString ().endsWith (SEP + %22ph-commons%22 + SEP + %22cde%22 + SEP + %22..%22 + SEP + %22pom.xml%22));%0D%0A  %7D%0D%0A%7D%0D%0A

Test added