@Override protected void applyEditorTo(JstdRunConfiguration runConfiguration) throws ConfigurationException { JstdRunSettings.Builder builder = new JstdRunSettings.Builder(); myRootSection.applyTo(builder); runConfiguration.setRunSettings(builder.build()); }
@Override public void applyTo(JstdRunSettings.Builder runSettingsBuilder) { TestType selectedTestType = getSelectedTestType(); selectTestType(selectedTestType); runSettingsBuilder.setTestType(selectedTestType); myTestTypeContentRunSettingsSection.applyTo(runSettingsBuilder); myServerConfigurationForm.applyTo(runSettingsBuilder); }
@Override public void applyTo(@NotNull JstdRunSettings.Builder runSettingsBuilder) { BrowsersConfiguration.BrowserFamily selectedBrowser = ObjectUtils.tryCast( myPreferredDebugBrowserComboBox.getSelectedItem(), BrowsersConfiguration.BrowserFamily.class); if (selectedBrowser != null) { runSettingsBuilder.setPreferredDebugBrowser(selectedBrowser); } }
@Override public void applyTo(@NotNull JstdRunSettings.Builder runSettingsBuilder) { runSettingsBuilder.setConfigFile( ObjectUtils.notNull(myConfigFileTextFieldWithBrowseButton.getText(), "")); }
@Override public void applyTo(@NotNull JstdRunSettings.Builder runSettingsBuilder) { myTestCaseRunSettingsSection.applyTo(runSettingsBuilder); runSettingsBuilder.setTestMethodName(ObjectUtils.notNull(myTestNameTextField.getText(), "")); }