org.jbehave.core
Class PrintStreamRunnerMonitor

java.lang.Object
  extended by org.jbehave.core.PrintStreamRunnerMonitor
All Implemented Interfaces:
StoryRunnerMonitor

public class PrintStreamRunnerMonitor
extends java.lang.Object
implements StoryRunnerMonitor


Constructor Summary
PrintStreamRunnerMonitor()
           
PrintStreamRunnerMonitor(java.io.PrintStream output)
           
 
Method Summary
 void renderingReports(java.io.File outputDirectory, java.util.List<java.lang.String> formats, java.util.Properties templateProperties)
           
 void reportRenderingFailed(java.io.File outputDirectory, java.util.List<java.lang.String> formats, java.util.Properties templateProperties, java.lang.Throwable cause)
           
 void reportsNotRendered()
           
 void reportsRendered(int scenarios, int failedScenarios)
           
 void runningStory(java.lang.String storyName)
           
 void storiesBatchFailed(java.lang.String failedStories)
           
 void storiesNotRun()
           
 void storyFailed(java.lang.String storyName, java.lang.Throwable e)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintStreamRunnerMonitor

public PrintStreamRunnerMonitor()

PrintStreamRunnerMonitor

public PrintStreamRunnerMonitor(java.io.PrintStream output)
Method Detail

storiesBatchFailed

public void storiesBatchFailed(java.lang.String failedStories)
Specified by:
storiesBatchFailed in interface StoryRunnerMonitor

storyFailed

public void storyFailed(java.lang.String storyName,
                        java.lang.Throwable e)
Specified by:
storyFailed in interface StoryRunnerMonitor

runningStory

public void runningStory(java.lang.String storyName)
Specified by:
runningStory in interface StoryRunnerMonitor

storiesNotRun

public void storiesNotRun()
Specified by:
storiesNotRun in interface StoryRunnerMonitor

renderingReports

public void renderingReports(java.io.File outputDirectory,
                             java.util.List<java.lang.String> formats,
                             java.util.Properties templateProperties)
Specified by:
renderingReports in interface StoryRunnerMonitor

reportRenderingFailed

public void reportRenderingFailed(java.io.File outputDirectory,
                                  java.util.List<java.lang.String> formats,
                                  java.util.Properties templateProperties,
                                  java.lang.Throwable cause)
Specified by:
reportRenderingFailed in interface StoryRunnerMonitor

reportsRendered

public void reportsRendered(int scenarios,
                            int failedScenarios)
Specified by:
reportsRendered in interface StoryRunnerMonitor

reportsNotRendered

public void reportsNotRendered()
Specified by:
reportsNotRendered in interface StoryRunnerMonitor

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2010. All Rights Reserved.