geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1130425 - /geronimo/server/trunk/framework/modules/geronimo-deployment/src/test/java/org/apache/geronimo/deployment/DeploymentContextTest.java
Date Thu, 02 Jun 2011 07:37:24 GMT
Author: genspring
Date: Thu Jun  2 07:37:23 2011
New Revision: 1130425

URL: http://svn.apache.org/viewvc?rev=1130425&view=rev
Log:
now directory is valid manifest classpath entry, correct the unit testing,

Modified:
    geronimo/server/trunk/framework/modules/geronimo-deployment/src/test/java/org/apache/geronimo/deployment/DeploymentContextTest.java

Modified: geronimo/server/trunk/framework/modules/geronimo-deployment/src/test/java/org/apache/geronimo/deployment/DeploymentContextTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deployment/src/test/java/org/apache/geronimo/deployment/DeploymentContextTest.java?rev=1130425&r1=1130424&r2=1130425&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-deployment/src/test/java/org/apache/geronimo/deployment/DeploymentContextTest.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-deployment/src/test/java/org/apache/geronimo/deployment/DeploymentContextTest.java
Thu Jun  2 07:37:23 2011
@@ -202,13 +202,14 @@ public class DeploymentContextTest exten
         DeploymentContext context = new DeploymentContext(new File("."), null, new Environment(Artifact.create("test/foo/1/ear")),
new AbstractName(URI.create("test/foo/1/ear?name=test")), ConfigurationModuleType.EAR, new
Jsr77Naming(), new MockConfigurationManager(), bundleContext);
         ArrayList<String> classPathList = new ArrayList<String>();
         ClassPathUtils.getCompleteManifestClassPath(start, start.getRelativeURI(), resolutionURI,
classPathList, exclusions, factory);
-        assertEquals(6, classPathList.size());
+        assertEquals(7, classPathList.size());
         assertEquals("lib1/lib1/lib1.jar", classPathList.get(0));
         assertEquals("lib2/lib2.jar", classPathList.get(1));
         assertEquals("lib2/lib2a.jar", classPathList.get(2));
         assertEquals("lib3.jar", classPathList.get(3));
-        assertEquals("libfolder/a.jar", classPathList.get(4));
-        assertEquals("libfolder/b.jar", classPathList.get(5));
+        assertEquals("libfolder/", classPathList.get(4));
+        assertEquals("libfolder/a.jar", classPathList.get(5));
+        assertEquals("libfolder/b.jar", classPathList.get(6));
 
     }
 



Mime
View raw message