org.jbehave.core.steps
Class MarkUnmatchedStepsAsPending

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

public class MarkUnmatchedStepsAsPending
extends java.lang.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
 java.util.List<Step> collectBeforeOrAfterStoriesSteps(java.util.List<CandidateSteps> candidateSteps, StepCollector.Stage stage)
           
 java.util.List<Step> collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps, Story story, StepCollector.Stage stage, boolean givenStory)
           
 java.util.List<Step> collectScenarioSteps(java.util.List<CandidateSteps> candidateSteps, Scenario scenario, java.util.Map<java.lang.String,java.lang.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 java.util.List<Step> collectBeforeOrAfterStoriesSteps(java.util.List<CandidateSteps> candidateSteps,
                                                             StepCollector.Stage stage)
Specified by:
collectBeforeOrAfterStoriesSteps in interface StepCollector

collectBeforeOrAfterStorySteps

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

collectScenarioSteps

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


Copyright © 2003-2010. All Rights Reserved.