PHP Class AppserverIo\Appserver\Core\AppEnvironmentHelperTest

Inheritance: extends AppserverIo\Appserver\Core\AbstractTest
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
getEnvironmentAwareGlobPatternDataProvider ( ) : array Data provider for the getEnvironmentAwareGlobPattern test
testGetEnvironmentAwareGlobPattern ( string $appBase, string $fileGlob, string $fileExtension, array $globDirResult, string $modifier, string $result ) : void Checks if the getEnvironmentAwareGlobPattern() method works as expected.

Method Details

getEnvironmentAwareGlobPatternDataProvider() public méthode

Data provider for the getEnvironmentAwareGlobPattern test

testGetEnvironmentAwareGlobPattern() public méthode

Checks if the getEnvironmentAwareGlobPattern() method works as expected.
public testGetEnvironmentAwareGlobPattern ( string $appBase, string $fileGlob, string $fileExtension, array $globDirResult, string $modifier, string $result ) : void
$appBase string The base file path to the application
$fileGlob string The intermediate path (or glob pattern) from app base path to file extension
$fileExtension string The extension of the file
$globDirResult array The result of the internal call to globDir()
$modifier string The modifier we need to test paths through our code
$result string The expected result to test against
Résultat void