mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testng: enable navigation on disabled methods
This commit is contained in:
@@ -170,7 +170,7 @@ public class TestNGReferenceContributor extends PsiReferenceContributor {
|
||||
if (cls != null) {
|
||||
PsiMethod[] methods = cls.findMethodsByName(methodName, true);
|
||||
for (PsiMethod method : methods) {
|
||||
if (TestNGUtil.hasTest(method) || TestNGUtil.hasConfig(method)) {
|
||||
if (TestNGUtil.hasTest(method, false) || TestNGUtil.hasConfig(method)) {
|
||||
return method;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user