Examples of RunnerAndConfigurationSettingsImpl


Examples of com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl

    protected RunnerAndConfigurationSettingsImpl createConfigurationByElement(Location location, ConfigurationContext configurationContext) {
        location = ExecutionUtil.stepIntoSingleClass(location);
        PsiClass aClass = configurationType.getBehaviorClass(location.getPsiElement());
        if (aClass == null) return null;
        PsiMethod currentMethod = configurationType.getBehaviourMethodElement(location.getPsiElement());
        RunnerAndConfigurationSettingsImpl settings = cloneTemplateConfiguration(location.getProject(), configurationContext);
        JBehaveRunConfiguration configuration = (JBehaveRunConfiguration) settings.getConfiguration();
        configuration.setBehaviorClass(ClassUtil.fullName(aClass));
        if (currentMethod != null) {
            configuration.setBehaviorMethod(currentMethod.getName());
        }
        configuration.setModule(ExecutionUtil.findModule(aClass));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.