PHP Class AppserverIo\Appserver\Core\ServerNodeConfigurationTest

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

Public Methods

Method Description
testGetAccesses ( ) : void Checks whether the getAccesses() method returns the expected result.
testGetAddress ( ) : void Test the getAddress() method.
testGetAdmin ( ) : void Test the getAdmin() method.
testGetAnalytics ( ) : void Checks whether the getAnalytics() method returns the expected result.
testGetAuthentications ( ) : void Checks whether the getAnalytics() method returns the expected result.
testGetCertPath ( ) : void Test the getCertPath() method.
testGetConnectionHandlers ( ) : void Checks whether the getConnectionHandlers() method returns the expected result.
testGetDirectoryIndex ( ) : void Test the getDirectoryIndex() method.
testGetDocumentRoot ( ) : void Test the getDocumentRoot() method.
testGetEnvironmentVariables ( ) : void Checks whether the getEnvironmentVariables() method returns the expected result.
testGetErrorsPageTemplatePath ( ) : void Test the getErrorsPageTemplatePath() method.
testGetGroup ( ) : void Test the getGroup() method.
testGetHandlers ( ) : void Checks whether the getHandlers() method returns the expected result.
testGetKeepAliveMax ( ) : void Test the getKeepAliveMax() method.
testGetKeepAliveTimeout ( ) : void Test the getKeepAliveTimeout() method.
testGetLocations ( ) : void Checks whether the getLocations() method returns the expected result.
testGetLoggerName ( ) : void Test the getLoggerName() method.
testGetModules ( ) : void Checks whether the getModules() method returns the expected result.
testGetName ( ) : void Test the getName() method.
testGetPassphrase ( ) : void Test the getPassphrase() method.
testGetPort ( ) : void Test the getPort() method.
testGetRequestContextType ( ) : void Test the getRequestContextType() method.
testGetRewriteMaps ( ) : void Checks whether the getRewriteMaps() method returns the expected result.
testGetRewrites ( ) : void Checks whether the getRewrites() method returns the expected result.
testGetServerContextType ( ) : void Test the getServerContextType() method.
testGetSocketType ( ) : void Test the getSocketType() method.
testGetSoftware ( ) : void Test the getSoftware() method.
testGetTransport ( ) : void Test the getTransport() method.
testGetType ( ) : void Test the getType() method.
testGetUser ( ) : void Test the getUser() method.
testGetVirtualHosts ( ) : void Checks whether the getRewrites() method returns the expected result.
testGetWorkerAcceptMax ( ) : void Test the getWorkerAcceptMax() method.
testGetWorkerAcceptMin ( ) : void Test the getWorkerAcceptMin() method.
testGetWorkerNumber ( ) : void Test the getWorkerNumber() method.
testGetWorkerType ( ) : void Test the getWorkerType() method.

Protected Methods

Method Description
getServerNodeWithMockedConfiguration ( mixed $value, string $key = null, string $methodName = 'getParam' ) : ServerNodeConfiguration Creates a new server instance with a mocked configuration, that returns the param with the passed key/value.

Method Details

getServerNodeWithMockedConfiguration() protected method

Creates a new server instance with a mocked configuration, that returns the param with the passed key/value.
protected getServerNodeWithMockedConfiguration ( mixed $value, string $key = null, string $methodName = 'getParam' ) : ServerNodeConfiguration
$value mixed The parameter value to return
$key string The parameter key to return
$methodName string The method name of the configuration we want to invoke
return ServerNodeConfiguration The server node instance to be tested

testGetAccesses() public method

Checks whether the getAccesses() method returns the expected result.
public testGetAccesses ( ) : void
return void

testGetAddress() public method

Test the getAddress() method.
public testGetAddress ( ) : void
return void

testGetAdmin() public method

Test the getAdmin() method.
public testGetAdmin ( ) : void
return void

testGetAnalytics() public method

Checks whether the getAnalytics() method returns the expected result.
public testGetAnalytics ( ) : void
return void

testGetAuthentications() public method

Checks whether the getAnalytics() method returns the expected result.
public testGetAuthentications ( ) : void
return void

testGetCertPath() public method

Test the getCertPath() method.
public testGetCertPath ( ) : void
return void

testGetConnectionHandlers() public method

Checks whether the getConnectionHandlers() method returns the expected result.
public testGetConnectionHandlers ( ) : void
return void

testGetDirectoryIndex() public method

Test the getDirectoryIndex() method.
public testGetDirectoryIndex ( ) : void
return void

testGetDocumentRoot() public method

Test the getDocumentRoot() method.
public testGetDocumentRoot ( ) : void
return void

testGetEnvironmentVariables() public method

Checks whether the getEnvironmentVariables() method returns the expected result.
public testGetEnvironmentVariables ( ) : void
return void

testGetErrorsPageTemplatePath() public method

Test the getErrorsPageTemplatePath() method.

testGetGroup() public method

Test the getGroup() method.
public testGetGroup ( ) : void
return void

testGetHandlers() public method

Checks whether the getHandlers() method returns the expected result.
public testGetHandlers ( ) : void
return void

testGetKeepAliveMax() public method

Test the getKeepAliveMax() method.
public testGetKeepAliveMax ( ) : void
return void

testGetKeepAliveTimeout() public method

Test the getKeepAliveTimeout() method.
public testGetKeepAliveTimeout ( ) : void
return void

testGetLocations() public method

Checks whether the getLocations() method returns the expected result.
public testGetLocations ( ) : void
return void

testGetLoggerName() public method

Test the getLoggerName() method.
public testGetLoggerName ( ) : void
return void

testGetModules() public method

Checks whether the getModules() method returns the expected result.
public testGetModules ( ) : void
return void

testGetName() public method

Test the getName() method.
public testGetName ( ) : void
return void

testGetPassphrase() public method

Test the getPassphrase() method.
public testGetPassphrase ( ) : void
return void

testGetPort() public method

Test the getPort() method.
public testGetPort ( ) : void
return void

testGetRequestContextType() public method

Test the getRequestContextType() method.
public testGetRequestContextType ( ) : void
return void

testGetRewriteMaps() public method

Checks whether the getRewriteMaps() method returns the expected result.
public testGetRewriteMaps ( ) : void
return void

testGetRewrites() public method

Checks whether the getRewrites() method returns the expected result.
public testGetRewrites ( ) : void
return void

testGetServerContextType() public method

Test the getServerContextType() method.
public testGetServerContextType ( ) : void
return void

testGetSocketType() public method

Test the getSocketType() method.
public testGetSocketType ( ) : void
return void

testGetSoftware() public method

Test the getSoftware() method.
public testGetSoftware ( ) : void
return void

testGetTransport() public method

Test the getTransport() method.
public testGetTransport ( ) : void
return void

testGetType() public method

Test the getType() method.
public testGetType ( ) : void
return void

testGetUser() public method

Test the getUser() method.
public testGetUser ( ) : void
return void

testGetVirtualHosts() public method

Checks whether the getRewrites() method returns the expected result.
public testGetVirtualHosts ( ) : void
return void

testGetWorkerAcceptMax() public method

Test the getWorkerAcceptMax() method.
public testGetWorkerAcceptMax ( ) : void
return void

testGetWorkerAcceptMin() public method

Test the getWorkerAcceptMin() method.
public testGetWorkerAcceptMin ( ) : void
return void

testGetWorkerNumber() public method

Test the getWorkerNumber() method.
public testGetWorkerNumber ( ) : void
return void

testGetWorkerType() public method

Test the getWorkerType() method.
public testGetWorkerType ( ) : void
return void