Files
frameworks_base/test-base/src/junit/framework/AssertionFailedError.java
Paul Duffin 2141827700 Move legacy-test to test-base
Make it consistent with the test-mock and test-runner directories.
Also renames the files in api/ subdirectory.

(cherry picked from commit f779efd62c)

Bug: 30188076
Test: make checkbuild
Change-Id: Ied3621e6201d8717223fe1ccd4ea77d458126b25
Merged-In: If4f99a65fcca416ede5b3e63481398f0b451bcb7
2018-01-12 15:52:39 +00:00

20 lines
401 B
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;
}
}