[jboss-cvs] jboss-seam/src/test/misc/org/jboss/seam/test ...

Gavin King gavin.king at jboss.com
Tue Feb 13 02:10:52 EST 2007


  User: gavin   
  Date: 07/02/13 02:10:52

  Modified:    src/test/misc/org/jboss/seam/test  InterceptorTest.java
  Log:
  fix test
  
  Revision  Changes    Path
  1.30      +6 -1      jboss-seam/src/test/misc/org/jboss/seam/test/InterceptorTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InterceptorTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/test/misc/org/jboss/seam/test/InterceptorTest.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -b -r1.29 -r1.30
  --- InterceptorTest.java	11 Feb 2007 19:48:12 -0000	1.29
  +++ InterceptorTest.java	13 Feb 2007 07:10:52 -0000	1.30
  @@ -1,4 +1,4 @@
  -//$Id: InterceptorTest.java,v 1.29 2007/02/11 19:48:12 gavin Exp $
  +//$Id: InterceptorTest.java,v 1.30 2007/02/13 07:10:52 gavin Exp $
   package org.jboss.seam.test;
   
   import java.lang.reflect.Method;
  @@ -15,6 +15,7 @@
   import org.jboss.seam.contexts.FacesApplicationContext;
   import org.jboss.seam.contexts.Lifecycle;
   import org.jboss.seam.core.ConversationEntries;
  +import org.jboss.seam.core.Events;
   import org.jboss.seam.core.FacesMessages;
   import org.jboss.seam.core.Init;
   import org.jboss.seam.core.Interpolator;
  @@ -508,6 +509,10 @@
               Seam.getComponentName(FacesMessages.class) + ".component", 
               new Component(FacesMessages.class, appContext) 
            );
  +      appContext.set( 
  +               Seam.getComponentName(Events.class) + ".component", 
  +               new Component(Events.class, appContext) 
  +            );
         Lifecycle.setPhaseId(PhaseId.INVOKE_APPLICATION);
         Lifecycle.beginRequest( externalContext );
         Manager.instance().setCurrentConversationId("1");
  
  
  



More information about the jboss-cvs-commits mailing list