From da29e910a87fae07f9a3f9b313b7452eaa396c0c Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Fri, 20 Dec 2019 19:27:04 +0100 Subject: [PATCH] cleanup: consistency with junit GitOrigin-RevId: 15fcc6139e8cf1a208e3b6492c5401774da14042 --- .../testng/configuration/TestNGConfigurationEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java b/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java index 04341ca0b1d3..a867eb817bd2 100644 --- a/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java +++ b/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java @@ -175,6 +175,7 @@ public class TestNGConfigurationEditor 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 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()); }