public class InvalidTestClassError extends InitializationError
Runners in case the class under test is not valid.
Its message conveniently lists all of the validation errors.
| Constructor and Description |
|---|
InvalidTestClassError(Class<?> offendingTestClass,
List<Throwable> validationErrors) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
getCausesaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidTestClassError(Class<?> offendingTestClass, List<Throwable> validationErrors)
public String getMessage()
getMessage in class ThrowableCopyright © 2002–2020 JUnit. All rights reserved.