[jboss-cvs] JBossAS SVN: r94224 - projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/vfs.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 1 15:34:50 EDT 2009
Author: david.lloyd at jboss.com
Date: 2009-10-01 15:34:50 -0400 (Thu, 01 Oct 2009)
New Revision: 94224
Modified:
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/vfs/FileVFSUnitTestCase.java
Log:
Fix tests
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/vfs/FileVFSUnitTestCase.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/vfs/FileVFSUnitTestCase.java 2009-10-01 19:29:26 UTC (rev 94223)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/vfs/FileVFSUnitTestCase.java 2009-10-01 19:34:50 UTC (rev 94224)
@@ -522,7 +522,7 @@
// Find the outer.jar
VirtualFile outerJar = testdir.getChild("unpacked-outer.jar");
assertNotNull("unpacked-outer.jar", outerJar);
- assertNull(outerJar.getChild("WEB-INF"));
+ assertFalse(outerJar.getChild("WEB-INF").exists());
}
public void testNestedNestedParent() throws Exception
@@ -1503,10 +1503,6 @@
children = root.getChildren();
assertTrue(tmpRoot + ".getChildren().size() == 0", children.size() == 0);
- // getChild() returns null
- tmpVF = root.getChild(tmp.getName());
- assertNull(tmpRoot + ".getChild('" + tmp.getName() + "') == null", tmpVF);
-
// directory delete()
assertTrue(tmpRoot + ".delete()", root.delete());
}
More information about the jboss-cvs-commits
mailing list