geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r151529 - geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Date Sat, 05 Feb 2005 21:30:54 GMT
Author: djencks
Date: Sat Feb  5 13:30:53 2005
New Revision: 151529

URL: http://svn.apache.org/viewcvs?view=rev&rev=151529
Log:
Why didn't the assertions in JettyWebAppContext catch this?

Modified:
    geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java

Modified: geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java?view=diff&r1=151528&r2=151529
==============================================================================
--- geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
(original)
+++ geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Sat Feb  5 13:30:53 2005
@@ -109,7 +109,7 @@
     protected void setUpInsecureAppContext() throws Exception {
         GBeanData app = new GBeanData(webModuleName, JettyWebAppContext.GBEAN_INFO);
         app.setAttribute("uri", URI.create("war1/"));
-        app.setAttribute("componentContext", null);
+        app.setAttribute("componentContext", Collections.EMPTY_MAP);
         OnlineUserTransaction userTransaction = new OnlineUserTransaction();
         app.setAttribute("userTransaction", userTransaction);
         //we have no classes or libs.
@@ -141,7 +141,7 @@
         app.setAttribute("authenticator", formAuthenticator);
         app.setAttribute("policyContextID", "TEST");
         app.setAttribute("uri", URI.create("war3/"));
-        app.setAttribute("componentContext", null);
+        app.setAttribute("componentContext", Collections.EMPTY_MAP);
 
         OnlineUserTransaction userTransaction = new OnlineUserTransaction();
         app.setAttribute("userTransaction", userTransaction);



Mime
View raw message