Package org.opentest4j
Class MultipleFailuresError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- org.opentest4j.MultipleFailuresError
-
- All Implemented Interfaces:
java.io.Serializable
public class MultipleFailuresError extends java.lang.AssertionError
MultipleFailuresError
is anAssertionError
which aggregates multipleAssertionErrors
thrown in a given context (i.e., typically within the invocation of a single test).- Since:
- 1.0
- Author:
- Johannes Link, Sam Brannen, Marc Philipp
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultipleFailuresError(java.lang.String heading, java.util.List<? extends java.lang.Throwable> failures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Throwable>
getFailures()
java.lang.String
getMessage()
boolean
hasFailures()
-