Files
gentoo/dev-java/ant-ivy/files/ant-ivy-2.5.3-BundleRepoTest.patch
Volkmar W. Pogatzki 2ac61de87e dev-java/ant-ivy: add 2.5.3
- Enables tests.
- Builds with eant because of very complex test management.
- Skips some tests which would otherwise neeed network access.
- Disables jacoco coverage which would otherwise need network access.

Bug: https://bugs.gentoo.org/916262
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/353
Merges: https://codeberg.org/gentoo/gentoo/pulls/353
Signed-off-by: Sam James <sam@gentoo.org>
2026-06-23 02:39:23 +01:00

20 lines
748 B
Diff

--- a/test/java/org/apache/ivy/osgi/repo/BundleRepoTest.java
+++ b/test/java/org/apache/ivy/osgi/repo/BundleRepoTest.java
@@ -36,6 +36,7 @@ import org.apache.ivy.plugins.repository.file.FileRepository;
import org.apache.ivy.plugins.resolver.FileSystemResolver;
import org.apache.tools.ant.BuildException;
import org.junit.Test;
+import org.junit.Ignore;
import org.xml.sax.SAXException;
import static org.junit.Assert.assertEquals;
@@ -73,7 +74,7 @@ public class BundleRepoTest {
assertEquals(repo, repo2);
}
- @Test
+ @Test @Ignore
public void testResolver() throws Exception {
FileSystemResolver fileSystemResolver = new FileSystemResolver();
fileSystemResolver.setName("test");