PHP Класс AppserverIo\Appserver\Core\AppEnvironmentHelperTest

Автор: Bernhard Wick ([email protected])
Наследование: extends AppserverIo\Appserver\Core\AbstractTest
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

getEnvironmentAwareGlobPatternDataProvider() публичный метод

Data provider for the getEnvironmentAwareGlobPattern test
public getEnvironmentAwareGlobPatternDataProvider ( ) : array
Результат array

testGetEnvironmentAwareGlobPattern() публичный метод

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
Результат void