Searched refs:stripPathPrefix (Results 1 - 2 of 2) sorted by relevance
/opengrok/test/org/opensolaris/opengrok/web/ |
H A D | UtilTest.java | 279 public void stripPathPrefix() { method in class:UtilTest 280 assertEquals("/", Util.stripPathPrefix("/", "/")); 281 assertEquals("/abc", Util.stripPathPrefix("/abc", "/abc")); 282 assertEquals("/abc/", Util.stripPathPrefix("/abc", "/abc/")); 283 assertEquals("/abc", Util.stripPathPrefix("/abc/", "/abc")); 284 assertEquals("/abc/", Util.stripPathPrefix("/abc/", "/abc/")); 285 assertEquals("abc", Util.stripPathPrefix("/", "/abc")); 286 assertEquals("abc/def", Util.stripPathPrefix("/", "/abc/def")); 287 assertEquals("def", Util.stripPathPrefix("/abc", "/abc/def")); 288 assertEquals("def", Util.stripPathPrefix("/ab [all...] |
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | Util.java | 1167 public static String stripPathPrefix(String prefix, String fullPath) { method in class:Util
|
Completed in 10 milliseconds