PHP Class Symfony\Component\Form\Tests\AbstractLayoutTest

Inheritance: extends Symfony\Component\Form\Test\FormIntegrationTestCase
Show file Open project: symfony/symfony

Protected Properties

Property Type Description
$csrfTokenManager
$testableFeatures

Public Methods

Method Description
testAttributesNotTranslatedWhenTranslationDomainIsFalse ( )
testBirthDay ( )
testBirthDayWithPlaceholder ( )
testButton ( )
testButtonAttributeHiddenIfFalse ( )
testButtonAttributeNameRepeatedIfTrue ( )
testButtonAttributes ( )
testButtonLabelIsEmpty ( )
testButtonlabelWithoutTranslation ( )
testCheckboxWithValue ( )
testCheckedCheckbox ( )
testCheckedRadio ( )
testChoiceWithOnlyPreferred ( )
testCollectionPrototype ( )
testCountry ( )
testCountryWithPlaceholder ( )
testDateChoice ( )
testDateChoiceWithPlaceholderGlobal ( )
testDateChoiceWithPlaceholderOnYear ( )
testDateErrorBubbling ( )
testDateSingleText ( )
testDateText ( )
testDateTime ( )
testDateTimeSingleText ( )
testDateTimeWithHourAndMinute ( )
testDateTimeWithPlaceholderGlobal ( )
testDateTimeWithSeconds ( )
testDateTimeWithWidgetSingleText ( )
testDateTimeWithWidgetSingleTextIgnoreDateAndTimeWidgets ( )
testDisabled ( )
testEmail ( )
testEmailWithMaxLength ( )
testEmptyRootFormName ( )
testErrors ( )
testFile ( )
testHidden ( )
testInteger ( )
testLabel ( )
testLabelDoesNotRenderFieldAttributes ( )
testLabelFormatAsFormOption ( )
testLabelFormatId ( )
testLabelFormatName ( )
testLabelFormatOnButton ( )
testLabelFormatOnButtonId ( )
testLabelFormatOverriddenOption ( )
testLabelOnForm ( )
testLabelWithCustomAttributesPassedDirectly ( )
testLabelWithCustomTextAndCustomAttributesPassedDirectly ( )
testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly ( ) https://github.com/symfony/symfony/issues/5029
testLabelWithCustomTextPassedAsOption ( )
testLabelWithCustomTextPassedAsOptionAndDirectly ( )
testLabelWithCustomTextPassedDirectly ( )
testLabelWithoutTranslation ( )
testLabelWithoutTranslationOnButton ( )
testLanguage ( )
testLocale ( )
testMoney ( )
testMultipleChoice ( )
testMultipleChoiceAttributes ( )
testMultipleChoiceExpanded ( )
testMultipleChoiceExpandedAttributes ( )
testMultipleChoiceExpandedWithoutTranslation ( )
testMultipleChoiceNonRequired ( )
testMultipleChoiceSkipsPlaceholder ( )
testNumber ( )
testOverrideWidgetBlock ( )
testPassword ( )
testPasswordSubmittedWithNotAlwaysEmpty ( )
testPasswordWithMaxLength ( )
testPercent ( )
testRadioWithValue ( )
testRange ( )
testRangeWithMinMaxValues ( )
testReset ( )
testSearch ( )
testSelectWithSizeBiggerThanOneCanBeRequired ( )
testSingleChoice ( )
testSingleChoiceAttributes ( )
testSingleChoiceAttributesWithMainAttributes ( )
testSingleChoiceExpanded ( )
testSingleChoiceExpandedAttributes ( )
testSingleChoiceExpandedWithBooleanValue ( )
testSingleChoiceExpandedWithPlaceholder ( )
testSingleChoiceExpandedWithPlaceholderWithoutTranslation ( )
testSingleChoiceExpandedWithoutTranslation ( )
testSingleChoiceGrouped ( )
testSingleChoiceNonRequired ( )
testSingleChoiceNonRequiredNoneSelected ( )
testSingleChoiceNonRequiredWithPlaceholder ( )
testSingleChoiceRequiredWithPlaceholder ( )
testSingleChoiceRequiredWithPlaceholderViaView ( )
testSingleChoiceWithPlaceholderWithoutTranslation ( )
testSingleChoiceWithPreferred ( )
testSingleChoiceWithPreferredAndBlankSeparator ( )
testSingleChoiceWithPreferredAndNoSeparator ( )
testSingleChoiceWithoutTranslation ( )
testSingleExpandedChoiceAttributesWithMainAttributes ( )
testStartTag ( )
testStartTagForMultipartForm ( )
testStartTagForPutRequest ( )
testStartTagWithExtraAttributes ( )
testStartTagWithOverriddenVars ( )
testSubmit ( )
testText ( )
testTextWithMaxLength ( )
testTextarea ( )
testTextareaWithWhitespaceOnlyContentRetainsValue ( )
testTextareaWithWhitespaceOnlyContentRetainsValueWhenRenderingForm ( )
testTime ( )
testTimeErrorBubbling ( )
testTimeSingleText ( )
testTimeText ( )
testTimeWithPlaceholderGlobal ( )
testTimeWithPlaceholderOnYear ( )
testTimeWithSeconds ( )
testTimezone ( )
testTimezoneWithPlaceholder ( )
testTranslatedAttributes ( )
testUncheckedCheckbox ( )
testUncheckedRadio ( )
testUrl ( )
testWidgetAttributeHiddenIfFalse ( )
testWidgetAttributeNameRepeatedIfTrue ( )
testWidgetAttributes ( )
testWidgetContainerAttributeHiddenIfFalse ( )

Protected Methods

Method Description
assertMatchesXpath ( $html, $expression, $count = 1 )
assertWidgetMatchesXpath ( Symfony\Component\Form\FormView $view, array $vars, $xpath )
assertXpathNodeValue ( DOMElement $element, $expression, $nodeValue )
getExtensions ( )
renderEnd ( Symfony\Component\Form\FormView $view, array $vars = [] )
renderErrors ( Symfony\Component\Form\FormView $view )
renderForm ( Symfony\Component\Form\FormView $view, array $vars = [] )
renderLabel ( Symfony\Component\Form\FormView $view, $label = null, array $vars = [] )
renderRest ( Symfony\Component\Form\FormView $view, array $vars = [] )
renderRow ( Symfony\Component\Form\FormView $view, array $vars = [] )
renderStart ( Symfony\Component\Form\FormView $view, array $vars = [] )
renderWidget ( Symfony\Component\Form\FormView $view, array $vars = [] )
setTheme ( Symfony\Component\Form\FormView $view, array $themes )
setUp ( )
tearDown ( )

Method Details

assertMatchesXpath() protected method

protected assertMatchesXpath ( $html, $expression, $count = 1 )

assertWidgetMatchesXpath() protected method

protected assertWidgetMatchesXpath ( Symfony\Component\Form\FormView $view, array $vars, $xpath )
$view Symfony\Component\Form\FormView
$vars array

assertXpathNodeValue() protected method

protected assertXpathNodeValue ( DOMElement $element, $expression, $nodeValue )
$element DOMElement

getExtensions() protected method

protected getExtensions ( )

renderEnd() abstract protected method

abstract protected renderEnd ( Symfony\Component\Form\FormView $view, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

renderErrors() abstract protected method

abstract protected renderErrors ( Symfony\Component\Form\FormView $view )
$view Symfony\Component\Form\FormView

renderForm() abstract protected method

abstract protected renderForm ( Symfony\Component\Form\FormView $view, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

renderLabel() abstract protected method

abstract protected renderLabel ( Symfony\Component\Form\FormView $view, $label = null, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

renderRest() abstract protected method

abstract protected renderRest ( Symfony\Component\Form\FormView $view, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

renderRow() abstract protected method

abstract protected renderRow ( Symfony\Component\Form\FormView $view, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

renderStart() abstract protected method

abstract protected renderStart ( Symfony\Component\Form\FormView $view, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

renderWidget() abstract protected method

abstract protected renderWidget ( Symfony\Component\Form\FormView $view, array $vars = [] )
$view Symfony\Component\Form\FormView
$vars array

setTheme() abstract protected method

abstract protected setTheme ( Symfony\Component\Form\FormView $view, array $themes )
$view Symfony\Component\Form\FormView
$themes array

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testAttributesNotTranslatedWhenTranslationDomainIsFalse() public method

testBirthDay() public method

public testBirthDay ( )

testBirthDayWithPlaceholder() public method

testButton() public method

public testButton ( )

testButtonAttributeHiddenIfFalse() public method

testButtonAttributeNameRepeatedIfTrue() public method

testButtonAttributes() public method

testButtonLabelIsEmpty() public method

testButtonlabelWithoutTranslation() public method

testCheckboxWithValue() public method

testCheckedCheckbox() public method

public testCheckedCheckbox ( )

testCheckedRadio() public method

public testCheckedRadio ( )

testChoiceWithOnlyPreferred() public method

testCollectionPrototype() public method

testCountry() public method

public testCountry ( )

testCountryWithPlaceholder() public method

testDateChoice() public method

public testDateChoice ( )

testDateChoiceWithPlaceholderGlobal() public method

testDateChoiceWithPlaceholderOnYear() public method

testDateErrorBubbling() public method

testDateSingleText() public method

public testDateSingleText ( )

testDateText() public method

public testDateText ( )

testDateTime() public method

public testDateTime ( )

testDateTimeSingleText() public method

testDateTimeWithHourAndMinute() public method

testDateTimeWithPlaceholderGlobal() public method

testDateTimeWithSeconds() public method

testDateTimeWithWidgetSingleText() public method

testDateTimeWithWidgetSingleTextIgnoreDateAndTimeWidgets() public method

testDisabled() public method

public testDisabled ( )

testEmail() public method

public testEmail ( )

testEmailWithMaxLength() public method

testEmptyRootFormName() public method

testErrors() public method

public testErrors ( )

testFile() public method

public testFile ( )

testHidden() public method

public testHidden ( )

testInteger() public method

public testInteger ( )

testLabel() public method

public testLabel ( )

testLabelDoesNotRenderFieldAttributes() public method

testLabelFormatAsFormOption() public method

testLabelFormatId() public method

public testLabelFormatId ( )

testLabelFormatName() public method

public testLabelFormatName ( )

testLabelFormatOnButton() public method

testLabelFormatOnButtonId() public method

testLabelFormatOverriddenOption() public method

testLabelOnForm() public method

public testLabelOnForm ( )

testLabelWithCustomAttributesPassedDirectly() public method

testLabelWithCustomTextAndCustomAttributesPassedDirectly() public method

testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly() public method

https://github.com/symfony/symfony/issues/5029

testLabelWithCustomTextPassedAsOption() public method

testLabelWithCustomTextPassedAsOptionAndDirectly() public method

testLabelWithCustomTextPassedDirectly() public method

testLabelWithoutTranslation() public method

testLabelWithoutTranslationOnButton() public method

testLanguage() public method

public testLanguage ( )

testLocale() public method

public testLocale ( )

testMoney() public method

public testMoney ( )

testMultipleChoice() public method

public testMultipleChoice ( )

testMultipleChoiceAttributes() public method

testMultipleChoiceExpanded() public method

testMultipleChoiceExpandedAttributes() public method

testMultipleChoiceExpandedWithoutTranslation() public method

testMultipleChoiceNonRequired() public method

testMultipleChoiceSkipsPlaceholder() public method

testNumber() public method

public testNumber ( )

testOverrideWidgetBlock() public method

testPassword() public method

public testPassword ( )

testPasswordSubmittedWithNotAlwaysEmpty() public method

testPasswordWithMaxLength() public method

testPercent() public method

public testPercent ( )

testRadioWithValue() public method

public testRadioWithValue ( )

testRange() public method

public testRange ( )

testRangeWithMinMaxValues() public method

testReset() public method

public testReset ( )

testSearch() public method

public testSearch ( )

testSelectWithSizeBiggerThanOneCanBeRequired() public method

testSingleChoice() public method

public testSingleChoice ( )

testSingleChoiceAttributes() public method

testSingleChoiceAttributesWithMainAttributes() public method

testSingleChoiceExpanded() public method

testSingleChoiceExpandedAttributes() public method

testSingleChoiceExpandedWithBooleanValue() public method

testSingleChoiceExpandedWithPlaceholder() public method

testSingleChoiceExpandedWithPlaceholderWithoutTranslation() public method

testSingleChoiceExpandedWithoutTranslation() public method

testSingleChoiceGrouped() public method

testSingleChoiceNonRequired() public method

testSingleChoiceNonRequiredNoneSelected() public method

testSingleChoiceNonRequiredWithPlaceholder() public method

testSingleChoiceRequiredWithPlaceholder() public method

testSingleChoiceRequiredWithPlaceholderViaView() public method

testSingleChoiceWithPlaceholderWithoutTranslation() public method

testSingleChoiceWithPreferred() public method

testSingleChoiceWithPreferredAndBlankSeparator() public method

testSingleChoiceWithPreferredAndNoSeparator() public method

testSingleChoiceWithoutTranslation() public method

testSingleExpandedChoiceAttributesWithMainAttributes() public method

testStartTag() public method

public testStartTag ( )

testStartTagForMultipartForm() public method

testStartTagForPutRequest() public method

testStartTagWithExtraAttributes() public method

testStartTagWithOverriddenVars() public method

testSubmit() public method

public testSubmit ( )

testText() public method

public testText ( )

testTextWithMaxLength() public method

testTextarea() public method

public testTextarea ( )

testTextareaWithWhitespaceOnlyContentRetainsValue() public method

testTextareaWithWhitespaceOnlyContentRetainsValueWhenRenderingForm() public method

testTime() public method

public testTime ( )

testTimeErrorBubbling() public method

testTimeSingleText() public method

public testTimeSingleText ( )

testTimeText() public method

public testTimeText ( )

testTimeWithPlaceholderGlobal() public method

testTimeWithPlaceholderOnYear() public method

testTimeWithSeconds() public method

public testTimeWithSeconds ( )

testTimezone() public method

public testTimezone ( )

testTimezoneWithPlaceholder() public method

testTranslatedAttributes() public method

testUncheckedCheckbox() public method

testUncheckedRadio() public method

public testUncheckedRadio ( )

testUrl() public method

public testUrl ( )

testWidgetAttributeHiddenIfFalse() public method

testWidgetAttributeNameRepeatedIfTrue() public method

testWidgetAttributes() public method

testWidgetContainerAttributeHiddenIfFalse() public method

Property Details

$csrfTokenManager protected property

protected $csrfTokenManager

$testableFeatures protected property

protected $testableFeatures