mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test finder: try case insensitive finder for test classes (IDEA-134321)
This commit is contained in:
@@ -107,7 +107,7 @@ public class JavaTestFinder implements TestFinder {
|
||||
PsiShortNamesCache cache = PsiShortNamesCache.getInstance(klass.getProject());
|
||||
|
||||
String klassName = klass.getName();
|
||||
Pattern pattern = Pattern.compile(".*" + klassName + ".*");
|
||||
Pattern pattern = Pattern.compile(".*" + klassName + ".*", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
HashSet<String> names = new HashSet<String>();
|
||||
cache.getAllClassNames(names);
|
||||
|
||||
Reference in New Issue
Block a user