PHP Class AppserverIo\Appserver\Core\AppEnvironmentHelperTest

Inheritance: extends AppserverIo\Appserver\Core\AbstractTest
Show file Open project: appserver-io/appserver

Public Methods

Method 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 method

Data provider for the getEnvironmentAwareGlobPattern test

testGetEnvironmentAwareGlobPattern() public method

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
return void