[Jboss-cvs] JBossAS SVN: r56913 - 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
Sat Sep 16 09:12:25 EDT 2006
Author: adrian at jboss.org
Date: 2006-09-16 09:12:22 -0400 (Sat, 16 Sep 2006)
New Revision: 56913
Modified:
projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test/JARStructureUnitTestCase.java
Log:
Fix the deployer testsuite now that directory urls contain a / on the end.
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-09-16 12:43:53 UTC (rev 56912)
+++ projects/microcontainer/trunk/deployers/src/tests/org/jboss/test/deployers/structure/jar/test/JARStructureUnitTestCase.java 2006-09-16 13:12:22 UTC (rev 56913)
@@ -144,7 +144,7 @@
// Test it got all the candidates
Map<String, Boolean> expected = new HashMap<String, Boolean>();
- expected.put(getURL("/structure/jar/subdirnotajar/sub"), false);
+ expected.put(getURL("/structure/jar/subdirnotajar/sub/"), false);
assertContexts(expected, context.getChildren());
assertCandidatesNotValid(context);
@@ -156,7 +156,7 @@
// Test it got all the candidates
Map<String, Boolean> expected = new HashMap<String, Boolean>();
- expected.put(getURL("/structure/jar/subdirisajar/sub.jar"), true);
+ expected.put(getURL("/structure/jar/subdirisajar/sub.jar/"), true);
assertContexts(expected, context.getChildren());
assertCandidatesValid(context);
@@ -173,7 +173,7 @@
// Test it got all the candidates
Map<String, Boolean> expected = new HashMap<String, Boolean>();
- expected.put(getURL("/structure/jar/subdirhasmetainf/sub"), true);
+ expected.put(getURL("/structure/jar/subdirhasmetainf/sub/"), true);
assertContexts(expected, context.getChildren());
assertCandidatesValid(context);
More information about the jboss-cvs-commits
mailing list