mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testng: allow test class browsing for in_whole_project scope (IDEA-140532)
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ public class TestClassBrowser extends BrowseModuleValueActionListener
|
||||
editor.applyEditorTo(config);
|
||||
GlobalSearchScope scope = getSearchScope(config.getModules());
|
||||
if (scope == null) {
|
||||
throw new MessageInfoException(new MessagesEx.MessageInfo(getProject(), "No classes found in project", "Can't Browse Tests"));
|
||||
scope = GlobalSearchScope.allScope(getProject());
|
||||
}
|
||||
return new TestClassFilter(scope, getProject(), false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user