PHP Class Neos\Flow\Tests\Functional\Session\SessionManagementTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
aSessionCanBeStartedInAFunctionalTest ( ) Makes sure that the functional base testcase initializes an HTTP request and an HTTP response which can be retrieved from the special request handler by the session initialization in order to retrieve or set the session cookie.
aSessionUsedInAFunctionalTestVirtualBrowserSendsCookiesOnEachRequest ( ) This test makes sure that if a session is used through the HTTP Browser in a functional test, the Session does not have side effects which result, for example, in a cookie sent only at the end of the first request.
getCurrentSessionReturnsTheCurrentlyActiveSession ( ) Checks if getCurrentSessionSession() returns the one and only session which can also be retrieved through Dependency Injection using the SessionInterface.
objectManagerAlwaysReturnsANewSessionInstanceIfClassNameIsSpecified ( )
objectManagerAlwaysReturnsTheSameSessionIfInterfaceIsSpecified ( )
setUp ( ) : void

Method Details

aSessionCanBeStartedInAFunctionalTest() public méthode

See bug #43590

aSessionUsedInAFunctionalTestVirtualBrowserSendsCookiesOnEachRequest() public méthode

This test makes sure that if a session is used through the HTTP Browser in a functional test, the Session does not have side effects which result, for example, in a cookie sent only at the end of the first request.

getCurrentSessionReturnsTheCurrentlyActiveSession() public méthode

Checks if getCurrentSessionSession() returns the one and only session which can also be retrieved through Dependency Injection using the SessionInterface.

objectManagerAlwaysReturnsANewSessionInstanceIfClassNameIsSpecified() public méthode

objectManagerAlwaysReturnsTheSameSessionIfInterfaceIsSpecified() public méthode

setUp() public méthode

public setUp ( ) : void
Résultat void