cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1051899 - /cxf/branches/2.2.x-fixes/rt/core/src/test/java/org/apache/cxf/bus/spring/BusApplicationListenerTest.java
Date Wed, 22 Dec 2010 13:48:55 GMT
Author: ningjiang
Date: Wed Dec 22 13:48:54 2010
New Revision: 1051899

URL: http://svn.apache.org/viewvc?rev=1051899&view=rev
Log:
CXF-3213 Ignore the BusApplicationListenerTest as it just work with Spring 3.x

Modified:
    cxf/branches/2.2.x-fixes/rt/core/src/test/java/org/apache/cxf/bus/spring/BusApplicationListenerTest.java

Modified: cxf/branches/2.2.x-fixes/rt/core/src/test/java/org/apache/cxf/bus/spring/BusApplicationListenerTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/core/src/test/java/org/apache/cxf/bus/spring/BusApplicationListenerTest.java?rev=1051899&r1=1051898&r2=1051899&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/core/src/test/java/org/apache/cxf/bus/spring/BusApplicationListenerTest.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/core/src/test/java/org/apache/cxf/bus/spring/BusApplicationListenerTest.java
Wed Dec 22 13:48:54 2010
@@ -20,9 +20,10 @@ package org.apache.cxf.bus.spring;
 
 import org.apache.cxf.Bus;
 import org.apache.cxf.buslifecycle.BusLifeCycleListener;
-import org.apache.cxf.buslifecycle.CXFBusLifeCycleManager;
+import org.apache.cxf.buslifecycle.BusLifeCycleManager;
 import org.easymock.classextension.EasyMock;
 import org.junit.Assert;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.springframework.context.support.AbstractRefreshableApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -32,12 +33,13 @@ import org.springframework.context.suppo
 public class BusApplicationListenerTest extends Assert {
     
     @Test
+    @Ignore("This test only work form Spring 3.x")
     public void testParentApplicationEvent() {
         AbstractRefreshableApplicationContext parent = new ClassPathXmlApplicationContext();
         parent.refresh();
         SpringBusFactory factory = new SpringBusFactory(parent);
         Bus bus = factory.createBus();
-        CXFBusLifeCycleManager manager = bus.getExtension(CXFBusLifeCycleManager.class);
+        BusLifeCycleManager manager = bus.getExtension(BusLifeCycleManager.class);
         BusLifeCycleListener listener = EasyMock.createMock(BusLifeCycleListener.class);
         manager.registerLifeCycleListener(listener);
         EasyMock.reset(listener);



Mime
View raw message