void () { assertFalse(PathUtilRt.isValidFileName("a:b", true)); assertTrue(PathUtilRt.isValidFileName("a:b", Platform.UNIX, false, null)); assertFalse(PathUtilRt.isValidFileName("a:b", Platform.WINDOWS, false, null)); }