[jboss-dev-forums] [Design the new POJO MicroContainer] - Failing FileVFSUnitTestCase.testVFSFileURIFactory in VFS
alesj
do-not-reply at jboss.com
Sat Nov 3 10:19:45 EDT 2007
I get a failing VFS test - FileVFSUnitTestCase.testVFSFileURIFactory.
| java.io.IOException: No context factory for vfsfile:/C:/projects/jboss-vfs/target/test-classes/
| at org.jboss.virtual.VFS.getVFS(VFS.java:85)
| at org.jboss.test.virtual.test.FileVFSUnitTestCase.testVFSFileURIFactory(FileVFSUnitTestCase.java:104)
| at org.jboss.test.virtual.test.FileVFSUnitTestCase.testVFSFileURIFactory(FileVFSUnitTestCase.java:104)
There was this in VirtualFile:
| public URL toURL() throws MalformedURLException, URISyntaxException
| {
| return getHandler().toVfsUrl();
| }
|
I guess it needs to be changed to:
| public URL toURL() throws MalformedURLException, URISyntaxException
| {
| return getHandler().toURL();
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101528#4101528
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101528
More information about the jboss-dev-forums
mailing list