TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SelectViewHelperTest Class Reference
Inheritance diagram for SelectViewHelperTest:
FormFieldViewHelperBaseTestcase ViewHelperBaseTestcase

Public Member Functions

 selectCorrectlySetsTagName ()
 
 selectCreatesExpectedOptions ()
 
 selectCreatesExpectedOptionsWithArraysAndOptionValueFieldAndOptionLabelFieldSet ()
 
 selectCreatesExpectedOptionsWithStdClassesAndOptionValueFieldAndOptionLabelFieldSet ()
 
 selectCreatesExpectedOptionsWithArrayObjectsAndOptionValueFieldAndOptionLabelFieldSet ()
 
 anEmptyOptionTagIsRenderedIfOptionsArrayIsEmptyToAssureXhtmlCompatibility ()
 
 OrderOfOptionsIsNotAlteredByDefault ()
 
 optionsAreSortedByLabelIfSortByOptionLabelIsSet ()
 
 optionsAreSortedByLabelIfSortByOptionLabelIsSetAndLocaleEqualsUtf8 ()
 
 multipleSelectCreatesExpectedOptions ()
 
 selectOnDomainObjectsCreatesExpectedOptions ()
 
 multipleSelectOnDomainObjectsCreatesExpectedOptions ()
 
 selectWithoutFurtherConfigurationOnDomainObjectsUsesUuidForValueAndLabel ()
 
 selectWithoutFurtherConfigurationOnDomainObjectsUsesToStringForLabelIfAvailable ()
 
 selectOnDomainObjectsThrowsExceptionIfNoValueCanBeFound ()
 
 renderCallsSetErrorClassAttribute ()
 
 allOptionsAreSelectedIfSelectAllIsTrue ()
 
 selectAllHasNoEffectIfValueIsSet ()
 
 optionsContainPrependedItemWithEmptyValueIfPrependOptionLabelIsSet ()
 
 optionsContainPrependedItemWithCorrectValueIfPrependOptionLabelAndPrependOptionValueAreSet ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from FormFieldViewHelperBaseTestcase
 setUp ()
 
 injectDependenciesIntoViewHelper (\TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper $viewHelper)
 
- Protected Member Functions inherited from ViewHelperBaseTestcase
 setUp ()
 
 injectDependenciesIntoViewHelper (\TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper $viewHelper)
 

Protected Attributes

 $viewHelper
 
 $backupLocales = array()
 
- Protected Attributes inherited from FormFieldViewHelperBaseTestcase
 $mockConfigurationManager
 
- Protected Attributes inherited from ViewHelperBaseTestcase
 $viewHelperVariableContainer
 
 $templateVariableContainer
 
 $uriBuilder
 
 $controllerContext
 
 $tagBuilder
 
 $arguments
 
 $request
 
 $renderingContext
 
 $mvcPropertyMapperConfigurationService
 

Detailed Description

Test for the "Select" Form view helper

Definition at line 17 of file SelectViewHelperTest.php.

Member Function Documentation

allOptionsAreSelectedIfSelectAllIsTrue ( )
anEmptyOptionTagIsRenderedIfOptionsArrayIsEmptyToAssureXhtmlCompatibility ( )
multipleSelectCreatesExpectedOptions ( )
multipleSelectOnDomainObjectsCreatesExpectedOptions ( )
optionsAreSortedByLabelIfSortByOptionLabelIsSet ( )
optionsAreSortedByLabelIfSortByOptionLabelIsSetAndLocaleEqualsUtf8 ( )
optionsContainPrependedItemWithCorrectValueIfPrependOptionLabelAndPrependOptionValueAreSet ( )
optionsContainPrependedItemWithEmptyValueIfPrependOptionLabelIsSet ( )
OrderOfOptionsIsNotAlteredByDefault ( )
renderCallsSetErrorClassAttribute ( )
selectAllHasNoEffectIfValueIsSet ( )
selectCorrectlySetsTagName ( )
selectCreatesExpectedOptions ( )
selectCreatesExpectedOptionsWithArrayObjectsAndOptionValueFieldAndOptionLabelFieldSet ( )
selectCreatesExpectedOptionsWithArraysAndOptionValueFieldAndOptionLabelFieldSet ( )
selectCreatesExpectedOptionsWithStdClassesAndOptionValueFieldAndOptionLabelFieldSet ( )
selectOnDomainObjectsCreatesExpectedOptions ( )
selectOnDomainObjectsThrowsExceptionIfNoValueCanBeFound ( )
selectWithoutFurtherConfigurationOnDomainObjectsUsesToStringForLabelIfAvailable ( )
selectWithoutFurtherConfigurationOnDomainObjectsUsesUuidForValueAndLabel ( )
setUp ( )
protected

Definition at line 29 of file SelectViewHelperTest.php.

tearDown ( )
protected

Definition at line 44 of file SelectViewHelperTest.php.

Member Data Documentation

$backupLocales = array()
protected

Definition at line 27 of file SelectViewHelperTest.php.

$viewHelper
protected

Definition at line 22 of file SelectViewHelperTest.php.