mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-106244 - FSNFE: TestClassCollector.collectClassFQNames
skip tests in jars
This commit is contained in:
@@ -59,6 +59,10 @@ public class TestClassCollector {
|
||||
Predicate<Class<?>> classPredicate = predicateProducer.apply(classLoader);
|
||||
while (resources.hasMoreElements()) {
|
||||
URL url = resources.nextElement();
|
||||
|
||||
//don't search for tests in jars
|
||||
if ("jar".equals(url.getProtocol())) continue;
|
||||
|
||||
Path baseDir = Paths.get(url.toURI());
|
||||
|
||||
//collect tests under single module test output only
|
||||
|
||||
Reference in New Issue
Block a user