exclude classes without correct VM name from tests run

EA-61053 - NPE: LaunchSuite$ClassesAndMethodsSuite.initContentBuffer
This commit is contained in:
Anna Kozlova
2014-10-07 13:31:32 +02:00
parent 6456f0b335
commit 018c907d85
@@ -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;