Mercurial > hg > FederatedLinda
changeset 51:454a5376232f
(no commit message)
author | axmo |
---|---|
date | Tue, 16 Dec 2008 19:49:14 +0900 |
parents | 0025a8582d5f |
children | 00d2203fac80 |
files | src/fdl/test/transfer/three/ProtocolEngine.java |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fdl/test/transfer/three/ProtocolEngine.java Fri Dec 12 19:38:40 2008 +0900 +++ b/src/fdl/test/transfer/three/ProtocolEngine.java Tue Dec 16 19:49:14 2008 +0900 @@ -1,5 +1,7 @@ package fdl.test.transfer.three; +import static org.junit.Assert.assertEquals; + import java.io.IOException; import java.nio.ByteBuffer; @@ -64,19 +66,17 @@ psx1.out(id,data2); System.out.println("IntData0 "+port1 +": "+port2 +": " +i); - running = false; - System.out.println("IntData1 "+port1 +": "+port2 +": " +i); - fdl1.sync(0); + fdl1.sync(1); if (count++>3) { running = false; break; } - System.out.println("IntData2 "+port1 +": "+port2 +": " +i); - break; + System.out.println("IntData1 "+port1 +": "+port2 +": " +i); } - fdl1.sync(1); + fdl1.sync(); } - + assertEquals(4,count); } + }