comparison src/fdl/old/test/transfer/TestTransfer.java @ 114:3b877c9a44f5

gather old packages
author kazz
date Mon, 11 Oct 2010 14:29:37 +0900
parents src/fdl/test/transfer/TestTransfer.java@82a292aa41ad
children
comparison
equal deleted inserted replaced
113:4205d029584c 114:3b877c9a44f5
1 package fdl.old.test.transfer;
2
3 import static org.junit.Assert.assertEquals;
4
5 import org.junit.Test;
6
7 public class TestTransfer {
8 @Test
9 public void testTransfer() {
10 int port1 = 10001;
11 int port2 = 10002;
12 Server server1 = new Server("Server1",port1);
13 server1.start();
14 Server server2 = new Server("Server2",port2);
15 server2.start();
16 ProtocolEngine pe = new ProtocolEngine("ProtocolEngine",port1,port2);
17 pe.start();
18 try {
19 pe.join();
20 } catch (InterruptedException e) {
21 e.printStackTrace();
22 }
23 assertEquals(1,1);
24 }
25 }