PHP Class Contao\CoreBundle\Test\Framework\ContaoFrameworkTest

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

Public Methods

Method Description
testBackendRequest ( ) Tests initializing the framework with a back end request.
testContainerNotSet ( ) Tests initializing the framework with a valid request token.
testCreateInstance ( ) Tests the createInstance method.
testCreateInstanceSingelton ( ) Tests the createInstance method for a singleton class.
testErrorLevelOverride ( ) Tests that the error level will get updated when configured.
testFrontendRequest ( ) Tests initializing the framework with a front end request.
testGetAdapter ( ) Tests the getAdapter method.
testIncompleteInstallation ( ) Tests initializing the framework with an incomplete installation.
testInstantiation ( ) Tests the object instantiation.
testInvalidRequestToken ( ) Tests initializing the framework with an invalid request token.
testNotInitializedTwice ( ) Tests that the framework is not initialized twice.
testRequestTokenCheckSkippedIfAttributeFalse ( ) Tests if the request token check is skipped if the attribute is false.
testValidRequestToken ( ) Tests initializing the framework with a valid request token.
testWithoutRequest ( ) Tests initializing the framework without a request.
testWithoutRoute ( ) Tests initializing the framework with request but without route.
testWithoutScope ( ) Tests initializing the framework without a scope.

Method Details

testBackendRequest() public method

Tests initializing the framework with a back end request.
public testBackendRequest ( )

testContainerNotSet() public method

Tests initializing the framework with a valid request token.
public testContainerNotSet ( )

testCreateInstance() public method

Tests the createInstance method.
public testCreateInstance ( )

testCreateInstanceSingelton() public method

Tests the createInstance method for a singleton class.

testErrorLevelOverride() public method

Tests that the error level will get updated when configured.

testFrontendRequest() public method

Tests initializing the framework with a front end request.
public testFrontendRequest ( )

testGetAdapter() public method

Tests the getAdapter method.
public testGetAdapter ( )

testIncompleteInstallation() public method

Tests initializing the framework with an incomplete installation.

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )

testInvalidRequestToken() public method

Tests initializing the framework with an invalid request token.

testNotInitializedTwice() public method

Tests that the framework is not initialized twice.

testRequestTokenCheckSkippedIfAttributeFalse() public method

Tests if the request token check is skipped if the attribute is false.

testValidRequestToken() public method

Tests initializing the framework with a valid request token.

testWithoutRequest() public method

Tests initializing the framework without a request.
public testWithoutRequest ( )

testWithoutRoute() public method

Tests initializing the framework with request but without route.
public testWithoutRoute ( )

testWithoutScope() public method

Tests initializing the framework without a scope.
public testWithoutScope ( )