Searched refs:simplifyPath (Results 1 – 2 of 2) sorted by relevance
20 import static com.google.common.io.Files.simplifyPath;39 assertEquals(".", simplifyPath("")); in testSimplifyEmptyString()43 assertEquals(".", simplifyPath(".")); in testSimplifyDot()47 assertEquals(" ", simplifyPath(" ")); in testSimplifyWhiteSpace()51 assertEquals("x", simplifyPath("x")); in testSimplify2()55 assertEquals("/a/b/c/d", simplifyPath("/a/b/c/d")); in testSimplify3()59 assertEquals("/a/b/c/d", simplifyPath("/a/b/c/d/")); in testSimplify4()63 assertEquals("/a/b", simplifyPath("/a//b")); in testSimplify5()67 assertEquals("/a/b", simplifyPath("//a//b/")); in testSimplify6()71 assertEquals("/", simplifyPath("/..")); in testSimplify7()[all …]
915 public static String simplifyPath(String pathname) { in simplifyPath() method