| Constructor and Description |
|---|
CommandTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBsonWrite()
Test the streaming of Commands.
|
void |
testBsonWriteWithSecondaryOkReadPreference()
Test the streaming of Commands.
|
void |
testEqualsObject()
Test method for
AggregateCommand.equals(Object) and
AggregateCommand.hashCode() . |
void |
testGetOperationNameWithEmptyCommandDocument()
Test method for
Command.getOperationName(). |
void |
testToString()
Test the stringify of a command.
|
void |
testToStringNoReadPreference()
Test the stringify of a command.
|
void |
testToStringWithVersionRange()
Test the stringify of a command.
|
void |
testValidateSize()
Test the validation of the size of the command.
|
public void testBsonWrite()
throws IOException
IOException - On a test failure.public void testBsonWriteWithSecondaryOkReadPreference()
throws IOException
IOException - On a test failure.public void testEqualsObject()
AggregateCommand.equals(Object) and
AggregateCommand.hashCode() .public void testGetOperationNameWithEmptyCommandDocument()
Command.getOperationName().public void testToString()
public void testToStringNoReadPreference()
public void testToStringWithVersionRange()
public void testValidateSize()
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.