You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2011/11/29 04:24:02 UTC

svn commit: r1207742 - /camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanWithBusTest.java

Author: ningjiang
Date: Tue Nov 29 03:24:01 2011
New Revision: 1207742

URL: http://svn.apache.org/viewvc?rev=1207742&view=rev
Log:
Fixed the test failure of CxfEndpointBeanWithBusTest

Modified:
    camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanWithBusTest.java

Modified: camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanWithBusTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanWithBusTest.java?rev=1207742&r1=1207741&r2=1207742&view=diff
==============================================================================
--- camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanWithBusTest.java (original)
+++ camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/spring/CxfEndpointBeanWithBusTest.java Tue Nov 29 03:24:01 2011
@@ -28,11 +28,10 @@ import org.springframework.context.suppo
  *
  * @version 
  */
-public class CxfEndpointBeanWithBusTest extends CxfEndpointBeanTest {
+public class CxfEndpointBeanWithBusTest extends AbstractSpringBeanTestSupport {
     
-    @Before
-    public void setUp() throws Exception {
-        ctx = new ClassPathXmlApplicationContext(new String[]{"org/apache/camel/component/cxf/spring/CxfEndpointBeansRouterWithBus.xml"});
+    protected String[] getApplicationContextFiles() {
+        return new String[]{"org/apache/camel/component/cxf/spring/CxfEndpointBeansRouterWithBus.xml"};
     }
     
     @Test