PHP 클래스 AppserverIo\Appserver\Core\AppEnvironmentHelperTest

저자: Bernhard Wick ([email protected])
상속: extends AppserverIo\Appserver\Core\AbstractTest
파일 보기 프로젝트 열기: appserver-io/appserver

공개 메소드들

메소드 설명
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

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