[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Failing FileVFSUnitTestCase.testVFSFileURIFactory in VFS

alesj do-not-reply at jboss.com
Sat Nov 3 10:49:13 EDT 2007


But this then breaks AbstractVFSContextTest.testGetVFS:

  |    public void testGetVFS() throws Exception
  |    {
  |       VFSContext context = getVFSContext("simple");
  |       URI rootURI = context.getRootURI();
  |       VFS vfs = context.getVFS();
  |       VirtualFile rootFile = vfs.getRoot();
  | 
  |       URI uri = new URI("vfs" + rootURI);
  |       URI rfUri = rootFile.toURI();
  |       assertEquals(uri, rfUri);
  |    }
  | 

What's the deal here?
Are both tests OK?

Fixing transformation between uri/url?
Or adding simple vfs* context factories?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101529#4101529

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101529



More information about the jboss-dev-forums mailing list