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.MultipleFailuresError
AssertJ version ofMultipleFailuresError
to get more control on the error formatting.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static String
EOL
private static String
ERROR_SEPARATOR
private String
heading
private static long
serialVersionUID
-
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 String
errorSeparator(int errorNumber)
String
getMessage()
private boolean
hasDescription(String message)
private static boolean
isBlank(String str)
private static String
nullSafeMessage(Throwable failure)
private static String
pluralize(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
-
-