You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/09/18 18:26:19 UTC
svn commit: r1808756 -
/commons/proper/vfs/trunk/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/TestEntityResolver.java
Author: ggregory
Date: Mon Sep 18 18:26:19 2017
New Revision: 1808756
URL: http://svn.apache.org/viewvc?rev=1808756&view=rev
Log:
Add debug helpers.
Modified:
commons/proper/vfs/trunk/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/TestEntityResolver.java
Modified: commons/proper/vfs/trunk/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/TestEntityResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/TestEntityResolver.java?rev=1808756&r1=1808755&r2=1808756&view=diff
==============================================================================
--- commons/proper/vfs/trunk/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/TestEntityResolver.java (original)
+++ commons/proper/vfs/trunk/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/zip/test/TestEntityResolver.java Mon Sep 18 18:26:19 2017
@@ -30,9 +30,11 @@ public class TestEntityResolver implemen
final String path = "/read-xml-tests/" + fileName;
final FileObject xsdFileObject = sourceFile.resolveFile(path);
if (!xsdFileObject.exists()) {
+ System.err.println("File does not exist: " + xsdFileObject);
throw new IllegalStateException(
"Schema " + path + " not found in file " + containerFile + " parsing " + sourceFile);
}
+ // System.out.println("Opening input stream on " + xsdFileObject);
return new InputSource(xsdFileObject.getContent().getInputStream());
}
return null;