mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
- 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>
37 lines
2.2 KiB
Diff
37 lines
2.2 KiB
Diff
|
|
<testcase classname="org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParserTest" name="testExtendsAbsoluteLocation" time="0.004">
|
|
<error message="/tmp/foo%2Fbar/parent-ivy.xml" type="java.nio.file.AccessDeniedException">java.nio.file.AccessDeniedException: /tmp/foo%2Fbar/parent-ivy.xml
|
|
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
|
|
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
|
|
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
|
|
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
|
|
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
|
|
at java.base/java.nio.file.Files.newOutputStream(Files.java:220)
|
|
at java.base/java.nio.file.Files.copy(Files.java:3067)
|
|
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParserTest.testExtendsAbsoluteLocation(XmlModuleDescriptorParserTest.java:1478)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
</error>
|
|
</testcase>
|
|
|
|
--- a/test/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParserTest.java
|
|
+++ b/test/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParserTest.java
|
|
@@ -44,6 +44,7 @@ import org.apache.ivy.util.XMLHelper;
|
|
import org.junit.Before;
|
|
import org.junit.Rule;
|
|
import org.junit.Test;
|
|
+import org.junit.Ignore;
|
|
import org.junit.rules.ExpectedException;
|
|
|
|
import java.io.File;
|
|
@@ -1462,7 +1463,7 @@ public class XmlModuleDescriptorParserTest extends AbstractModuleDescriptorParse
|
|
* @throws Exception if something goes wrong
|
|
* @see <a href="https://issues.apache.org/jira/browse/IVY-1562">IVY-1562</a>
|
|
*/
|
|
- @Test
|
|
+ @Test @Ignore
|
|
public void testExtendsAbsoluteLocation() throws Exception {
|
|
final URL ivyXML = this.getClass().getResource("foo%2Fbar/hello/test-ivy-extends-absolute.xml");
|
|
assertNotNull("Ivy xml file is missing", ivyXML);
|