org.jbehave.core.steps
Class MarkUnmatchedStepsAsPending

java.lang.Object
  extended by org.jbehave.core.steps.MarkUnmatchedStepsAsPending
All Implemented Interfaces:
StepCollector

public class MarkUnmatchedStepsAsPending
extends Object
implements StepCollector

StepCollector that marks unmatched steps as AbstractStepResult.Pending. It uses a StepFinder to collect and prioritise StepCandidates.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jbehave.core.steps.StepCollector
StepCollector.Stage
 
Constructor Summary
MarkUnmatchedStepsAsPending()
           
MarkUnmatchedStepsAsPending(StepFinder stepFinder)
           
 
Method Summary
 List<Step> collectBeforeOrAfterStoriesSteps(List<CandidateSteps> candidateSteps, StepCollector.Stage stage)
           
 List<Step> collectBeforeOrAfterStorySteps(List<CandidateSteps> candidateSteps, Story story, StepCollector.Stage stage, boolean givenStory)
           
 List<Step> collectScenarioSteps(List<CandidateSteps> candidateSteps, Scenario scenario, Map<String,String> tableRow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkUnmatchedStepsAsPending

public MarkUnmatchedStepsAsPending()

MarkUnmatchedStepsAsPending

public MarkUnmatchedStepsAsPending(StepFinder stepFinder)
Method Detail

collectBeforeOrAfterStoriesSteps

public List<Step> collectBeforeOrAfterStoriesSteps(List<CandidateSteps> candidateSteps,
                                                   StepCollector.Stage stage)
Specified by:
collectBeforeOrAfterStoriesSteps in interface StepCollector

collectBeforeOrAfterStorySteps

public List<Step> collectBeforeOrAfterStorySteps(List<CandidateSteps> candidateSteps,
                                                 Story story,
                                                 StepCollector.Stage stage,
                                                 boolean givenStory)
Specified by:
collectBeforeOrAfterStorySteps in interface StepCollector

collectScenarioSteps

public List<Step> collectScenarioSteps(List<CandidateSteps> candidateSteps,
                                       Scenario scenario,
                                       Map<String,String> tableRow)
Specified by:
collectScenarioSteps in interface StepCollector


Copyright © 2003-2010. All Rights Reserved.