commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1099117 - /commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java
Date Tue, 03 May 2011 16:32:04 GMT
Author: mturk
Date: Tue May  3 16:32:03 2011
New Revision: 1099117

URL: http://svn.apache.org/viewvc?rev=1099117&view=rev
Log:
Test configureBlocking

Modified:
    commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java

Modified: commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java?rev=1099117&r1=1099116&r2=1099117&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/test/org/apache/commons/runtime/TestNetworkImpl.java
Tue May  3 16:32:03 2011
@@ -115,6 +115,8 @@ public class TestNetworkImpl extends Ass
         assertEquals(fd, fs.getFD());
         assertEquals(fd, fi.getFD());
         assertEquals(fs.getFD(), fi.getFD());
+        SocketInstance.configureBlocking(s, false);
+        SocketInstance.configureBlocking(s, true);
         s.close();
     }
 
@@ -143,6 +145,8 @@ public class TestNetworkImpl extends Ass
         assertEquals(fd, fs.getFD());
         assertEquals(fd, fi.getFD());
         assertEquals(fs.getFD(), fi.getFD());
+        SocketInstance.configureBlocking(s, false);
+        SocketInstance.configureBlocking(s, true);
         s.close();
     }
 



Mime
View raw message