void () { myPolicy = FilePathSplittingPolicy.SPLIT_BY_LETTER; @NonNls String[] expectedStrings = { "t", "xt", "txt", ".txt", "e.txt", "le.txt", "ile.txt", "file.txt", ".file.txt", "..file.txt", "...file.txt", "c...file.txt", "c.../file.txt", "c:.../file.txt", "c:...4/file.txt", "c:/...4/file.txt", "c:/...r4/file.txt", "c:/d...r4/file.txt", "c:/d...ir4/file.txt", "c:/di...ir4/file.txt", "c:/di...dir4/file.txt", "c:/dir...dir4/file.txt", "c:/dir.../dir4/file.txt", "c:/dir1.../dir4/file.txt", "c:/dir1/...3/dir4/file.txt", "c:/dir1/...r3/dir4/file.txt", "c:/dir1/d...r3/dir4/file.txt", "c:/dir1/d...ir3/dir4/file.txt", "c:/dir1/di...ir3/dir4/file.txt", "c:/dir1/dir2/dir3/dir4/file.txt" }; for (String expectedString : expectedStrings) { doTest(expectedString, expectedString.length()); } }