PHP Class Symfony\Component\Form\Tests\Extension\Core\EventListener\MergeCollectionListenerTest

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

Protected Properties

Property Type Description
$dispatcher
$factory
$form

Public Methods

Method Description
getBooleanMatrix1 ( )
getBooleanMatrix2 ( )
testAddExtraEntriesIfAllowAdd ( $allowDelete )
testAddExtraEntriesIfAllowAddDontOverwriteExistingIndices ( $allowDelete )
testDealWithNullData ( )
testDealWithNullOriginalDataIfAllowAdd ( $allowDelete )
testDoNothingIfNotAllowAdd ( $allowDelete )
testDoNothingIfNotAllowDelete ( $allowAdd )
testDontDealWithNullOriginalDataIfNotAllowAdd ( $allowDelete )
testRemoveMissingEntriesIfAllowDelete ( $allowAdd )
testRequireArrayOrTraversable ( $allowAdd, $allowDelete )

Protected Methods

Method Description
getBuilder ( $name = 'name' )
getData ( array $data )
getForm ( $name = 'name', $propertyPath = null )
getMockForm ( )
setUp ( )
tearDown ( )

Method Details

getBooleanMatrix1() public method

public getBooleanMatrix1 ( )

getBooleanMatrix2() public method

public getBooleanMatrix2 ( )

getBuilder() abstract protected method

abstract protected getBuilder ( $name = 'name' )

getData() abstract protected method

abstract protected getData ( array $data )
$data array

getForm() protected method

protected getForm ( $name = 'name', $propertyPath = null )

getMockForm() protected method

protected getMockForm ( )

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testAddExtraEntriesIfAllowAdd() public method

public testAddExtraEntriesIfAllowAdd ( $allowDelete )

testAddExtraEntriesIfAllowAddDontOverwriteExistingIndices() public method

testDealWithNullData() public method

testDealWithNullOriginalDataIfAllowAdd() public method

public testDealWithNullOriginalDataIfAllowAdd ( $allowDelete )

testDoNothingIfNotAllowAdd() public method

public testDoNothingIfNotAllowAdd ( $allowDelete )

testDoNothingIfNotAllowDelete() public method

public testDoNothingIfNotAllowDelete ( $allowAdd )

testDontDealWithNullOriginalDataIfNotAllowAdd() public method

testRemoveMissingEntriesIfAllowDelete() public method

testRequireArrayOrTraversable() public method

public testRequireArrayOrTraversable ( $allowAdd, $allowDelete )

Property Details

$dispatcher protected property

protected $dispatcher

$factory protected property

protected $factory

$form protected property

protected $form