PHP Класс Neos\FluidAdaptor\Tests\Functional\Core\WidgetTest

Наследование: extends Neos\Flow\Tests\FunctionalTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
forwardToDifferentControllerThrowsException ( )
forwardWithParameterTriggersTargetAction ( )
forwardWithoutParameterTriggersTargetAction ( )
ifIncludedInATemplateTheWidgetReturnsResultOfItsOwnIndexAction ( ) This sends a request to the helper controller (AjaxTestController) which includes the AJAX widget in its template. The indexAction renders that template which in turn lets the "someAjax" widget call the indexAction of its own controller (SomeAjaxController).
redirectToDifferentControllerThrowsException ( )
redirectWithDelayAndNoParameterOutputsRefreshMetaHeader ( )
redirectWithDelayAndWithParameterOutputsRefreshMetaHeader ( )
redirectWithoutDelayAndNoParameterImmediatelyRedirectsToTargetAction ( )
redirectWithoutDelayAndWithParameterImmediatelyRedirectsToTargetAction ( )
setUp ( ) Additional setup: Routes
theGeneratedUriLeadsToASpecificActionOfTheAjaxController ( ) This sends a request to the helper controller (AjaxTestController) which includes the AJAX widget in its template. The second line of the output created by the indexAction() of the "someAjax" widget contains a URI which allows for directly sending a request (from outside) to the widget, calling the ajaxAction().

Описание методов

forwardToDifferentControllerThrowsException() публичный Метод

forwardWithParameterTriggersTargetAction() публичный Метод

forwardWithoutParameterTriggersTargetAction() публичный Метод

ifIncludedInATemplateTheWidgetReturnsResultOfItsOwnIndexAction() публичный Метод

This sends a request to the helper controller (AjaxTestController) which includes the AJAX widget in its template. The indexAction renders that template which in turn lets the "someAjax" widget call the indexAction of its own controller (SomeAjaxController).

redirectToDifferentControllerThrowsException() публичный Метод

redirectWithDelayAndNoParameterOutputsRefreshMetaHeader() публичный Метод

redirectWithDelayAndWithParameterOutputsRefreshMetaHeader() публичный Метод

redirectWithoutDelayAndNoParameterImmediatelyRedirectsToTargetAction() публичный Метод

redirectWithoutDelayAndWithParameterImmediatelyRedirectsToTargetAction() публичный Метод

setUp() публичный Метод

Additional setup: Routes
public setUp ( )

theGeneratedUriLeadsToASpecificActionOfTheAjaxController() публичный Метод

We send a request to this URI and check if the AJAX widget was really invoked.