PHP Class Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Form\SelectViewHelperTest

Inheritance: extends Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Form\FormFieldViewHelperBaseTestcase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$viewHelper Neos\FluidAdaptor\ViewHelpers\Form\SelectViewHelper

Méthodes publiques

Méthode Description
allOptionsAreSelectedIfSelectAllIsTrue ( )
anEmptyOptionTagIsRenderedIfOptionsArrayIsEmptyToAssureXhtmlCompatibility ( )
getTranslatedLabelDataProvider ( )
getTranslatedLabelTests ( string $by, string $using, string $translatedId, string $translatedLabel, string $expectedResult )
getTranslatedLabelThrowsExceptionForInvalidLocales ( )
getTranslatedLabelThrowsExceptionForUnknownTranslateBy ( )
multipleSelectCreatesExpectedOptions ( )
multipleSelectCreatesExpectedOptionsInObjectAccessorMode ( )
multipleSelectOnDomainObjectsCreatesExpectedOptions ( )
multipleSelectOnDomainObjectsCreatesExpectedOptionsWithoutOptionValueField ( )
optionsAreSortedByLabelIfSortByOptionLabelIsSet ( )
optionsContainPrependedItemWithCorrectValueIfPrependOptionLabelAndPrependOptionValueAreSet ( )
optionsContainPrependedItemWithEmptyValueIfPrependOptionLabelIsSet ( )
orderOfOptionsIsNotAlteredByDefault ( )
prependedOptionLabelIsTranslatedIfTranslateArgumentIsSet ( )
renderCallsSetErrorClassAttribute ( )
selectAllHasNoEffectIfValueIsSet ( )
selectCorrectlySetsTagName ( )
selectCreatesExpectedOptions ( )
selectOnDomainObjectsCreatesExpectedOptions ( )
selectOnDomainObjectsThrowsExceptionIfNoValueCanBeFound ( )
selectWithoutFurtherConfigurationOnDomainObjectsUsesToStringForLabelIfAvailable ( )
selectWithoutFurtherConfigurationOnDomainObjectsUsesUuidForValueAndLabel ( )
setUp ( )
translateByIdAskForTranslationOfValueById ( )
translateByIdUsingLabelUsesLabel ( )
translateByLabelAskForTranslationOfLabelByLabel ( )
translateByLabelUsingValueUsesValue ( )
translateLabelIsCalledIfTranslateArgumentIsGiven ( )
translateOptionsAreObserved ( )

Method Details

allOptionsAreSelectedIfSelectAllIsTrue() public méthode

anEmptyOptionTagIsRenderedIfOptionsArrayIsEmptyToAssureXhtmlCompatibility() public méthode

getTranslatedLabelDataProvider() public méthode

getTranslatedLabelTests() public méthode

public getTranslatedLabelTests ( string $by, string $using, string $translatedId, string $translatedLabel, string $expectedResult )
$by string
$using string
$translatedId string
$translatedLabel string
$expectedResult string

getTranslatedLabelThrowsExceptionForInvalidLocales() public méthode

getTranslatedLabelThrowsExceptionForUnknownTranslateBy() public méthode

multipleSelectCreatesExpectedOptions() public méthode

multipleSelectCreatesExpectedOptionsInObjectAccessorMode() public méthode

multipleSelectOnDomainObjectsCreatesExpectedOptions() public méthode

multipleSelectOnDomainObjectsCreatesExpectedOptionsWithoutOptionValueField() public méthode

optionsAreSortedByLabelIfSortByOptionLabelIsSet() public méthode

optionsContainPrependedItemWithCorrectValueIfPrependOptionLabelAndPrependOptionValueAreSet() public méthode

optionsContainPrependedItemWithEmptyValueIfPrependOptionLabelIsSet() public méthode

orderOfOptionsIsNotAlteredByDefault() public méthode

prependedOptionLabelIsTranslatedIfTranslateArgumentIsSet() public méthode

renderCallsSetErrorClassAttribute() public méthode

selectAllHasNoEffectIfValueIsSet() public méthode

selectCorrectlySetsTagName() public méthode

selectCreatesExpectedOptions() public méthode

selectOnDomainObjectsCreatesExpectedOptions() public méthode

selectOnDomainObjectsThrowsExceptionIfNoValueCanBeFound() public méthode

selectWithoutFurtherConfigurationOnDomainObjectsUsesToStringForLabelIfAvailable() public méthode

selectWithoutFurtherConfigurationOnDomainObjectsUsesUuidForValueAndLabel() public méthode

setUp() public méthode

public setUp ( )

translateByIdAskForTranslationOfValueById() public méthode

translateByIdUsingLabelUsesLabel() public méthode

translateByLabelAskForTranslationOfLabelByLabel() public méthode

translateByLabelUsingValueUsesValue() public méthode

translateLabelIsCalledIfTranslateArgumentIsGiven() public méthode

translateOptionsAreObserved() public méthode

Property Details

$viewHelper protected_oe property

protected SelectViewHelper,Neos\FluidAdaptor\ViewHelpers\Form $viewHelper
Résultat Neos\FluidAdaptor\ViewHelpers\Form\SelectViewHelper