1 18 package org.apache.activemq.transport.tcp; 19 20 import org.apache.activemq.transport.TransportBrokerTestSupport; 21 22 import junit.framework.Test; 23 24 public class TcpTransportBrokerTest extends TransportBrokerTestSupport { 25 26 protected String getBindLocation() { 27 return "tcp://localhost:0"; 28 } 29 30 protected void setUp() throws Exception { 31 MAX_WAIT=2000; 32 super.setUp(); 33 } 34 35 public static Test suite() { 36 return suite(TcpTransportBrokerTest.class); 37 } 38 39 public static void main(String [] args) { 40 junit.textui.TestRunner.run(suite()); 41 } 42 43 44 } 45 | Popular Tags |