[jboss-cvs] jboss-seam/src/main/org/jboss/seam/mock ...
Gavin King
gavin.king at jboss.com
Tue Jan 9 02:17:20 EST 2007
User: gavin
Date: 07/01/09 02:17:20
Modified: src/main/org/jboss/seam/mock SeamTest.java
Log:
fix
Revision Changes Path
1.60 +5 -1 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.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- SeamTest.java 18 Dec 2006 15:38:49 -0000 1.59
+++ SeamTest.java 9 Jan 2007 07:17:20 -0000 1.60
@@ -51,7 +51,7 @@
*
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.59 $
+ * @version $Revision: 1.60 $
*/
public class SeamTest
{
@@ -658,6 +658,10 @@
@Configuration(afterTestMethod=true)
public void end()
{
+ if ( Contexts.isEventContextActive() )
+ {
+ Lifecycle.endRequest(externalContext);
+ }
Lifecycle.endSession( servletContext, new ServletSessionImpl(session) );
session = null;
}
More information about the jboss-cvs-commits
mailing list