Package org.jbehave.plugin.eclipse

Examples of org.jbehave.plugin.eclipse.ConfigurationState


    IMarker[] markers = workspace.getRoot().findMarkers(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, true, IResource.DEPTH_INFINITE);
    assertEquals(0, markers.length);
    ILaunchManager lm = DebugPlugin.getDefault().getLaunchManager();
    ILaunchConfigurationType configType = lm.getLaunchConfigurationType(JBehaveLaunchConfiguration.ID_JBEHAVE_APPLICATION)
 
    ConfigurationState state=new ConfigurationState();
    state.setProjectName(testProject.getProject().getName());
    state.setBehaviorClass("paket1.AClassBehaviour");
    state.setBehaviorMethod("shouldAddUp");
    ILaunchConfigurationWorkingCopy wc = configType.newInstance(
        null, lm.generateUniqueLaunchConfigurationNameFrom(state.getName()));

    state.setAttributes(wc);
    ILaunchConfiguration config = wc.doSave();
 
    IConsoleManager manager = ConsolePlugin.getDefault().getConsoleManager();
    final TextConsole[] console=new TextConsole[1];       
    manager.addConsoleListener(new IConsoleListener(){
View Full Code Here

TOP

Related Classes of org.jbehave.plugin.eclipse.ConfigurationState

Copyright © 2018 www.massapicom. 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.