mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -88,6 +88,7 @@ public class JUnit4TestResultsSender extends RunListener {
|
||||
}
|
||||
|
||||
private static boolean isComparisonFailure(Throwable throwable) {
|
||||
if (throwable == null) return false;
|
||||
final String throwableClassName = throwable.getClass().getName();
|
||||
return throwableClassName.equals(JUNIT_FRAMEWORK_COMPARISON_NAME) || throwableClassName.equals(ORG_JUNIT_COMPARISON_NAME);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user