blob: 40a3a4daee24d94e24a5cac3d2b46d19b65737b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<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);
|