org.jbehave.core.reporters
Class ConcurrentStoryReporter
java.lang.Object
org.jbehave.core.reporters.ConcurrentStoryReporter
- All Implemented Interfaces:
- StoryReporter
public class ConcurrentStoryReporter
- extends Object
- implements StoryReporter
When running a multithreading mode, reports cannot be written concurrently but should
be delayed and invoked only at the end of a story, ensuring synchronization on the delegate
responsible for the reporting.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentStoryReporter
public ConcurrentStoryReporter(StoryReporter crossReferencing,
StoryReporter delegate,
boolean multiThreading)
storyNotAllowed
public void storyNotAllowed(Story story,
String filter)
- Specified by:
storyNotAllowed in interface StoryReporter
beforeStory
public void beforeStory(Story story,
boolean givenStory)
- Specified by:
beforeStory in interface StoryReporter
narrative
public void narrative(Narrative aNarrative)
- Specified by:
narrative in interface StoryReporter
afterStory
public void afterStory(boolean givenStory)
- Specified by:
afterStory in interface StoryReporter
scenarioNotAllowed
public void scenarioNotAllowed(Scenario scenario,
String filter)
- Specified by:
scenarioNotAllowed in interface StoryReporter
beforeScenario
public void beforeScenario(String scenarioTitle)
- Specified by:
beforeScenario in interface StoryReporter
scenarioMeta
public void scenarioMeta(Meta meta)
- Specified by:
scenarioMeta in interface StoryReporter
afterScenario
public void afterScenario()
- Specified by:
afterScenario in interface StoryReporter
givenStories
public void givenStories(GivenStories stories)
- Specified by:
givenStories in interface StoryReporter
givenStories
public void givenStories(List<String> storyPaths)
- Specified by:
givenStories in interface StoryReporter
beforeExamples
public void beforeExamples(List<String> steps,
ExamplesTable table)
- Specified by:
beforeExamples in interface StoryReporter
example
public void example(Map<String,String> tableRow)
- Specified by:
example in interface StoryReporter
afterExamples
public void afterExamples()
- Specified by:
afterExamples in interface StoryReporter
successful
public void successful(String step)
- Specified by:
successful in interface StoryReporter
ignorable
public void ignorable(String step)
- Specified by:
ignorable in interface StoryReporter
pending
public void pending(String step)
- Specified by:
pending in interface StoryReporter
notPerformed
public void notPerformed(String step)
- Specified by:
notPerformed in interface StoryReporter
failed
public void failed(String step,
Throwable cause)
- Specified by:
failed in interface StoryReporter
failedOutcomes
public void failedOutcomes(String step,
OutcomesTable table)
- Specified by:
failedOutcomes in interface StoryReporter
dryRun
public void dryRun()
- Specified by:
dryRun in interface StoryReporter
pendingMethods
public void pendingMethods(List<String> methods)
- Specified by:
pendingMethods in interface StoryReporter
getDelegate
public StoryReporter getDelegate()
invokeDelayed
public void invokeDelayed()
Copyright © 2003-2011. All Rights Reserved.