[jboss-cvs] JBossAS SVN: r58871 - projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 6 13:02:30 EST 2006


Author: scott.stark at jboss.org
Date: 2006-12-06 13:02:28 -0500 (Wed, 06 Dec 2006)
New Revision: 58871

Modified:
   projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test/JARStructureUnitTestCase.java
Log:
Update the testJarInDirectory check of jar urls to file urls since out jar files don't return a jar url any longer.

Modified: projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test/JARStructureUnitTestCase.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test/JARStructureUnitTestCase.java	2006-12-06 17:02:24 UTC (rev 58870)
+++ projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test/JARStructureUnitTestCase.java	2006-12-06 18:02:28 UTC (rev 58871)
@@ -149,8 +149,13 @@
       
       // Test it got all the candidates
       Map<String, Boolean> expected = new HashMap<String, Boolean>();
+      /* With the change to not expose the outer jar url, these are
+         no longer valid checks.
       expected.put(getJarURL("/structure/jar/indirectory/archive.jar"), true);
       expected.put(getJarURL("/structure/jar/indirectory/archive.zip"), true);
+      */
+      expected.put(getURL("/structure/jar/indirectory/archive.jar"), true);
+      expected.put(getURL("/structure/jar/indirectory/archive.zip"), true);
       assertContexts(expected, context.getChildren());
       
       assertCandidatesValid(context);




More information about the jboss-cvs-commits mailing list