Lines Matching refs:subpath
111 PathOps subpath(int startIndex, int endIndex, String expected) {
112 out.format("test subpath(%d,%d)\n", startIndex, endIndex);
114 check(path.subpath(startIndex, endIndex), expected);
394 // subpath
396 .subpath(0, 1, "foo");
398 .subpath(0, 1, "foo");
400 .subpath(0, 1, "foo");
402 .subpath(0, 1, "foo")
403 .subpath(0, 2, "foo\\bar")
404 .subpath(0, 3, "foo\\bar\\gus")
405 .subpath(1, 2, "bar")
406 .subpath(1, 3, "bar\\gus")
407 .subpath(2, 3, "gus");
409 .subpath(0, 1, "foo");
411 .subpath(0, 1, "");
802 // subpath
804 .subpath(0, 1, "foo");
806 .subpath(0, 1, "foo");
808 .subpath(0, 1, "foo")
809 .subpath(1, 2, "bar")
810 .subpath(0, 2, "foo/bar");
812 .subpath(0, 1, "foo")
813 .subpath(1, 2, "bar")
814 .subpath(0, 2, "foo/bar");
816 .subpath(0, 1, "foo")
817 .subpath(1, 2, "bar")
818 .subpath(2, 3, "gus")
819 .subpath(0, 2, "foo/bar")
820 .subpath(1, 3, "bar/gus")
821 .subpath(0, 3, "foo/bar/gus");
823 .subpath(0, 1, "foo")
824 .subpath(1, 2, "bar")
825 .subpath(2, 3, "gus")
826 .subpath(0, 2, "foo/bar")
827 .subpath(1, 3, "bar/gus")
828 .subpath(0, 3, "foo/bar/gus");
830 .subpath(0, 1, "");