view src/fdl/test/transfer/TestTransfer.java @ 48:e457d6c8907a FederatedLinda_test_two_connent

(no commit message)
author axmo
date Fri, 05 Dec 2008 19:20:22 +0900
parents
children 629b6cfbd37f
line wrap: on
line source

package fdl.test.transfer;

import static org.junit.Assert.*;
import org.junit.Test;


public class TestTransfer {
	@Test
	public void testTransfer() {
		int port1 = 10001;
		int port2 = 10002;
		Server server1 = new Server("Server1",port1);
		server1.start();
		Server server2 = new Server("Server2",port2);
		server2.start();
		ProtocolEngine pe = new ProtocolEngine("ProtocolEngine",port1,port2);
		pe.start();
		try {
			pe.join();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		assertEquals(1,1);
	}
}