void () { String pattern1 = "a*b.c?d"; String pattern2 = "xxx"; WriteAction.run(() -> myFileTypeManager.setIgnoredFilesList(pattern1 + ";" + pattern2)); checkIgnored("ab.cxd"); checkIgnored("axb.cxd"); checkIgnored("xxx"); checkNotIgnored("ax.cxx"); checkNotIgnored("ab.cd"); checkNotIgnored("ab.c__d"); checkNotIgnored(pattern2 + 'x'); checkNotIgnored("xx"); assertTrue(myFileTypeManager.isIgnoredFilesListEqualToCurrent(pattern2 + ";" + pattern1)); assertFalse(myFileTypeManager.isIgnoredFilesListEqualToCurrent(pattern2 + ";" + "ab.c*d")); }