PHP Class SearchTest, glpi

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: glpi-project/glpi Class Usage Examples

Méthodes publiques

Méthode Description
testMetaComputerSoftwareLicense ( )
testMetaComputerUser ( )
testSearchOptions ( ) This test will add all serachoptions in each itemtype and check if the search give a SQL error
testUser ( )
test_search_all_meta ( ) Test search with all meta to not have SQL errors

Private Methods

Méthode Description
doSearch ( $itemtype, $params, array $forcedisplay = [] )
getClasses ( $function = false ) Get all classes in folder inc/

Method Details

testMetaComputerSoftwareLicense() public méthode

testMetaComputerUser() public méthode

testSearchOptions() public méthode

This test will add all serachoptions in each itemtype and check if the search give a SQL error
public testSearchOptions ( )

testUser() public méthode

public testUser ( )

test_search_all_meta() public méthode

Test search with all meta to not have SQL errors