directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r349936 - /directory/network/branches/chain_refactor/src/test/org/apache/mina/integration/spring/support/AbstractIoSessionManagerFactoryBeanTest.java
Date Wed, 30 Nov 2005 12:51:44 GMT
Author: trustin
Date: Wed Nov 30 04:51:39 2005
New Revision: 349936

URL: http://svn.apache.org/viewcvs?rev=349936&view=rev
Log:
Fixed all failing test methods in spring integration package

Modified:
    directory/network/branches/chain_refactor/src/test/org/apache/mina/integration/spring/support/AbstractIoSessionManagerFactoryBeanTest.java

Modified: directory/network/branches/chain_refactor/src/test/org/apache/mina/integration/spring/support/AbstractIoSessionManagerFactoryBeanTest.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/chain_refactor/src/test/org/apache/mina/integration/spring/support/AbstractIoSessionManagerFactoryBeanTest.java?rev=349936&r1=349935&r2=349936&view=diff
==============================================================================
--- directory/network/branches/chain_refactor/src/test/org/apache/mina/integration/spring/support/AbstractIoSessionManagerFactoryBeanTest.java
(original)
+++ directory/network/branches/chain_refactor/src/test/org/apache/mina/integration/spring/support/AbstractIoSessionManagerFactoryBeanTest.java
Wed Nov 30 04:51:39 2005
@@ -26,6 +26,7 @@
 import org.apache.mina.common.IoSessionManager;
 import org.apache.mina.integration.spring.IoFilterMapping;
 import org.easymock.MockControl;
+import org.easymock.classextension.MockClassControl;
 
 /**
  * Tests
@@ -70,7 +71,7 @@
         /*
          * Create EasyMock mocks.
          */
-        MockControl mockIoFilterChainBuilder = MockControl
+        MockControl mockIoFilterChainBuilder = MockClassControl
                 .createStrictControl( DefaultIoFilterChainBuilder.class );
         MockControl mockIoSessionManager = MockControl
                 .createControl( IoSessionManager.class );
@@ -125,7 +126,7 @@
         /*
          * Create EasyMock mocks.
          */
-        MockControl mockIoFilterChainBuilder = MockControl
+        MockControl mockIoFilterChainBuilder = MockClassControl
                 .createStrictControl( DefaultIoFilterChainBuilder.class );
         MockControl mockIoSessionManager = MockControl
                 .createControl( IoSessionManager.class );
@@ -184,7 +185,7 @@
 
         IoSessionManager ioSessionManager = ( IoSessionManager ) mockIoSessionManager
                 .getMock();
-        DefaultIoFilterChainBuilder ioFilterChainBuilder = ( DefaultIoFilterChainBuilder
) MockControl
+        DefaultIoFilterChainBuilder ioFilterChainBuilder = ( DefaultIoFilterChainBuilder
) MockClassControl
                 .createControl( DefaultIoFilterChainBuilder.class ).getMock();
         ExceptionMonitor exceptionMonitor = ( ExceptionMonitor ) MockControl
                 .createControl( ExceptionMonitor.class ).getMock();
@@ -220,7 +221,7 @@
         /*
          * Create EasyMock mocks.
          */
-        MockControl mockIoFilterChainBuilder = MockControl
+        MockControl mockIoFilterChainBuilder = MockClassControl
                 .createStrictControl( DefaultIoFilterChainBuilder.class );
         MockControl mockIoSessionManager = MockControl
                 .createControl( IoSessionManager.class );



Mime
View raw message