Class FailureMirror
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
A type-safe mirror of
Failure.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanWas [@link Failure} an instance of anAssertionError?private booleanprivate org.junit.runner.DescriptionThe testDescriptionthat caused this failure.private Stringprivate Stringprivate Stringprivate 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.DescriptiongetTrace()booleanbooleanboolean
-
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 testDescriptionthat 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
-