W3cubDocs

/Symfony 4.1

TypeTestCase

abstract class TypeTestCase extends FormIntegrationTestCase

Properties

protected FormFactoryInterface $factory from FormIntegrationTestCase
protected FormBuilder $builder
protected EventDispatcher $dispatcher

Methods

setUp()
getExtensions()
getTypeExtensions() from FormIntegrationTestCase
getTypes() from FormIntegrationTestCase
getTypeGuessers() from FormIntegrationTestCase
tearDown()
static assertDateTimeEquals(DateTime $expected, DateTime $actual)
static assertDateIntervalEquals(DateInterval $expected, DateInterval $actual)

Details

protected setUp()

protected getExtensions()

protected getTypeExtensions()

protected getTypes()

protected getTypeGuessers()

protected tearDown()

static assertDateTimeEquals(DateTime $expected, DateTime $actual)

Parameters

DateTime $expected
DateTime $actual

static assertDateIntervalEquals(DateInterval $expected, DateInterval $actual)

Parameters

DateInterval $expected
DateInterval $actual

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/Test/TypeTestCase.html