mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testDiscovery for TestNG: apply chosen state
This commit is contained in:
@@ -112,11 +112,11 @@ public class TestNGConfigurationModel
|
||||
data.MAIN_CLASS_NAME = "";
|
||||
data.METHOD_NAME = "";
|
||||
data.SUITE_NAME = "";
|
||||
} else if (TestType.METHOD == type || TestType.CLASS == type) {
|
||||
} else if (TestType.METHOD == type || TestType.CLASS == type || TestType.SOURCE == type) {
|
||||
String className = getText(TestType.CLASS);
|
||||
data.GROUP_NAME = "";
|
||||
data.SUITE_NAME = "";
|
||||
if (TestType.METHOD == type)
|
||||
if (TestType.METHOD == type || TestType.SOURCE == type)
|
||||
data.METHOD_NAME = getText(TestType.METHOD);
|
||||
|
||||
PsiClass psiClass = !getProject().isDefault() && !StringUtil.isEmptyOrSpaces(className) ? JUnitUtil.findPsiClass(className, module, getProject()) : null;
|
||||
|
||||
Reference in New Issue
Block a user