Package org.assertj.core.error
Class AssertJMultipleFailuresError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- org.opentest4j.MultipleFailuresError
-
- org.assertj.core.error.AssertJMultipleFailuresError
-
- All Implemented Interfaces:
Serializable
public class AssertJMultipleFailuresError extends org.opentest4j.MultipleFailuresErrorAssertJ version ofMultipleFailuresErrorto get more control on the error formatting.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static StringEOLprivate static StringERROR_SEPARATORprivate Stringheadingprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description AssertJMultipleFailuresError(String heading, List<? extends Throwable> failures)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private StringerrorSeparator(int errorNumber)StringgetMessage()private booleanhasDescription(String message)private static booleanisBlank(String str)private static StringnullSafeMessage(Throwable failure)private static Stringpluralize(int count, String singular, String plural)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
EOL
private static final String EOL
-
ERROR_SEPARATOR
private static final String ERROR_SEPARATOR
-
heading
private String heading
-
-