Searched refs:hasNameComponents (Results 1 – 4 of 4) sorted by relevance
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsWindowsLikeFileSystemTest.java | 73 assertThatPath("foo").isRelative().and().hasNameComponents("foo"); in testPaths() 74 assertThatPath("foo\\bar").isRelative().and().hasNameComponents("foo", "bar"); in testPaths() 80 .hasNameComponents("foo", "bar", "baz"); in testPaths() 107 .hasNameComponents("foo", "bar") in testPaths_withSlash() 115 .hasNameComponents("foo", "bar", "baz") in testPaths_withSlash() 123 .hasNameComponents("foo", "bar", "baz") in testPaths_withSlash() 135 .hasNameComponents("foo", "bar"); in testPaths_resolve() 139 .hasNameComponents("foo", "baz"); in testPaths_resolve() 145 .hasNameComponents("one", "two"); in testPaths_resolve() 150 assertThatPath(path("foo\\bar\\..").normalize()).isRelative().and().hasNameComponents("foo"); in testPaths_normalize() [all …]
|
D | PathServiceTest.java | 58 .hasNameComponents(""); in testPathCreation() 72 .hasNameComponents("foo"); in testPathCreation() 79 .hasNameComponents("foo", "bar"); in testPathCreation() 89 .hasNameComponents("foo", "bar"); in testPathCreation() 99 .hasNameComponents(""); in testPathCreation_emptyPath() 110 .hasNameComponents("foo"); in testPathCreation_parseIgnoresEmptyString()
|
D | JimfsUnixLikeFileSystemTest.java | 169 assertThatPath("foo").isRelative().and().hasNameComponents("foo"); in testPaths() 170 assertThatPath("foo/bar").isRelative().and().hasNameComponents("foo", "bar"); in testPaths() 176 .hasNameComponents("foo", "bar", "baz"); in testPaths() 204 .hasNameComponents("foo", "bar"); in testPaths_resolve() 208 .hasNameComponents("foo", "baz"); in testPaths_resolve() 214 .hasNameComponents("one", "two"); in testPaths_resolve() 219 assertThatPath(path("foo/bar/..").normalize()).isRelative().and().hasNameComponents("foo"); in testPaths_normalize() 223 .hasNameComponents("foo", "baz", "stuff"); in testPaths_normalize() 227 .hasNameComponents("..", "..", "foo", "bar"); in testPaths_normalize() 231 .hasNameComponents("..", "bar"); in testPaths_normalize() [all …]
|
D | PathSubject.java | 123 public PathSubject hasNameComponents(String... names) { in hasNameComponents() method in PathSubject
|