com.carrotsearch.ant.tasks.junit4.events.mirrors
Class FailureMirror
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
public class FailureMirror
- extends Object
A type-safe mirror of Failure.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailureMirror
public FailureMirror(Failure failure)
getMessage
public String getMessage()
getThrowableString
public String getThrowableString()
getDescription
public Description getDescription()
getTrace
public String getTrace()
getThrowable
public Throwable getThrowable()
throws ClassNotFoundException,
IOException
- Try to deserialize the failure's cause. Context class loader is used
for class lookup. May cause side effects (class loading, static blocks, etc.)
- Throws:
ClassNotFoundException
IOException
isAssumptionViolation
public boolean isAssumptionViolation()
isAssertionViolation
public boolean isAssertionViolation()
isErrorViolation
public boolean isErrorViolation()
getThrowableClass
public String getThrowableClass()
Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.