PHP Class Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest

Author: alcaeus ([email protected])
Show file Open project: alcaeus/mongo-php-adapter

Public Methods

Method Description
createIndexIgnoredOptions ( )
testAggregate ( )
testAggregateCursor ( )
testAggregateInvalidPipeline ( )
testAggregateTimeoutException ( )
testAggregateWithMultiplePilelineOperatorsAsArguments ( )
testBatchInsertContinuesOnError ( )
testBatchInsertEmptyBatchException ( )
testBatchInsertException ( )
testBatchInsertObjectWithPrivateProperties ( )
testBatchInsertWithEmptyKey ( )
testBatchInsertWithInvalidKey ( )
testBatchInsertWithNumericKey ( )
testCount ( )
testCountTimeout ( )
testCountWithLimit ( )
testCountWithLimitAndSkip ( )
testCountWithLimitAndSkipLegacy ( )
testCountWithLimitLegacy ( )
testCountWithSkip ( )
testCountWithSkipLegacy ( )
testCreateDBRef ( )
testCreateIndex ( )
testCreateIndexInvalid ( )
testCreateIndexTwice ( )
testCreateIndexTwiceWithDifferentName ( )
testCreateIndexTwiceWithDifferentOrder ( )
testCreateIndexTwiceWithSameName ( )
testCreateIndexWithDeprecatedOptions ( )
testCreateIndexWithSameNameAndDifferentOptions ( )
testCreateIndexesWithDifferentOptions ( )
testCreateIndexesWithIgnoredOptions ( $option )
testCreateRecord ( )
testDeleteIndexUsingField ( )
testDeleteIndexUsingIndexName ( )
testDeleteIndexUsingKeys ( )
testDeleteIndexes ( )
testDeleteIndexesForNonExistingCollection ( )
testDistinct ( )
testDistinctWithIdQuery ( )
testDistinctWithQuery ( )
testDrop ( )
testEmptyCollectionName ( )
testEnsureIndex ( )
testEnsureIndexAlreadyExists ( )
testEnsureIndexAlreadyExistsWithDifferentOptions ( )
testFindAndModifyExceptionTimeout ( )
testFindAndModifyRemove ( )
testFindAndModifyResultException ( )
testFindAndModifyUpdate ( )
testFindAndModifyUpdateReplace ( )
testFindAndModifyUpdateReturnNew ( )
testFindAndModifyUpdateWithUpdateOptions ( )
testFindAndModifyWithFields ( )
testFindAndModifyWithUpdateParamAndOption ( )
testFindOne ( )
testFindOneConnectionIssue ( )
testFindOneNotFound ( )
testFindReturnsCursor ( )
testGetDBRef ( )
testGetIndexInfo ( )
testGetNestedCollections ( )
testGroup ( )
testHasNextLoop ( )
testInsertArrayWithNumericKeys ( )
testInsertDuplicate ( )
testInsertEmptyArray ( )
testInsertEmptyObject ( )
testInsertInvalidData ( )
testInsertMany ( )
testInsertManyWithNonNumericKeys ( )
testInsertObjectWithPrivateProperties ( )
testInsertWithEmptyKey ( )
testInsertWithInvalidKey ( )
testInsertWithNumericKey ( )
testInsertWriteConcernException ( )
testMapReduce ( )
testProjectionWithBSONTypes ( )
testReadPreference ( )
testReadPreferenceIsInherited ( )
testReadPreferenceIsSetInDriver ( )
testRemoveMultiple ( )
testRemoveOne ( )
testRemoveSingle ( )
testRemoveUnacknowledged ( )
testSaveDuplicate ( )
testSaveEmptyKeys ( )
testSaveEmptyObject ( )
testSaveInsert ( )
testSaveUpdate ( )
testSavingShouldReplaceTheWholeDocument ( )
testSelectCollectionWithDatabaseObject ( )
testSelectCollectionWithNullBytes ( )
testSerialize ( )
testSubCollectionWithNullBytes ( )
testUnacknowledgedUpdate ( )
testUnacknowledgedWrite ( )
testUpdateDuplicate ( )
testUpdateMany ( )
testUpdateOne ( )
testUpdateReplaceMultiple ( )
testUpdateReplaceOne ( )
testUpdateWriteConcern ( )
testValidate ( )
testWriteConcern ( )
testWriteConcernIsInherited ( )
testWriteConcernIsSetInDriver ( )

Method Details

createIndexIgnoredOptions() public static method

public static createIndexIgnoredOptions ( )

testAggregate() public method

public testAggregate ( )

testAggregateCursor() public method

public testAggregateCursor ( )

testAggregateInvalidPipeline() public method

testAggregateTimeoutException() public method

testAggregateWithMultiplePilelineOperatorsAsArguments() public method

testBatchInsertContinuesOnError() public method

testBatchInsertEmptyBatchException() public method

testBatchInsertException() public method

testBatchInsertObjectWithPrivateProperties() public method

testBatchInsertWithEmptyKey() public method

testBatchInsertWithInvalidKey() public method

testBatchInsertWithNumericKey() public method

testCount() public method

public testCount ( )

testCountTimeout() public method

public testCountTimeout ( )

testCountWithLimit() public method

public testCountWithLimit ( )

testCountWithLimitAndSkip() public method

testCountWithLimitAndSkipLegacy() public method

testCountWithLimitLegacy() public method

testCountWithSkip() public method

public testCountWithSkip ( )

testCountWithSkipLegacy() public method

testCreateDBRef() public method

public testCreateDBRef ( )

testCreateIndex() public method

public testCreateIndex ( )

testCreateIndexInvalid() public method

testCreateIndexTwice() public method

testCreateIndexTwiceWithDifferentName() public method

testCreateIndexTwiceWithDifferentOrder() public method

testCreateIndexTwiceWithSameName() public method

testCreateIndexWithDeprecatedOptions() public method

testCreateIndexWithSameNameAndDifferentOptions() public method

testCreateIndexesWithDifferentOptions() public method

testCreateIndexesWithIgnoredOptions() public method

testCreateRecord() public method

public testCreateRecord ( )

testDeleteIndexUsingField() public method

testDeleteIndexUsingIndexName() public method

testDeleteIndexUsingKeys() public method

testDeleteIndexes() public method

public testDeleteIndexes ( )

testDeleteIndexesForNonExistingCollection() public method

testDistinct() public method

public testDistinct ( )

testDistinctWithIdQuery() public method

testDistinctWithQuery() public method

testDrop() public method

public testDrop ( )

testEmptyCollectionName() public method

testEnsureIndex() public method

public testEnsureIndex ( )

testEnsureIndexAlreadyExists() public method

testEnsureIndexAlreadyExistsWithDifferentOptions() public method

testFindAndModifyExceptionTimeout() public method

testFindAndModifyRemove() public method

testFindAndModifyResultException() public method

testFindAndModifyUpdate() public method

testFindAndModifyUpdateReplace() public method

testFindAndModifyUpdateReturnNew() public method

testFindAndModifyUpdateWithUpdateOptions() public method

testFindAndModifyWithFields() public method

testFindAndModifyWithUpdateParamAndOption() public method

testFindOne() public method

public testFindOne ( )

testFindOneConnectionIssue() public method

testFindOneNotFound() public method

public testFindOneNotFound ( )

testFindReturnsCursor() public method

testGetDBRef() public method

public testGetDBRef ( )

testGetIndexInfo() public method

public testGetIndexInfo ( )

testGetNestedCollections() public method

testGroup() public method

public testGroup ( )

testHasNextLoop() public method

public testHasNextLoop ( )

testInsertArrayWithNumericKeys() public method

testInsertDuplicate() public method

public testInsertDuplicate ( )

testInsertEmptyArray() public method

testInsertEmptyObject() public method

testInsertInvalidData() public method

testInsertMany() public method

public testInsertMany ( )

testInsertManyWithNonNumericKeys() public method

testInsertObjectWithPrivateProperties() public method

testInsertWithEmptyKey() public method

testInsertWithInvalidKey() public method

testInsertWithNumericKey() public method

testInsertWriteConcernException() public method

testMapReduce() public method

public testMapReduce ( )

testProjectionWithBSONTypes() public method

testReadPreference() public method

public testReadPreference ( )

testReadPreferenceIsInherited() public method

testReadPreferenceIsSetInDriver() public method

testRemoveMultiple() public method

public testRemoveMultiple ( )

testRemoveOne() public method

public testRemoveOne ( )

testRemoveSingle() public method

public testRemoveSingle ( )

testRemoveUnacknowledged() public method

testSaveDuplicate() public method

public testSaveDuplicate ( )

testSaveEmptyKeys() public method

public testSaveEmptyKeys ( )

testSaveEmptyObject() public method

public testSaveEmptyObject ( )

testSaveInsert() public method

public testSaveInsert ( )

testSaveUpdate() public method

public testSaveUpdate ( )

testSavingShouldReplaceTheWholeDocument() public method

testSelectCollectionWithDatabaseObject() public method

testSelectCollectionWithNullBytes() public method

testSerialize() public method

public testSerialize ( )

testSubCollectionWithNullBytes() public method

testUnacknowledgedUpdate() public method

testUnacknowledgedWrite() public method

testUpdateDuplicate() public method

public testUpdateDuplicate ( )

testUpdateMany() public method

public testUpdateMany ( )

testUpdateOne() public method

public testUpdateOne ( )

testUpdateReplaceMultiple() public method

testUpdateReplaceOne() public method

testUpdateWriteConcern() public method

testValidate() public method

public testValidate ( )

testWriteConcern() public method

public testWriteConcern ( )

testWriteConcernIsInherited() public method

testWriteConcernIsSetInDriver() public method