avoid println in the console output

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467692 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-10-25 15:59:59 +00:00
parent 9ba6fcc40f
commit 7d54de6504
1 changed files with 5 additions and 7 deletions

View File

@ -33,7 +33,7 @@ public class TransportUriTest extends EmbeddedBrokerTestSupport {
public void testUriOptionsWork() throws Exception {
String uri = bindAddress + postfix;
System.out.println("Connecting via: " + uri);
// System.out.println("Connecting via: " + uri);
connection = new ActiveMQConnectionFactory(uri).createConnection();
connection.start();
@ -41,30 +41,28 @@ public class TransportUriTest extends EmbeddedBrokerTestSupport {
public void testBadVersionNumberDoesNotWork() throws Exception {
String uri = bindAddress + postfix + "&minmumWireFormatVersion=65535";
System.out.println("Connecting via: " + uri);
// System.out.println("Connecting via: " + uri);
try {
connection = new ActiveMQConnectionFactory(uri).createConnection();
connection.start();
fail("Should have thrown an exception!");
}
catch (Exception e) {
System.out.println("Caught expected exception: " + e);
catch (Exception expected) {
}
}
public void testBadPropertyNameFails() throws Exception {
String uri = bindAddress + postfix + "&cheese=abc";
System.out.println("Connecting via: " + uri);
// System.out.println("Connecting via: " + uri);
try {
connection = new ActiveMQConnectionFactory(uri).createConnection();
connection.start();
fail("Should have thrown an exception!");
}
catch (Exception e) {
System.out.println("Caught expected exception: " + e);
catch (Exception expected) {
}
}