directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r385249 - /directory/trunks/mina/core/src/test/java/org/apache/mina/common/FutureTest.java
Date Sun, 12 Mar 2006 05:15:50 GMT
Author: trustin
Date: Sat Mar 11 21:15:47 2006
New Revision: 385249

URL: http://svn.apache.org/viewcvs?rev=385249&view=rev
Log:
Fixed failing test cases

Modified:
    directory/trunks/mina/core/src/test/java/org/apache/mina/common/FutureTest.java

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/common/FutureTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/core/src/test/java/org/apache/mina/common/FutureTest.java?rev=385249&r1=385248&r2=385249&view=diff
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/common/FutureTest.java (original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/common/FutureTest.java Sat Mar
11 21:15:47 2006
@@ -125,6 +125,7 @@
         assertTrue( future.isConnected() );
         assertEquals( session, future.getSession() );
         
+        future = new ConnectFuture();
         thread = new TestThread( future );
         thread.start();
         future.setException( new IOException() );
@@ -160,6 +161,7 @@
         assertTrue( future.isReady() );
         assertTrue( future.isWritten() );
 
+        future = new WriteFuture();
         thread = new TestThread( future );
         thread.start();
         



Mime
View raw message