cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r595991 - /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/test/AbstractCXFSpringTest.java
Date Sat, 17 Nov 2007 19:32:36 GMT
Author: bimargulies
Date: Sat Nov 17 11:32:36 2007
New Revision: 595991

URL: http://svn.apache.org/viewvc?rev=595991&view=rev
Log:
Continue to try to iron out issues with test lifecycle.

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/test/AbstractCXFSpringTest.java

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/test/AbstractCXFSpringTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/test/AbstractCXFSpringTest.java?rev=595991&r1=595990&r2=595991&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/test/AbstractCXFSpringTest.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/test/AbstractCXFSpringTest.java
Sat Nov 17 11:32:36 2007
@@ -19,6 +19,7 @@
 
 package org.apache.cxf.test;
 
+import org.junit.After;
 import org.junit.Before;
 import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
 import org.springframework.context.ApplicationContext;
@@ -58,6 +59,13 @@
         }
         additionalSpringConfiguration(applicationContext);
         applicationContext.refresh();
+    }
+    
+    @After
+    public void teardownBeans() {
+        applicationContext.close();
+        applicationContext.destroy();
+        applicationContext = null;
     }
     
     /**



Mime
View raw message