use of com.intellij.coldFusion.UI.runner.CfmlRunConfiguration in project intellij-plugins by JetBrains.
the class CfmlRunConfigurationTest method generateNonDefaultRunConfiguration.
public void generateNonDefaultRunConfiguration() throws IOException, ConfigurationException {
final CfmlRunConfiguration defaultCfmlRunConfiguration = getDefaultCfmlRunConfiguration();
final CfmlRunConfiguration clonedConfiguration = (CfmlRunConfiguration) defaultCfmlRunConfiguration.clone();
clonedConfiguration.getRunnerParameters().setUrl("http://4.4.4.4/src/index.cfm");
final RunnerAndConfigurationSettings runnerAndConfigurationSettings = RunManager.getInstance(getProject()).createConfiguration(clonedConfiguration, CfmlRunConfigurationType.getInstance().getConfigurationFactories()[0]);
RunManager.getInstance(getProject()).addConfiguration(runnerAndConfigurationSettings, false);
}
Aggregations