mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test discovery: show tests for methods from anonymous classes, fix UI
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ public class ShowDiscoveredTestsAction extends AnAction {
|
||||
String fqn = couple != null ? couple.first : null;
|
||||
if (fqn == null || c == null) return;
|
||||
String methodName = couple.second;
|
||||
String methodPresentationName = c.getName() + "." + methodName;
|
||||
String methodPresentationName = ClassUtil.extractClassName(fqn) + "." + methodName;
|
||||
|
||||
DataContext dataContext = DataManager.getInstance().getDataContext(e.getRequiredData(EDITOR).getContentComponent());
|
||||
FeatureUsageTracker.getInstance().triggerFeatureUsed("test.discovery");
|
||||
|
||||
Reference in New Issue
Block a user