[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: File locking

adrian@jboss.org do-not-reply at jboss.com
Tue Apr 22 07:06:35 EDT 2008


"alesj" wrote : 
  | See URLExistsUnitTestCase in JBossVFS.
  | 

What is the purpose of this test? 
It is testing the JDK rather than the VFS so why is it in the VFS testsuite?

Surely this code:

  |       conn = tmpURL.openConnection();
  |       lastModified = conn.getLastModified();
  | 
should be changed to use the VFS to check the getLastModified works
and assert the file can still be deleted?

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

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



More information about the jboss-dev-forums mailing list