PHP Class Sokil\Mongo\DatabaseTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: sokil/php-mongo

Méthodes publiques

Méthode Description
setUp ( )
testCreateCappedCollection ( )
testCreateCollection ( )
testDisableProfiler ( )
testEnableCollectionPool ( )
testExecuteInvalidJs ( )
testExecuteJs ( )
testFindProfilerRows ( )
testGetCollection ( )
testGetDocumentByReference ( )
testGetGridFs_SpecifiedGridFSClassInMappingIsNotInstanceOfGridFS ( )
testGetGridFs_WrongGridFSClassSpecifiedInMapping ( )
testGetLastError ( )
testGetProfilerLevel ( )
testGetProfilerParams ( )
testGetProfilerSlowMs ( )
testMapCollectionToClass ( )
testMapCollectionsToClasses ( )
testMapRegexpCollectionNameToClass ( )
testMap_ClassNamespace ( )
testMap_InvalidDefinitionVariableType ( )
testMap_UnexistedClassInMapping ( )
testProfileAllQueries ( )
testProfileSlowQueries ( )
testReadNearest ( array $tags = null )
testReadPrimaryOnly ( )
testReadPrimaryPreferred ( )
testReadSecondaryOnly ( array $tags = null )
testReadSecondaryPreferred ( array $tags = null )
testSetMajorityWriteConcern ( )
testSetUnacknowledgedWriteConcern ( )
testSetWriteConcern ( )
testSetWriteConcern_Error ( )
testStats ( )

Method Details

setUp() public méthode

public setUp ( )

testCreateCappedCollection() public méthode

testCreateCollection() public méthode

testDisableProfiler() public méthode

public testDisableProfiler ( )

testEnableCollectionPool() public méthode

testExecuteInvalidJs() public méthode

testExecuteJs() public méthode

public testExecuteJs ( )

testFindProfilerRows() public méthode

testGetCollection() public méthode

public testGetCollection ( )

testGetDocumentByReference() public méthode

testGetGridFs_SpecifiedGridFSClassInMappingIsNotInstanceOfGridFS() public méthode

testGetGridFs_WrongGridFSClassSpecifiedInMapping() public méthode

testGetLastError() public méthode

public testGetLastError ( )

testGetProfilerLevel() public méthode

testGetProfilerParams() public méthode

testGetProfilerSlowMs() public méthode

testMapCollectionToClass() public méthode

testMapCollectionsToClasses() public méthode

testMapRegexpCollectionNameToClass() public méthode

testMap_ClassNamespace() public méthode

testMap_InvalidDefinitionVariableType() public méthode

testMap_UnexistedClassInMapping() public méthode

testProfileAllQueries() public méthode

testProfileSlowQueries() public méthode

testReadNearest() public méthode

public testReadNearest ( array $tags = null )
$tags array

testReadPrimaryOnly() public méthode

public testReadPrimaryOnly ( )

testReadPrimaryPreferred() public méthode

testReadSecondaryOnly() public méthode

public testReadSecondaryOnly ( array $tags = null )
$tags array

testReadSecondaryPreferred() public méthode

public testReadSecondaryPreferred ( array $tags = null )
$tags array

testSetMajorityWriteConcern() public méthode

testSetUnacknowledgedWriteConcern() public méthode

testSetWriteConcern() public méthode

public testSetWriteConcern ( )

testSetWriteConcern_Error() public méthode

testStats() public méthode

public testStats ( )