PHP Class Symfony\Component\Form\Tests\CompoundFormTest

Inheritance: extends AbstractFormTest
Show file Open project: symfony/symfony

Public Methods

Method Description
requestMethodProvider ( )
testAdd ( )
testAddDoesNotMapViewDataToFormIfInheritData ( )
testAddDoesNotMapViewDataToFormIfNotInitialized ( )
testAddMapsViewDataToFormIfInitialized ( )
testAddThrowsExceptionIfAlreadySubmitted ( )
testAddUsingIntegerNameAndType ( )
testAddUsingNameAndType ( )
testAddUsingNameButNoType ( )
testAddUsingNameButNoTypeAndOptions ( )
testAddWithoutType ( )
testArrayAccess ( )
testClearMissingFlagIsForwarded ( )
testClickedButton ( )
testClickedButtonFromNestedForm ( )
testClickedButtonFromParentForm ( )
testCloneChildren ( )
testCountable ( )
testCreateViewWithChildren ( ) Basic cases are covered in SimpleFormTest
testDisabledFormsValidEvenIfChildrenInvalid ( )
testGetErrors ( )
testGetErrorsDeep ( )
testGetErrorsDeepRecursive ( )
testInvalidIfChildIsInvalid ( )
testIterator ( )
testMapFormsToDataIsNotInvokedIfInheritData ( )
testNoClickedButton ( )
testNoClickedButtonBeforeSubmission ( )
testNotEmptyIfChildNotEmpty ( )
testRemove ( )
testRemoveIgnoresUnknownName ( )
testRemoveThrowsExceptionIfAlreadySubmitted ( )
testSetDataMapsViewDataToChildren ( )
testSetDataSupportsDynamicAdditionAndRemovalOfChildren ( )
testSubmitDoesNotAddExtraFieldForNullValues ( )
testSubmitDoesNotForwardNullIfNotClearMissing ( )
testSubmitForwardsNullIfNotClearMissingButValueIsExplicitlyNull ( )
testSubmitForwardsNullIfValueIsMissing ( )
testSubmitGetRequest ( )
testSubmitGetRequestWithEmptyRootFormName ( )
testSubmitMapsSubmittedChildrenOntoEmptyData ( )
testSubmitMapsSubmittedChildrenOntoExistingViewData ( )
testSubmitPostOrPutRequest ( $method )
testSubmitPostOrPutRequestWithEmptyRootFormName ( $method )
testSubmitPostOrPutRequestWithSingleChildForm ( $method )
testSubmitPostOrPutRequestWithSingleChildFormUploadedFile ( $method )
testSubmitRestoresViewDataIfCompoundAndEmpty ( ) * https://github.com/symfony/symfony/issues/4480
testSubmitSupportsDynamicAdditionAndRemovalOfChildren ( )
testValidIfAllChildrenAreValid ( )

Protected Methods

Method Description
createForm ( )

Method Details

createForm() protected method

protected createForm ( )

requestMethodProvider() public method

testAdd() public method

public testAdd ( )

testAddDoesNotMapViewDataToFormIfInheritData() public method

testAddDoesNotMapViewDataToFormIfNotInitialized() public method

testAddMapsViewDataToFormIfInitialized() public method

testAddThrowsExceptionIfAlreadySubmitted() public method

testAddUsingIntegerNameAndType() public method

testAddUsingNameAndType() public method

testAddUsingNameButNoType() public method

testAddUsingNameButNoTypeAndOptions() public method

testAddWithoutType() public method

public testAddWithoutType ( )

testArrayAccess() public method

public testArrayAccess ( )

testClearMissingFlagIsForwarded() public method

testClickedButton() public method

public testClickedButton ( )

testClickedButtonFromNestedForm() public method

testClickedButtonFromParentForm() public method

testCloneChildren() public method

public testCloneChildren ( )

testCountable() public method

public testCountable ( )

testCreateViewWithChildren() public method

Basic cases are covered in SimpleFormTest

testDisabledFormsValidEvenIfChildrenInvalid() public method

testGetErrors() public method

public testGetErrors ( )

testGetErrorsDeep() public method

public testGetErrorsDeep ( )

testGetErrorsDeepRecursive() public method

testInvalidIfChildIsInvalid() public method

testIterator() public method

public testIterator ( )

testMapFormsToDataIsNotInvokedIfInheritData() public method

testNoClickedButton() public method

public testNoClickedButton ( )

testNoClickedButtonBeforeSubmission() public method

testNotEmptyIfChildNotEmpty() public method

testRemove() public method

public testRemove ( )

testRemoveIgnoresUnknownName() public method

testRemoveThrowsExceptionIfAlreadySubmitted() public method

testSetDataMapsViewDataToChildren() public method

testSetDataSupportsDynamicAdditionAndRemovalOfChildren() public method

testSubmitDoesNotAddExtraFieldForNullValues() public method

testSubmitDoesNotForwardNullIfNotClearMissing() public method

testSubmitForwardsNullIfNotClearMissingButValueIsExplicitlyNull() public method

testSubmitForwardsNullIfValueIsMissing() public method

testSubmitGetRequest() public method

testSubmitGetRequestWithEmptyRootFormName() public method

testSubmitMapsSubmittedChildrenOntoEmptyData() public method

testSubmitMapsSubmittedChildrenOntoExistingViewData() public method

testSubmitPostOrPutRequest() public method

public testSubmitPostOrPutRequest ( $method )

testSubmitPostOrPutRequestWithEmptyRootFormName() public method

testSubmitPostOrPutRequestWithSingleChildForm() public method

testSubmitPostOrPutRequestWithSingleChildFormUploadedFile() public method

testSubmitRestoresViewDataIfCompoundAndEmpty() public method

* https://github.com/symfony/symfony/issues/4480

testSubmitSupportsDynamicAdditionAndRemovalOfChildren() public method

testValidIfAllChildrenAreValid() public method