PHP Class Neos\Flow\Tests\Functional\Mvc\ActionControllerTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Exibir arquivo Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$testablePersistenceEnabled boolean

Public Methods

Method Description
actionSpecifiedInActionRequestIsCalledAndResponseIsReturned ( ) Checks if a simple request is handled correctly if another than the default action is specified.
argumentTests ( string $action, mixed $argument, string $expectedResult ) Tut Dinge.
argumentTestsDataProvider ( ) : array Data provider for argumentTests()
argumentsOfPutRequestArePassedToAction ( ) Bug #36913
argumentsOfPutRequestWithJsonOrXmlTypeAreAlsoPassedToAction ( )
defaultActionSpecifiedInrouteIsCalledAndResponseIsReturned ( ) Checks if a simple request is handled correctly. The route matching the specified URI defines a default action "first" which results in firstAction being called.
defaultTemplateIsResolvedAndUsedAccordingToConventions ( )
ignoreValidationAnnotationIsObservedWithAndWithoutDollarSign ( ) See http://forge.typo3.org/issues/37385
ignoreValidationAnnotationsAreObservedForPost ( )
notAcceptableStatusIsReturnedIfMediaTypeDoesNotMatchSupportedMediaTypes ( ) RFC 2616 / 10.4.7 (406 Not Acceptable)
notFoundStatusIsReturnedIfASpecifiedObjectCantBeFound ( ) RFC 2616 / 10.4.5 (404 Not Found)
notValidatedGroupObjectArgumentsAreNotValidated ( )
objectArgumentsAreValidatedByDefault ( )
optionalObjectArgumentsAreValidatedByDefault ( )
optionalObjectArgumentsCanBeOmitted ( )
queryStringOfAGetRequestIsParsedAndPassedToActionAsArguments ( ) Checks if query parameters are handled correctly and default arguments are respected / overridden.
setUp ( ) Additional setup: Routes
trustedPropertiesConfigurationDoesNotIgnoreWildcardConfigurationInController ( )
validatedGroupObjectArgumentsAreValidated ( )

Method Details

actionSpecifiedInActionRequestIsCalledAndResponseIsReturned() public method

Checks if a simple request is handled correctly if another than the default action is specified.

argumentTests() public method

Tut Dinge.
public argumentTests ( string $action, mixed $argument, string $expectedResult )
$action string
$argument mixed
$expectedResult string

argumentTestsDataProvider() public method

Data provider for argumentTests()
public argumentTestsDataProvider ( ) : array
return array

argumentsOfPutRequestArePassedToAction() public method

Bug #36913

argumentsOfPutRequestWithJsonOrXmlTypeAreAlsoPassedToAction() public method

defaultActionSpecifiedInrouteIsCalledAndResponseIsReturned() public method

Checks if a simple request is handled correctly. The route matching the specified URI defines a default action "first" which results in firstAction being called.

defaultTemplateIsResolvedAndUsedAccordingToConventions() public method

ignoreValidationAnnotationIsObservedWithAndWithoutDollarSign() public method

See http://forge.typo3.org/issues/37385

ignoreValidationAnnotationsAreObservedForPost() public method

notAcceptableStatusIsReturnedIfMediaTypeDoesNotMatchSupportedMediaTypes() public method

RFC 2616 / 10.4.7 (406 Not Acceptable)

notFoundStatusIsReturnedIfASpecifiedObjectCantBeFound() public method

RFC 2616 / 10.4.5 (404 Not Found)

notValidatedGroupObjectArgumentsAreNotValidated() public method

objectArgumentsAreValidatedByDefault() public method

optionalObjectArgumentsAreValidatedByDefault() public method

optionalObjectArgumentsCanBeOmitted() public method

queryStringOfAGetRequestIsParsedAndPassedToActionAsArguments() public method

Checks if query parameters are handled correctly and default arguments are respected / overridden.

setUp() public method

Additional setup: Routes
public setUp ( )

trustedPropertiesConfigurationDoesNotIgnoreWildcardConfigurationInController() public method

validatedGroupObjectArgumentsAreValidated() public method

Property Details

$testablePersistenceEnabled protected_oe static_oe property

protected static bool $testablePersistenceEnabled
return boolean