net.thucydides.core.reports.adaptors.xunit.model
Class TestException

Package class diagram package TestException
java.lang.Object
  extended by net.thucydides.core.reports.adaptors.xunit.model.TestException

public class TestException
extends Object

A failure or error as represented in an xUnit testcase result.


Constructor Summary
TestException(String message, String errorOutput, String type)
           
 
Method Summary
 Throwable asAssertionFailure()
           
 Throwable asException()
           
 String getErrorOutput()
           
 String getMessage()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestException

public TestException(String message,
                     String errorOutput,
                     String type)
Method Detail

getMessage

public String getMessage()

getType

public String getType()

getErrorOutput

public String getErrorOutput()

asAssertionFailure

public Throwable asAssertionFailure()

asException

public Throwable asException()


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