cleanup: consistency with junit

GitOrigin-RevId: 15fcc6139e8cf1a208e3b6492c5401774da14042
This commit is contained in:
Anna Kozlova
2019-12-27 06:32:07 +00:00
committed by intellij-monorepo-bot
parent 5cfc30d8ec
commit da29e910a8
@@ -175,6 +175,7 @@ public class TestNGConfigurationEditor<T extends TestNGConfiguration> extends Se
commonJavaParameters.setAnchor(moduleClasspath.getLabel());
myShortenCommandLineCombo.setAnchor(moduleClasspath.getLabel());
myUseModulePath.setAnchor(moduleClasspath.getLabel());
myUseModulePath.getComponent().setText(ExecutionBundle.message("use.module.path.checkbox.label"));
myUseModulePath.getComponent().setSelected(true);
myUseModulePath.setVisible(FilenameIndex.getFilesByName(project, PsiJavaModule.MODULE_INFO_FILE, GlobalSearchScope.projectScope(project)).length > 0);
}
@@ -274,7 +275,6 @@ public class TestNGConfigurationEditor<T extends TestNGConfiguration> extends Se
listenerModel.setListenerList(data.TEST_LISTENERS);
myUseDefaultReportersCheckBox.setSelected(data.USE_DEFAULT_REPORTERS);
myShortenCommandLineCombo.getComponent().setSelectedItem(config.getShortenCommandLine());
myUseModulePath.getComponent().setText(ExecutionBundle.message("use.module.path.checkbox.label"));
myUseModulePath.getComponent().setSelected(config.isUseModulePath());
}