Author: david.lloyd(a)jboss.com
Date: 2009-01-29 15:35:31 -0500 (Thu, 29 Jan 2009)
New Revision: 4845
Modified:
remoting3/trunk/core/src/test/java/org/jboss/remoting/core/EndpointTestCase.java
Log:
Fix core test case (client.send() signature)
Modified:
remoting3/trunk/core/src/test/java/org/jboss/remoting/core/EndpointTestCase.java
===================================================================
---
remoting3/trunk/core/src/test/java/org/jboss/remoting/core/EndpointTestCase.java 2009-01-29
20:33:56 UTC (rev 4844)
+++
remoting3/trunk/core/src/test/java/org/jboss/remoting/core/EndpointTestCase.java 2009-01-29
20:35:31 UTC (rev 4845)
@@ -156,7 +156,7 @@
}
});
handle.close();
- final IoFuture<Object> futureReply =
client.send(requestObj);
+ final IoFuture<? extends Object> futureReply =
client.send(requestObj);
assertEquals(IoFuture.Status.DONE, futureReply.await(1L,
TimeUnit.SECONDS));
assertEquals(replyObj, futureReply.get());
client.close();
@@ -198,7 +198,7 @@
try {
final Client<Object,Object> client =
endpoint.createClient(requestHandler, Object.class, Object.class);
try {
- final IoFuture<Object> futureReply =
client.send(requestObj);
+ final IoFuture<? extends Object> futureReply =
client.send(requestObj);
assertEquals(IoFuture.Status.FAILED, futureReply.await(500L,
TimeUnit.MILLISECONDS));
assertTrue(futureReply.getException() instanceof
IndeterminateOutcomeException);
} finally {
@@ -255,7 +255,7 @@
try {
final Client<Object,Object> client =
endpoint.createClient(requestHandler, Object.class, Object.class);
try {
- final IoFuture<Object> futureReply =
client.send(requestObj);
+ final IoFuture<? extends Object> futureReply =
client.send(requestObj);
assertEquals(IoFuture.Status.FAILED, futureReply.await(500L,
TimeUnit.MILLISECONDS));
assertTrue(futureReply.getException() instanceof
IndeterminateOutcomeException);
} finally {
Show replies by date