Package org.jbehave.core.steps

Examples of org.jbehave.core.steps.InstanceStepsFactory


public abstract class JBehaveStories extends JBehaveStoriesBase {
    protected abstract List<?> createSteps();

    @Override
    protected InjectableStepsFactory createStepsFactory() {
        return new InstanceStepsFactory(configuration(), createSteps());
    }
View Full Code Here


    protected abstract List<?> createSteps();

    @Override
    @Ensures("result != null")
    protected InjectableStepsFactory createStepsFactory() {
        return new InstanceStepsFactory(configuration(), createSteps());
    }
View Full Code Here

public abstract class JBehaveStories extends JBehaveStoriesBase {
    protected abstract List<?> createSteps();

    @Override
    protected InstanceStepsFactory createStepsFactory() {
        return new InstanceStepsFactory(configuration(), createSteps());
    }
View Full Code Here

    private final InjectableStepsFactory injectableStepsFactory;

    public JBehaveStories() {
        super();
        storyPathFinder = new LocalStoryFinder(this.getClass());
        injectableStepsFactory = new InstanceStepsFactory(configuration(),
                createSteps());
    }
View Full Code Here

    }

    @Override
    public InjectableStepsFactory stepsFactory() {
        WebApplicationSteps ws = new WebApplicationSteps();
        return new InstanceStepsFactory(configuration(),
                ws,
                new InfrastructureSteps(),
                new NessusScanningSteps(),
                new AppScanningSteps());
    }
View Full Code Here

  }

  @Override
  public InjectableStepsFactory stepsFactory() {
    WebApplicationSteps ws = new WebApplicationSteps();
    return new InstanceStepsFactory(configuration(),
        ws,
                new InfrastructureSteps(),
        new AppScanningSteps());
  }
View Full Code Here

            .useParameterConverters(parameterConverters);
    }

    @Override
    public InjectableStepsFactory stepsFactory() {
        return new InstanceStepsFactory(configuration(), new MySteps(), new SeleniumProvider());
    }
View Full Code Here

                        .withRelativeDirectory("../build/jbehave/"));
    }

    @Override
    public InjectableStepsFactory stepsFactory() {
        return new InstanceStepsFactory(configuration(), new MetricsReportingSteps());
    }
View Full Code Here

    @Override
    public InjectableStepsFactory stepsFactory() {
        Map<String, Object> state = new HashMap<String, Object>();

        return new InstanceStepsFactory(configuration(),
                new SharedSteps(state),
                new ParsingSteps(state));
    }
View Full Code Here

public class VisitorEmbedder extends BasicJapaEmbedder {

    @Override
    public InjectableStepsFactory stepsFactory() {
        Map<String, Object> state = new HashMap<String, Object>();
        return new InstanceStepsFactory(configuration(),
                new SharedSteps(state),
                new VisitorSteps(state));
    }
View Full Code Here

TOP

Related Classes of org.jbehave.core.steps.InstanceStepsFactory

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.