public class CursorStreamingCallbackTest extends Object
CursorStreamingCallback
class.Constructor and Description |
---|
CursorStreamingCallbackTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Creates a set of documents for the test.
|
void |
tearDown()
Cleans up after the test.
|
void |
testAllDocsInFirstReply()
Test method for
CursorStreamingCallback getting all of the
documents in one batch. |
void |
testAsDocument()
Test method for
CursorStreamingCallback.asDocument() . |
void |
testAsDocumentAlreadyClosed()
Test method for
CursorStreamingCallback.asDocument() . |
void |
testAsDocumentAlreadyExhausted()
Test method for
CursorStreamingCallback.asDocument() . |
void |
testAskForMore()
Test method for
CursorStreamingCallback requesting the second
batch. |
void |
testAskForMoreGetNone()
Test method for
CursorStreamingCallback requesting the second and
third batch both of which are empty. |
void |
testCloseBeforeReply()
Test method for
CursorStreamingCallback getting all of the
documents in one batch. |
void |
testErrorReply()
Test method for
CursorStreamingCallback getting all of the
documents in one batch. |
void |
testErrorReplyWithMessage()
Test method for
CursorStreamingCallback getting all of the
documents in one batch. |
void |
testLateSetAddress()
Test method for
CursorStreamingCallback getting all of the
documents in one batch. |
void |
testNextBatchSize()
Test method for
CursorStreamingCallback.nextBatchSize() . |
void |
testOverLimit()
Test method for
CursorStreamingCallback . |
void |
testOverLimitCursorAlreadyDead()
Test method for
CursorStreamingCallback . |
void |
testSetBatchSize()
Test method for
CursorStreamingCallback.setBatchSize(int) . |
void |
testStop()
Test method for
CursorStreamingCallback.stop() . |
void |
testTerminateStreamOnRuntimeExceptionInCallback()
Test method for
CursorStreamingCallback getting all of the
documents in one batch. |
void |
testUnderLimit()
Test method for
CursorStreamingCallback . |
void |
testWithCursorDocButNoDotInName()
Test method for
MongoIteratorImpl.MongoIteratorImpl(Document, Client) . |
public void setUp()
public void tearDown()
public void testAllDocsInFirstReply()
CursorStreamingCallback
getting all of the
documents in one batch.public void testAsDocument()
CursorStreamingCallback.asDocument()
.public void testAsDocumentAlreadyClosed()
CursorStreamingCallback.asDocument()
.public void testAsDocumentAlreadyExhausted()
CursorStreamingCallback.asDocument()
.public void testAskForMore()
CursorStreamingCallback
requesting the second
batch.public void testAskForMoreGetNone()
CursorStreamingCallback
requesting the second and
third batch both of which are empty.public void testCloseBeforeReply()
CursorStreamingCallback
getting all of the
documents in one batch.public void testErrorReply()
CursorStreamingCallback
getting all of the
documents in one batch.public void testErrorReplyWithMessage()
CursorStreamingCallback
getting all of the
documents in one batch.public void testLateSetAddress()
CursorStreamingCallback
getting all of the
documents in one batch.public void testNextBatchSize()
CursorStreamingCallback.nextBatchSize()
.public void testOverLimit()
CursorStreamingCallback
.public void testOverLimitCursorAlreadyDead()
CursorStreamingCallback
.public void testSetBatchSize()
CursorStreamingCallback.setBatchSize(int)
.public void testStop()
CursorStreamingCallback.stop()
.public void testTerminateStreamOnRuntimeExceptionInCallback()
CursorStreamingCallback
getting all of the
documents in one batch.public void testUnderLimit()
CursorStreamingCallback
.public void testWithCursorDocButNoDotInName()
MongoIteratorImpl.MongoIteratorImpl(Document, Client)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.