PHP Class Contao\CoreBundle\Test\Contao\EnvironmentTest

Inheritance: extends Contao\CoreBundle\Test\TestCase
Datei anzeigen Open project: contao/core-bundle

Public Methods

Method Description
getRootDir ( ) : string Returns the normalized root directory.
setupBeforeClass ( )
testApache ( ) Tests the mod_php environment.
testCgiFcgi ( ) Tests the cgi_fcgi environment.
testFpmFcgi ( ) Tests the fpm_fcgi environment.

Protected Methods

Method Description
runTests ( ) Runs the actual tests.

Private Methods

Method Description
setSapi ( string $sapi ) Overrides the SAPI value.

Method Details

getRootDir() public method

Returns the normalized root directory.
public getRootDir ( ) : string
return string

runTests() protected method

Runs the actual tests.
protected runTests ( )

setupBeforeClass() public static method

public static setupBeforeClass ( )

testApache() public method

Tests the mod_php environment.
public testApache ( )

testCgiFcgi() public method

Tests the cgi_fcgi environment.
public testCgiFcgi ( )

testFpmFcgi() public method

Tests the fpm_fcgi environment.
public testFpmFcgi ( )