public class FailureMirror extends Object
Failure
.Constructor and Description |
---|
FailureMirror(org.junit.runner.notification.Failure failure) |
Modifier and Type | Method and Description |
---|---|
org.junit.runner.Description |
getDescription() |
String |
getMessage() |
Throwable |
getThrowable()
Try to deserialize the failure's cause.
|
String |
getThrowableClass() |
String |
getThrowableString() |
String |
getTrace() |
boolean |
isAssertionViolation() |
boolean |
isAssumptionViolation() |
boolean |
isErrorViolation() |
public FailureMirror(org.junit.runner.notification.Failure failure)
public String getMessage()
public String getThrowableString()
public org.junit.runner.Description getDescription()
public String getTrace()
public Throwable getThrowable() throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
public boolean isAssumptionViolation()
public boolean isAssertionViolation()
public boolean isErrorViolation()
public String getThrowableClass()
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.