public class AbstractProxyConnectionTest extends Object
AbstractProxyConnection class.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractProxyConnectionTest.TestProxiedConnection
TestProxiedConnection provides a connection for testing.
|
| Modifier and Type | Field and Description |
|---|---|
static Document |
EMPTY_DOC
An empty document for use in constructing messages.
|
| Constructor and Description |
|---|
AbstractProxyConnectionTest() |
public static final Document EMPTY_DOC
public void testAbstractProxyConnectionProxiedChangeListenerEquals()
throws IOException
IOException - On a failure setting up the mocks for the test.public void testAbstractProxyConnectionProxiedChangeListenerPropertyChanges()
throws IOException
IOException - On a failure setting up the mocks for the test.public void testAddPropertyChangeListener()
throws IOException
IOException - On a failure setting up the mocks for the test.public void testAddPropertyChangeListenerOnThrows()
throws IOException
IOException - On a failure setting up the mocks for the test.public void testClose()
throws IOException
AbstractProxyConnection.close() .IOException - On a failure setting up the mocks for the test.public void testFlush()
throws IOException
AbstractProxyConnection.flush() .IOException - On a failure setting up the mocks for the test.public void testFlushOnThrow()
throws IOException
AbstractProxyConnection.flush() .IOException - On a failure setting up the mocks for the test.public void testGetPendingCount()
throws IOException
AbstractProxyConnection.getPendingCount() .IOException - On a failure setting up the mocks for the test.public void testGetPendingCountOnThrow()
throws IOException
AbstractProxyConnection.getPendingCount() .IOException - On a failure setting up the mocks for the test.public void testGetProxiedConnection()
throws IOException
AbstractProxyConnection.getProxiedConnection() .IOException - On a failure setting up the mocks for the test.public void testGetServerName()
throws IOException
AbstractProxyConnection.getServerName().IOException - On a failure setting up the mocks for the test.public void testIsAvailable()
throws IOException
AbstractProxyConnection.isAvailable() .IOException - On a failure setting up the mocks for the test.public void testIsAvailableOnError()
throws IOException
AbstractProxyConnection.isAvailable() .IOException - On a failure setting up the mocks for the test.public void testIsIdle()
throws IOException
AbstractProxyConnection.isIdle() .IOException - On a failure setting up the mocks for the test.public void testIsIdleOnThrow()
throws IOException
AbstractProxyConnection.isIdle() .IOException - On a failure setting up the mocks for the test.public void testIsOpen()
throws IOException
AbstractProxyConnection.isOpen() .IOException - On a failure setting up the mocks for the test.public void testIsOpenOnError()
throws IOException
AbstractProxyConnection.isOpen() .IOException - On a failure setting up the mocks for the test.public void testRaiseErrors()
throws IOException
AbstractProxyConnection.raiseErrors(MongoDbException) .IOException - On a failure setting up the mocks for the test.public void testSendCallbackOfReplyMessageArray()
throws IOException
AbstractProxyConnection.send(Message, ReplyCallback) .IOException - On a failure setting up the mocks for the test.public void testSendCallbackOfReplyMessageArrayOnThrow()
throws IOException
AbstractProxyConnection.send(Message, ReplyCallback) .IOException - On a failure setting up the mocks for the test.public void testSendMessageArray()
throws IOException
IOException - On a failure setting up the mocks for the test.public void testSendMessageArrayOnThrow()
throws IOException
IOException - On a failure setting up the mocks for the test.public void testShutdown()
throws IOException
AbstractProxyConnection.shutdown(boolean) .IOException - On a failure setting up the mocks for the test.public void testWaitForClosed()
throws IOException
AbstractProxyConnection.waitForClosed(int, TimeUnit).IOException - On a failure setting up the mocks for the test.public void testWaitForClosedOnThrow()
throws IOException
AbstractProxyConnection.waitForClosed(int, TimeUnit).IOException - On a failure setting up the mocks for the test.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.