Searched refs:withTarget (Results 1 – 2 of 2) sorted by relevance
427 assertThatPath("/link.txt", NOFOLLOW_LINKS).isSymbolicLink().withTarget("test.txt"); in testCreateSymbolicLink_absolute()433 assertThatPath("/foo/link.txt").noFollowLinks().isSymbolicLink().withTarget("test.txt"); in testCreateSymbolicLink_absolute()496 assertThatPath("/work/link.txt", NOFOLLOW_LINKS).isSymbolicLink().withTarget("test.txt"); in testCreateSymbolicLink_relative()497 assertThatPath("link.txt", NOFOLLOW_LINKS).isSymbolicLink().withTarget("test.txt"); in testCreateSymbolicLink_relative()503 assertThatPath("/work/foo/link.txt", NOFOLLOW_LINKS).isSymbolicLink().withTarget("test.txt"); in testCreateSymbolicLink_relative()504 assertThatPath("foo/link.txt", NOFOLLOW_LINKS).isSymbolicLink().withTarget("test.txt"); in testCreateSymbolicLink_relative()1220 assertThatPath("/link.txt", NOFOLLOW_LINKS).isSymbolicLink().withTarget("/file.txt"); in testSymbolicLinks()1240 assertThatPath("/foo", NOFOLLOW_LINKS).isSymbolicLink().withTarget("/bar/baz"); in testSymbolicLinks()1741 assertThatPath("/bar", NOFOLLOW_LINKS).isSymbolicLink().withTarget("/test"); in testCopy_symbolicLinkToPath()
206 public PathSubject withTarget(String targetPath) throws IOException { in withTarget() method in PathSubject