public class ShardedConnectionTest extends Object
ShardedConnection.| Constructor and Description |
|---|
ShardedConnectionTest() |
public void testConnection()
throws IOException
ShardedConnection.connection(Server).IOException - On a test failure.public void testConnectServer()
throws IOException
ShardedConnection.connect(Server).IOException - On a test failure.public void testConnectServerAlreadyConnected()
throws IOException
ShardedConnection.connect(Server).IOException - On a test failure.public void testFindPotentialKeysForFirstMessage()
throws IOException
ShardedConnection.findPotentialKeys(Message, Message).IOException - On a test failure.public void testFindPotentialKeysForNeitherMessage()
throws IOException
ShardedConnection.findPotentialKeys(Message, Message).IOException - On a test failure.public void testFindPotentialKeysForNullSecond()
throws IOException
ShardedConnection.findPotentialKeys(Message, Message).IOException - On a test failure.public void testFindPotentialKeysForSecondMessage()
throws IOException
ShardedConnection.findPotentialKeys(Message, Message).IOException - On a test failure.public void testGetConnectionType()
throws IOException
ShardedConnection.getConnectionType().IOException - On a test failure.public void testGetPendingCount()
throws IOException
AbstractProxyMultipleConnection.getPendingCount().IOException - On a test failure.public void testGetServerName()
throws IOException
ShardedConnection.getServerName().IOException - On a test failure.public void testIsIdle()
throws IOException
AbstractProxyMultipleConnection.isIdle().IOException - On a test failure.public void testListeners()
throws IOException
AbstractProxyMultipleConnection.addPropertyChangeListener(PropertyChangeListener)
and
AbstractProxyMultipleConnection.removePropertyChangeListener(PropertyChangeListener)
.IOException - On a test failure.public void testRaiseErrors()
throws IOException
AbstractProxyMultipleConnection.raiseErrors(com.allanbank.mongodb.MongoDbException).IOException - On a test failure.public void testReconnectMain()
throws IOException
ShardedConnection.reconnectMain().IOException - On a test failure.public void testReconnectMainThrows()
throws IOException
ShardedConnection.reconnectMain().IOException - On a test failure.public void testShutdown()
throws IOException
AbstractProxyMultipleConnection.shutdown(boolean).IOException - On a test failure.public void testWaitForClosed()
throws IOException
AbstractProxyMultipleConnection.waitForClosed(int, TimeUnit).IOException - On a test failure.public void testWaitForClosedWithZeroDeadline()
throws IOException
AbstractProxyMultipleConnection.waitForClosed(int, TimeUnit).IOException - On a test failure.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.