PHP Class Doctrine\MongoDB\Tests\Query\QueryTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: doctrine/mongodb

Public Methods

Method Description
provideQueryTypesThatDoNotReturnAnIterator ( )
provideQueryTypesThatDoReturnAnIterator ( )
testConstructorShouldThrowExceptionForInvalidType ( )
testCountWithOptions ( )
testEagerCursorPreparation ( )
testFindAndModifyOptionsAreRenamed ( )
testGeoNearOptionsArePassed ( )
testGetIteratorShouldThrowExceptionAfterExecutingForTypesThatShouldReturnAnIteratorButDoNot ( $type, $method )
testGetIteratorShouldThrowExceptionWithoutExecutingForTypesThatDoNotReturnAnIterator ( $type, $method )
testGroup ( )
testMapReduceOptionsArePassed ( )
testSpecifyMaxTimeMSOnCursor ( )
testUseIdentifierKeys ( )
testWithReadPreference ( )
testWithReadPreferenceRestoresReadPreferenceBeforePropagatingException ( )

Private Methods

Method Description
getMockCollection ( ) : Doctrine\MongoDB\Collection
getMockCursor ( ) : Doctrine\MongoDB\Cursor

Method Details

provideQueryTypesThatDoNotReturnAnIterator() public method

provideQueryTypesThatDoReturnAnIterator() public method

testConstructorShouldThrowExceptionForInvalidType() public method

testCountWithOptions() public method

testEagerCursorPreparation() public method

testFindAndModifyOptionsAreRenamed() public method

testGeoNearOptionsArePassed() public method

testGetIteratorShouldThrowExceptionAfterExecutingForTypesThatShouldReturnAnIteratorButDoNot() public method

testGetIteratorShouldThrowExceptionWithoutExecutingForTypesThatDoNotReturnAnIterator() public method

testGroup() public method

public testGroup ( )

testMapReduceOptionsArePassed() public method

testSpecifyMaxTimeMSOnCursor() public method

testUseIdentifierKeys() public method

testWithReadPreference() public method

testWithReadPreferenceRestoresReadPreferenceBeforePropagatingException() public method