Author: david.lloyd(a)jboss.com
Date: 2008-11-14 20:50:12 -0500 (Fri, 14 Nov 2008)
New Revision: 4694
Modified:
remoting3/trunk/protocol/multiplex/src/test/java/org/jboss/remoting/protocol/multiplex/ConnectionTestCase.java
Log:
Better testcase logging
Modified:
remoting3/trunk/protocol/multiplex/src/test/java/org/jboss/remoting/protocol/multiplex/ConnectionTestCase.java
===================================================================
---
remoting3/trunk/protocol/multiplex/src/test/java/org/jboss/remoting/protocol/multiplex/ConnectionTestCase.java 2008-11-15
01:49:58 UTC (rev 4693)
+++
remoting3/trunk/protocol/multiplex/src/test/java/org/jboss/remoting/protocol/multiplex/ConnectionTestCase.java 2008-11-15
01:50:12 UTC (rev 4694)
@@ -68,7 +68,7 @@
LoggingHelper.init();
}
- public static final Logger log = Logger.getLogger(ConnectionTestCase.class);
+ public static final Logger log =
Logger.getLogger(ConnectionTestCase.class.getSimpleName());
public void testConnection() throws Throwable {
final String REQUEST = "request";
@@ -121,6 +121,10 @@
log.debug("Client closed");
latch.countDown();
}
+
+ public String toString() {
+ return "TestListener";
+ }
}, Object.class, Object.class);
localServiceConfiguration.setServiceType("connection.test");
localServiceConfiguration.setGroupName("testgroup");