public class MongoDatabaseImplTest extends Object
MongoDatabaseImpl
class.Constructor and Description |
---|
MongoDatabaseImplTest() |
public void setUp()
public void tearDown()
public void testCreateCappedCollection()
MongoDatabaseImpl.createCappedCollection(String, long)
.public void testCreateCollection()
MongoDatabaseImpl.createCollection(String, DocumentAssignable)
.public void testDrop()
MongoDatabaseImpl.drop()
.public void testExists()
MongoDatabaseImpl.exists()
.public void testGetCollection()
MongoDatabaseImpl.getCollection(String)
.public void testGetDatabaseCachingDoesRelease()
MongoDatabaseImpl.getCollection(String)
.public void testGetDatabaseCachingDoesReleaseMaybeSeenViaGet()
MongoDatabaseImpl.getCollection(String)
.public void testGetDurabilityFromClient()
MongoDatabaseImpl.getDurability()
.public void testGetDurabilitySet()
MongoDatabaseImpl.getDurability()
.public void testGetProfilingLevel()
MongoDatabaseImpl.getProfilingStatus()
.public void testGetReadPreferenceFromClient()
MongoDatabaseImpl.getReadPreference()
.public void testGetReadPreferenceSet()
MongoDatabaseImpl.getReadPreference()
.public void testListCollectionNames()
MongoDatabaseImpl.listCollectionNames()
.@Deprecated public void testListCollections()
MongoDatabaseImpl.listCollections()
.public void testRunAdminCommandString()
MongoDatabaseImpl.runAdminCommand(String)
.public void testRunAdminCommandStringDocument()
MongoDatabaseImpl.runAdminCommand(String, DocumentAssignable)
.public void testRunAdminCommandStringStringDocument()
MongoDatabaseImpl.runAdminCommand(String, String, DocumentAssignable)
.public void testRunCommandAsyncCallbackOfDocumentString()
MongoDatabaseImpl.runCommandAsync(Callback, String)
.public void testRunCommandAsyncCallbackOfDocumentStringDocument()
MongoDatabaseImpl.runCommandAsync(Callback, String, DocumentAssignable)
.public void testRunCommandAsyncCallbackOfDocumentStringStringDocument()
public void testRunCommandAsyncDocumentAssignable() throws Exception
MongoDatabaseImpl.runCommandAsync(DocumentAssignable)
.Exception
- On a failure.public void testRunCommandAsyncString() throws Exception
MongoDatabaseImpl.runCommandAsync(String)
.Exception
- On a failure.public void testRunCommandAsyncStringDocument() throws Exception
MongoDatabaseImpl.runCommandAsync(String, DocumentAssignable)
.Exception
- On a failure.public void testRunCommandAsyncStringStringDocument() throws Exception
MongoDatabaseImpl.runCommandAsync(String, String, DocumentAssignable)
.Exception
- On a failure.public void testRunCommandDocumentAssignable()
MongoDatabaseImpl.runCommand(DocumentAssignable)
.public void testRunCommandString()
MongoDatabaseImpl.runCommand(String)
.public void testRunCommandStringDocument()
MongoDatabaseImpl.runCommand(String, DocumentAssignable)
.public void testRunCommandStringStringDocument()
MongoDatabaseImpl.runCommand(String, String, DocumentAssignable)
.public void testSetProfilingLevel()
MongoDatabaseImpl.setProfilingStatus(ProfilingStatus)
.public void testStats()
MongoDatabaseImpl.stats()
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.