public class ReplyHandlerTest extends Object
ReplyHandler
class.Modifier and Type | Class and Description |
---|---|
class |
ReplyHandlerTest.CallerExecutor
CallerExecutor provides a simple executor.
|
class |
ReplyHandlerTest.RejectionExecutor
RejectionExecutor provides a simple executor.
|
Constructor and Description |
---|
ReplyHandlerTest() |
public void testRaiseError()
ReplyHandler.raiseError(Throwable, ReplyCallback, Executor)
.public void testRaiseErrorWhenRejected()
ReplyHandler.raiseError(Throwable, ReplyCallback, Executor)
.public void testRaiseErrorWithoutCallback()
ReplyHandler.raiseError(Throwable, ReplyCallback, Executor)
.public void testRaiseErrorWithoutError()
ReplyHandler.raiseError(Throwable, ReplyCallback, Executor)
.public void testReply()
ReplyHandler.reply(Receiver, Reply, ReplyCallback, Executor)
.public void testReplyWhenRejected()
ReplyHandler.reply(Receiver, Reply, ReplyCallback, Executor)
.public void testReplyWithLightWeightCallback() throws InterruptedException, ExecutionException
ReplyHandler.reply(Receiver, Reply, ReplyCallback, Executor)
.ExecutionException
- On a test failure.InterruptedException
- On a test failure.public void testReplyWithNonLightWeightCallback() throws InterruptedException, ExecutionException
ReplyHandler.reply(Receiver, Reply, ReplyCallback, Executor)
.ExecutionException
- On a test failure.InterruptedException
- On a test failure.public void testReplyWithNonLightWeightCallbackNoExecutor() throws InterruptedException, ExecutionException
ReplyHandler.reply(Receiver, Reply, ReplyCallback, Executor)
.ExecutionException
- On a test failure.InterruptedException
- On a test failure.public void testReplyWithoutCallback()
ReplyHandler.reply(Receiver, Reply, ReplyCallback, Executor)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.