*/
public void testFindResourceInFilesOnlyWar()
throws Exception
{
URL rootURL = getResource("/vfs/test");
VFS vfs = VFS.getVFS(rootURL);
VirtualFile war2 = vfs.findChild("WarDeployApp_web.war");
assertTrue("WarDeployApp_web.war != null", war2 != null);
VirtualFile classes2 = war2.findChild("WEB-INF/classes");
assertTrue("WEB-INF/classes != null", classes2 != null);
assertTrue("WEB-INF/classes is not a leaf", classes2.isLeaf()==false);
classes2 = war2.findChild("WEB-INF/classes");
assertTrue("WEB-INF/classes != null", classes2 != null);
assertTrue("WEB-INF/classes is not a leaf", classes2.isLeaf()==false);
VirtualFile HelloJavaBean = classes2.findChild("com/sun/ts/tests/webservices/deploy/warDeploy/HelloJavaBean.class");
assertTrue("HelloJavaBean.class != null", HelloJavaBean != null);
assertTrue("HelloJavaBean.class is a leaf", HelloJavaBean.isLeaf());
VirtualFile war = vfs.findChild("filesonly.war");
assertTrue("filesonly.war != null", war != null);
VirtualFile classes = war.findChild("WEB-INF/classes");
assertTrue("WEB-INF/classes != null", classes != null);
assertTrue("WEB-INF/classes is not a leaf", classes.isLeaf()==false);