net.thucydides.core.model
Class FailureAnalysis

Package class diagram package FailureAnalysis
java.lang.Object
  extended by net.thucydides.core.model.FailureAnalysis

public class FailureAnalysis
extends Object

Determine whether a given type of exception should result in a failure or an error. Any exception that extends AssertionError is a FAILURE. Any exception that extends WebdriverAssertionError and has a cause that is an AssertionError is also a FAILURE. All other exceptions are an ERROR (except for StepFailureException as described below) Any exception that extends StepFailureException and has a cause that meets the above criteria is classed as above. All other exceptions are an ERROR


Constructor Summary
FailureAnalysis()
           
 
Method Summary
 TestResult resultFor(StepFailure stepFailure)
           
 TestResult resultFor(Throwable testFailureCause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureAnalysis

public FailureAnalysis()
Method Detail

resultFor

public TestResult resultFor(Throwable testFailureCause)

resultFor

public TestResult resultFor(StepFailure stepFailure)


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.