net.thucydides.junit.steps
Class StepResult

Package class diagram package StepResult
java.lang.Object
  extended by org.junit.runner.Result
      extended by net.thucydides.junit.steps.StepResult

public class StepResult
extends org.junit.runner.Result

A version of the JUnit Result class that we can use to publish step results.

Author:
johnsmart

Constructor Summary
StepResult()
           
 
Method Summary
 int getFailureCount()
           
 List<org.junit.runner.notification.Failure> getFailures()
           
 int getIgnoreCount()
           
 int getRunCount()
           
 void logExecutedTest()
           
 void logFailure(org.junit.runner.notification.Failure failure)
           
 void logIgnoredTest()
           
 boolean wasSuccessful()
           
 
Methods inherited from class org.junit.runner.Result
createListener, getRunTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepResult

public StepResult()
Method Detail

logFailure

public void logFailure(org.junit.runner.notification.Failure failure)

logIgnoredTest

public void logIgnoredTest()

logExecutedTest

public void logExecutedTest()

getFailureCount

public int getFailureCount()
Overrides:
getFailureCount in class org.junit.runner.Result

getFailures

public List<org.junit.runner.notification.Failure> getFailures()
Overrides:
getFailures in class org.junit.runner.Result

getIgnoreCount

public int getIgnoreCount()
Overrides:
getIgnoreCount in class org.junit.runner.Result

getRunCount

public int getRunCount()
Overrides:
getRunCount in class org.junit.runner.Result

wasSuccessful

public boolean wasSuccessful()
Overrides:
wasSuccessful in class org.junit.runner.Result


Copyright © 2011 Wakaleo Consulting. All Rights Reserved.