[
https://issues.apache.org/jira/browse/VFS-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895634#comment-13895634
]
Bernd Eckenfels commented on VFS-500:
-------------------------------------
`mvn test` works for me with no errors (with and without the patch).
However sporadically `mvn verify` (on project parent) fails, not sure why. But
it seems not related to the patch. Will do some research and open a seperate
bug for that.
[quote]
Tests in error:
ProviderTestSuite>AbstractTestSuite.run:152->AbstractTestSuite.setUp:182 »
FileSystem
Test set: org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.06 sec <<<
FAILURE! - in org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase
junit.framework.TestSuite@6c54e75b(org.apache.commons.vfs2.test.ProviderTestSuite)
Time elapsed: 0.06 sec <<< ERROR!
org.apache.commons.vfs2.FileSystemException: Unknown message with code
"org.apache.commons.vfs2.FileNotFoundException Could not read from
"file:///mnt/vfs/vfs/core/target/test-classes/test-data/write-tests/file1.txt"
because it is not a file.".
at
org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:289)
at
org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
at
org.apache.commons.vfs2.provider.ram.RamFileSystem.toRamFileObject(RamFileSystem.java:254)
at
org.apache.commons.vfs2.provider.ram.RamFileSystem.importTree(RamFileSystem.java:231)
at
org.apache.commons.vfs2.provider.ram.test.RamProviderTestCase.getBaseTestFolder(RamProviderTestCase.java:88)
at
org.apache.commons.vfs2.test.AbstractTestSuite.setUp(AbstractTestSuite.java:182)
at
org.apache.commons.vfs2.test.AbstractTestSuite$1.protect(AbstractTestSuite.java:146)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at
org.apache.commons.vfs2.test.AbstractTestSuite.run(AbstractTestSuite.java:152)
[quote]
> VFSClassLoader.findResources missing
> ------------------------------------
>
> Key: VFS-500
> URL: https://issues.apache.org/jira/browse/VFS-500
> Project: Commons VFS
> Issue Type: New Feature
> Reporter: Bernd Eckenfels
> Priority: Minor
> Attachments: vfs-500-gg.diff
>
>
> the VFSClassLoader.findResources(String) method is a dummy implementation
> returning an empty Enumeration.
> I have a working implementation and will support the patch for it, this is
> the JIRA to track it.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)