PHP Class DbTestCase, glpi

Author: Andrzej Swedrzynski ([email protected])
Inheritance: extends UnitTestCase
Afficher le fichier Open project: glpi-project/glpi Class Usage Examples

Méthodes protégées

Méthode Description
getUniqueInteger ( ) Get a unique random integer
getUniqueString ( ) Get a unique random string
login ( ) Connect using the test user
setEntity ( $entityname, $subtree ) change current entity
setUp ( )
tearDown ( )

Method Details

getUniqueInteger() protected méthode

Get a unique random integer
protected getUniqueInteger ( )

getUniqueString() protected méthode

Get a unique random string
protected getUniqueString ( )

login() protected méthode

Connect using the test user
protected login ( )

setEntity() protected méthode

change current entity
protected setEntity ( $entityname, $subtree )

setUp() protected méthode

protected setUp ( )

tearDown() protected méthode

protected tearDown ( )