[jboss-cvs] jboss-seam/src/main/org/jboss/seam/mock ...

Gavin King gavin.king at jboss.com
Mon Oct 30 22:22:49 EST 2006


  User: gavin   
  Date: 06/10/30 22:22:49

  Modified:    src/main/org/jboss/seam/mock  SeamTest.java
  Log:
  init the servletContext reference before running intialization
  
  Revision  Changes    Path
  1.51      +2 -2      jboss-seam/src/main/org/jboss/seam/mock/SeamTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/mock/SeamTest.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -b -r1.50 -r1.51
  --- SeamTest.java	27 Oct 2006 21:32:35 -0000	1.50
  +++ SeamTest.java	31 Oct 2006 03:22:49 -0000	1.51
  @@ -47,7 +47,7 @@
    * 
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.50 $
  + * @version $Revision: 1.51 $
    */
   public class SeamTest
   {
  @@ -610,8 +610,8 @@
         
         servletContext = new MockServletContext();
         initServletContext( servletContext.getInitParameters() );
  -      new Initialization(servletContext).init();
         Lifecycle.setServletContext(servletContext);
  +      new Initialization(servletContext).init();
   
         conversationViewRootAttributes = new HashMap<String, Map>();
      }
  
  
  



More information about the jboss-cvs-commits mailing list