junit.framework.AssertionFailedError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit Show documentation
Show all versions of junit Show documentation
JUnit is a regression testing framework written by Erich Gamma and Kent Beck.
It is used by the developer who implements unit tests in Java.
package junit.framework;
/**
* Thrown when an assertion failed.
*/
public class AssertionFailedError extends AssertionError {
private static final long serialVersionUID = 1L;
public AssertionFailedError() {
}
public AssertionFailedError(String message) {
super(defaultString(message));
}
private static String defaultString(String message) {
return message == null ? "" : message;
}
}