Class FailureMirror
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
A type-safe mirror of
Failure
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Was [@link Failure} an instance of anAssertionError
?private boolean
private org.junit.runner.Description
The testDescription
that caused this failure.private String
private String
private String
private String
-
Constructor Summary
ConstructorsConstructorDescriptionFailureMirror
(org.junit.runner.Description description, String message, String trace, String throwableString, String throwableClass, boolean assertionViolation, boolean assumptionViolation) FailureMirror
(org.junit.runner.notification.Failure failure) -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runner.Description
getTrace()
boolean
boolean
boolean
-
Field Details
-
message
-
trace
-
throwableString
-
throwableClass
-
assertionViolation
private boolean assertionViolationWas [@link Failure} an instance of anAssertionError
? -
assumptionViolation
private boolean assumptionViolation -
description
private org.junit.runner.Description descriptionThe testDescription
that caused this failure.
-
-
Constructor Details
-
FailureMirror
-
FailureMirror
public FailureMirror(org.junit.runner.notification.Failure failure)
-
-
Method Details
-
getMessage
-
getThrowableString
-
getDescription
public org.junit.runner.Description getDescription() -
getTrace
-
isAssumptionViolation
public boolean isAssumptionViolation() -
isAssertionViolation
public boolean isAssertionViolation() -
isErrorViolation
public boolean isErrorViolation() -
getThrowableClass
-