mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
exclude classes without correct VM name from tests run
EA-61053 - NPE: LaunchSuite$ClassesAndMethodsSuite.initContentBuffer
This commit is contained in:
+5
-2
@@ -207,14 +207,17 @@ public class SearchingForTestsTask extends Task.Backgroundable {
|
||||
}
|
||||
}
|
||||
}
|
||||
map.put(ApplicationManager.getApplication().runReadAction(
|
||||
final String className = ApplicationManager.getApplication().runReadAction(
|
||||
new Computable<String>() {
|
||||
@Nullable
|
||||
public String compute() {
|
||||
return ClassUtil.getJVMClassName(entry.getKey());
|
||||
}
|
||||
}
|
||||
), methods);
|
||||
);
|
||||
if (className != null) {
|
||||
map.put(className, methods);
|
||||
}
|
||||
}
|
||||
// We have groups we wish to limit to.
|
||||
Collection<String> groupNames = null;
|
||||
|
||||
Reference in New Issue
Block a user