mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure name is updated according to repeated count (IDEA-168832)
This commit is contained in:
+7
-7
@@ -293,6 +293,13 @@ public class JUnitConfigurable<T extends JUnitConfiguration> extends SettingsEdi
|
||||
}
|
||||
|
||||
public void applyEditorTo(@NotNull final JUnitConfiguration configuration) {
|
||||
configuration.setRepeatMode((String)myRepeatCb.getSelectedItem());
|
||||
try {
|
||||
configuration.setRepeatCount(Integer.parseInt(myRepeatCountField.getText()));
|
||||
}
|
||||
catch (NumberFormatException e) {
|
||||
configuration.setRepeatCount(1);
|
||||
}
|
||||
myModel.apply(getModuleSelector().getModule(), configuration);
|
||||
configuration.getPersistentData().setChangeList((String)myChangeListLabeledComponent.getComponent().getSelectedItem());
|
||||
applyHelpersTo(configuration);
|
||||
@@ -311,13 +318,6 @@ public class JUnitConfigurable<T extends JUnitConfiguration> extends SettingsEdi
|
||||
|
||||
myCommonJavaParameters.applyTo(configuration);
|
||||
configuration.setForkMode((String)myForkCb.getSelectedItem());
|
||||
configuration.setRepeatMode((String)myRepeatCb.getSelectedItem());
|
||||
try {
|
||||
configuration.setRepeatCount(Integer.parseInt(myRepeatCountField.getText()));
|
||||
}
|
||||
catch (NumberFormatException e) {
|
||||
configuration.setRepeatCount(1);
|
||||
}
|
||||
}
|
||||
|
||||
public void resetEditorFrom(@NotNull final JUnitConfiguration configuration) {
|
||||
|
||||
Reference in New Issue
Block a user