Property | Type | Description | |
---|---|---|---|
$factory | |||
$request | |||
$requestHandler | Symfony\Component\Form\RequestHandlerInterface | ||
$serverParams |
Method | Description | |
---|---|---|
getPostMaxSizeFixtures ( ) | ||
methodExceptGetProvider ( ) | ||
methodProvider ( ) | ||
testAddFormErrorIfPostMaxSizeExceeded ( $contentLength, $iniMax, $shouldFail, array $errorParams = [] ) | ||
testDoNoSubmitSimpleFormIfNameNotInRequestAndNotGetRequest ( $method ) | ||
testDoNotSubmitCompoundFormIfNameNotInRequestAndNotGetRequest ( $method ) | ||
testDoNotSubmitFormWithEmptyNameIfNoFieldInRequest ( $method ) | ||
testDoNotSubmitIfNameNotInRequestAndGetRequest ( ) | ||
testDoNotSubmitIfWrongRequestMethod ( $method ) | ||
testMergeParamsAndFiles ( $method ) | ||
testParamTakesPrecedenceOverFile ( $method ) | ||
testSubmitFileIfNoParam ( $method ) | ||
testSubmitFileWithNamelessForm ( $method ) | ||
testSubmitFormWithEmptyNameIfAtLeastOneFieldInRequest ( $method ) | ||
testSubmitIfNameInRequest ( $method ) | ||
testSubmitMultipleFiles ( $method ) |
Method | Description | |
---|---|---|
getMockFile ( $suffix = '' ) | ||
getMockForm ( $name, $method = null, $compound = true ) | ||
getRequestHandler ( ) | ||
setRequestData ( $method, $data, $files = [] ) | ||
setUp ( ) |
abstract protected setRequestData ( $method, $data, $files = [] ) |
public testAddFormErrorIfPostMaxSizeExceeded ( $contentLength, $iniMax, $shouldFail, array $errorParams = [] ) | ||
$errorParams | array |
public testDoNoSubmitSimpleFormIfNameNotInRequestAndNotGetRequest ( $method ) |
public testDoNotSubmitCompoundFormIfNameNotInRequestAndNotGetRequest ( $method ) |
public testDoNotSubmitFormWithEmptyNameIfNoFieldInRequest ( $method ) |
public testDoNotSubmitIfWrongRequestMethod ( $method ) |
public testParamTakesPrecedenceOverFile ( $method ) |
public testSubmitFormWithEmptyNameIfAtLeastOneFieldInRequest ( $method ) |
protected FormFactory,Symfony\Component\Form $factory | ||
return |
protected RequestHandlerInterface,Symfony\Component\Form $requestHandler | ||
return | Symfony\Component\Form\RequestHandlerInterface |