public void testNormalizeWinDelimToLinuxDelim() throws Exception {
NormalizeCharMap normMap = new NormalizeCharMap();
normMap.add("\\", "/");
String path = "c:\\a\\b\\c";
CharStream cs = new MappingCharFilter(normMap, new StringReader(path));
PathHierarchyTokenizer t = new PathHierarchyTokenizer( cs );
assertTokenStreamContents(t,
new String[]{"c:", "c:/a", "c:/a/b", "c:/a/b/c"},
new int[]{0, 0, 0, 0},
new int[]{2, 4, 6, 8},