Méthode | Description | |
---|---|---|
checkFailPoint ( ) | ||
configureFailPoint ( $failPoint, $mode, $data = [] ) | ||
failMaxTimeMS ( ) | ||
getCheckClient ( ) : MongoDB\Client | ||
getCheckDatabase ( ) : MongoDB\Database | ||
getClient ( array | null $options = null, $uri = 'mongodb://localhost' ) : MongoClient | ||
getCollection ( string $name = 'test', MongoDB $database = null ) : MongoCollection | ||
getDatabase ( MongoClient $client = null ) : MongoDB | ||
getGridFS ( string $prefix = 'fs', MongoDB $database = null ) : MongoGridFS | ||
prepareData ( ) : MongoCollection | ||
skipTestIf ( boolean $condition ) | ||
skipTestUnless ( boolean $condition ) | ||
tearDown ( ) |
protected configureFailPoint ( $failPoint, $mode, $data = [] ) |
protected getCheckClient ( ) : MongoDB\Client | ||
Résultat | MongoDB\Client |
protected getCheckDatabase ( ) : MongoDB\Database | ||
Résultat | MongoDB\Database |
protected getCollection ( string $name = 'test', MongoDB $database = null ) : MongoCollection | ||
$name | string | |
$database | MongoDB | |
Résultat | MongoCollection |
protected getDatabase ( MongoClient $client = null ) : MongoDB | ||
$client | MongoClient | |
Résultat | MongoDB |
protected prepareData ( ) : MongoCollection | ||
Résultat | MongoCollection |
protected skipTestUnless ( boolean $condition ) | ||
$condition | boolean |