You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/02/22 12:19:22 UTC

svn commit: r630159 - /myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/spring/TestSpringUtils.java

Author: skitching
Date: Fri Feb 22 03:19:16 2008
New Revision: 630159

URL: http://svn.apache.org/viewvc?rev=630159&view=rev
Log:
Tidy up after unit test is complete.

Modified:
    myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/spring/TestSpringUtils.java

Modified: myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/spring/TestSpringUtils.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/spring/TestSpringUtils.java?rev=630159&r1=630158&r2=630159&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/spring/TestSpringUtils.java (original)
+++ myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/spring/TestSpringUtils.java Fri Feb 22 03:19:16 2008
@@ -51,6 +51,12 @@
         FrameworkAdapter.setCurrentInstance(frameworkAdapter);
     }
 
+    protected void onTearDown() throws Exception
+    {
+    	FrameworkAdapter.setCurrentInstance(null);
+    	super.onTearDown();
+    }
+
     public void testConversation() throws Exception
     {
         final String BEAN_NAME = "simpleBean";