Mercurial > hg > FederatedLinda
view src/fdl/test/metaTransfer/TestTransfer.java @ 53:629b6cfbd37f
metaprotocol ring
author | axmo |
---|---|
date | Mon, 19 Jan 2009 17:49:14 +0900 |
parents | 00d2203fac80 |
children | 82a292aa41ad |
line wrap: on
line source
package fdl.test.metaTransfer; import static org.junit.Assert.*; import java.io.IOException; import org.junit.Test; public class TestTransfer { @Test public void testTransfer() throws IOException { int port1 = 10001; int port2 = 10002; // Server server1 = new Server("Server1",port1); // server1.start(); // Server server2 = new Server("Server2",port2); server2.start(); FDLServWithSend send = new FDLServWithSend(port1, port2); send.mainLoop(); assertEquals(1,1); } }