mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fix: NPE
This commit is contained in:
+3
-1
@@ -248,7 +248,9 @@ public abstract class PyEnvTestCase {
|
||||
catch (final NoSuchMethodException e) {
|
||||
throw new AssertionError("No such method", e);
|
||||
}
|
||||
Assume.assumeFalse("Test skipped on this os", Arrays.stream(classAnnotation.skipOnOSes()).anyMatch(TestEnv::isThisOs));
|
||||
if (classAnnotation != null) {
|
||||
Assume.assumeFalse("Test skipped on this os", Arrays.stream(classAnnotation.skipOnOSes()).anyMatch(TestEnv::isThisOs));
|
||||
}
|
||||
|
||||
final String[] classTags = getTags(classAnnotation);
|
||||
final String[] methodTags = getTags(methodAnnotation);
|
||||
|
||||
Reference in New Issue
Block a user