PHP Class Scalr\Tests\Scripting\GlobalVariablesTest

Since: 5.10.11
Author: Igor Vodiasov ([email protected])
Inheritance: extends Scalr\Tests\TestCase
Afficher le fichier Open project: scalr/scalr

Protected Properties

Свойство Type Description
$args array Array of arguments for methods setValues, getValues, listVariables for each scope except SERVER
$vars array Array of Scalr_Scripting_GlobalVariables objects for each scope except SERVER

Méthodes publiques

Méthode Description
deleteTestVariables ( ) Deletes test variables from all tables
providerLoad ( ) : array Data provider for the testGlobalVariablesFunctional
setUpBeforeClass ( )
tearDownAfterClass ( )
testGlobalVariablesFunctional ( $scope, $action, $var, $expectedResult )

Private Methods

Méthode Description
getVarTestName ( string $suffix = null ) : string Gets test name for GV

Method Details

deleteTestVariables() public static méthode

Deletes test variables from all tables
public static deleteTestVariables ( )

providerLoad() public méthode

Data provider for the testGlobalVariablesFunctional
public providerLoad ( ) : array
Résultat array

setUpBeforeClass() public static méthode

public static setUpBeforeClass ( )

tearDownAfterClass() public static méthode

public static tearDownAfterClass ( )

testGlobalVariablesFunctional() public méthode

public testGlobalVariablesFunctional ( $scope, $action, $var, $expectedResult )

Property Details

$args protected_oe static_oe property

Array of arguments for methods setValues, getValues, listVariables for each scope except SERVER
protected static array $args
Résultat array

$vars protected_oe static_oe property

Array of Scalr_Scripting_GlobalVariables objects for each scope except SERVER
protected static array $vars
Résultat array