PHP Class Doctrine\ODM\MongoDB\Tests\SchemaManagerTest

Author: Bulat Shakirzyanov ([email protected])
Inheritance: extends BaseTest
Datei anzeigen Open project: doctrine/mongodb-odm

Public Methods

Method Description
dataIsMongoIndexEquivalentToDocumentIndex ( )
setUp ( )
testCreateCollections ( )
testCreateDocumentCollection ( )
testCreateGridFSCollection ( )
testDeleteDocumentIndexes ( )
testDeleteIndexes ( )
testDropCollections ( )
testDropDatabases ( )
testDropDocumentCollection ( )
testDropDocumentDatabase ( )
testEnableShardingForDb ( )
testEnableShardingForDbIgnoresAlreadyShardedError ( )
testEnableShardingForDbThrowsExceptionInCaseOfError ( )
testEnsureDocumentIndexes ( )
testEnsureDocumentIndexesWithTimeout ( )
testEnsureDocumentIndexesWithTwoLevelInheritance ( )
testEnsureDocumentSharding ( )
testEnsureDocumentShardingIgnoresAlreadyShardedError ( )
testEnsureDocumentShardingThrowsExceptionIfThereWasAnError ( )
testEnsureIndexes ( )
testIsMongoIndexEquivalentToDocumentIndex ( $expected, $mongoIndex, $documentIndex )
testUpdateDocumentIndexesShouldCreateMappedIndexes ( )
testUpdateDocumentIndexesShouldDeleteUnmappedIndexesBeforeCreatingMappedIndexes ( )

Private Methods

Method Description
getMockCollection ( )
getMockConnection ( )
getMockDatabase ( )
getMockDocumentManager ( )
getMockUnitOfWork ( )

Method Details

dataIsMongoIndexEquivalentToDocumentIndex() public method

setUp() public method

public setUp ( )

testCreateCollections() public method

testCreateDocumentCollection() public method

testCreateGridFSCollection() public method

testDeleteDocumentIndexes() public method

testDeleteIndexes() public method

public testDeleteIndexes ( )

testDropCollections() public method

public testDropCollections ( )

testDropDatabases() public method

public testDropDatabases ( )

testDropDocumentCollection() public method

testDropDocumentDatabase() public method

testEnableShardingForDb() public method

testEnableShardingForDbIgnoresAlreadyShardedError() public method

testEnableShardingForDbThrowsExceptionInCaseOfError() public method

testEnsureDocumentIndexes() public method

testEnsureDocumentIndexesWithTimeout() public method

testEnsureDocumentIndexesWithTwoLevelInheritance() public method

testEnsureDocumentSharding() public method

testEnsureDocumentShardingIgnoresAlreadyShardedError() public method

testEnsureDocumentShardingThrowsExceptionIfThereWasAnError() public method

testEnsureIndexes() public method

public testEnsureIndexes ( )

testIsMongoIndexEquivalentToDocumentIndex() public method

public testIsMongoIndexEquivalentToDocumentIndex ( $expected, $mongoIndex, $documentIndex )

testUpdateDocumentIndexesShouldCreateMappedIndexes() public method

testUpdateDocumentIndexesShouldDeleteUnmappedIndexesBeforeCreatingMappedIndexes() public method