cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r164401 - /cocoon/trunk/src/test/org/apache/cocoon/core/container/ContainerTestCase.java
Date Sat, 23 Apr 2005 17:05:04 GMT
Author: danielf
Date: Sat Apr 23 10:05:02 2005
New Revision: 164401

URL: http://svn.apache.org/viewcvs?rev=164401&view=rev
Log:
Quick fix to get rid of an exception during initalization of the container during test setup.
Don't know if it is the right way, but it was enough for the tests that I work with right
now at least.

Modified:
    cocoon/trunk/src/test/org/apache/cocoon/core/container/ContainerTestCase.java

Modified: cocoon/trunk/src/test/org/apache/cocoon/core/container/ContainerTestCase.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/test/org/apache/cocoon/core/container/ContainerTestCase.java?rev=164401&r1=164400&r2=164401&view=diff
==============================================================================
--- cocoon/trunk/src/test/org/apache/cocoon/core/container/ContainerTestCase.java (original)
+++ cocoon/trunk/src/test/org/apache/cocoon/core/container/ContainerTestCase.java Sat Apr
23 10:05:02 2005
@@ -301,6 +301,7 @@
 
         // Set up root manager for Core
         Core core = new Core(new Settings(), this.context);
+        ((DefaultContext)this.context).put(Core.ROLE, core);
         CoreUtil.RootServiceManager rsm = new CoreUtil.RootServiceManager(null, core);
  
         // Set up the ComponentLocator



Mime
View raw message