public class SerialClientImplTest extends Object
ClientImpl
class.Constructor and Description |
---|
SerialClientImplTest() |
public void setUp()
public void tearDown()
public void testClose() throws IOException
SerialClientImpl.close()
.IOException
- on a test failure.public void testGetClusterType()
SerialClientImpl.getClusterType()
.public void testGetConfig()
SerialClientImpl.getConfig()
.public void testGetDefaultDurability()
SerialClientImpl.getDefaultDurability()
.public void testGetDefaultReadPreference()
SerialClientImpl.getDefaultReadPreference()
.public void testRestartDocumentAssignable() throws IOException
ClientImpl.restart(DocumentAssignable)
.IOException
- on a test failure.public void testRestartDocumentAssignableNonCursorDoc() throws IOException
ClientImpl.restart(DocumentAssignable)
.IOException
- on a test failure.public void testRestartStreamCallbackDocumentAssignable() throws IOException
ClientImpl.restart(StreamCallback, DocumentAssignable)
.IOException
- on a test failure.public void testRestartStreamCallbackDocumentAssignableNonCursorDoc() throws IOException
ClientImpl.restart(DocumentAssignable)
.IOException
- on a test failure.public void testSendGetMoreCallbackOfReply() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessage() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessageAndCreateConnectionFailes() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessageClosedExisting() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessageCreatesSecondConnectionOnClosed() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessageGetLastErrorCallbackOfReply() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessagePicksIdleExisting() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendMessagePicksMostIdleWhenAllPending() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.public void testSendQueryCallbackOfReply() throws IOException
AbstractClient.send(com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.Message, com.allanbank.mongodb.client.callback.ReplyCallback)
.IOException
- On a failure setting up the test.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.