PHP Class Neos\Flow\Tests\Unit\I18n\Cldr\Reader\NumbersReaderTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$sampleLocale Neos\Flow\I18n\Locale Dummy locale used in methods where locale is needed.
$templateFormat array A template array of parsed format. Used as a base in order to not repeat same fields everywhere.

Méthodes publiques

Méthode Description
formatIsCorrectlyReadFromCldr ( )
formatStringsAndParsedFormats ( ) : array Data provider with valid format strings and expected results.
formatStringsAreParsedCorrectly ( $format, array $expectedResult )
setUp ( ) : void
throwsExceptionWhenUnsupportedFormatsEncountered ( $format )
unsupportedFormats ( ) : array Data provider with formats not supported by current implementation of NumbersReader.

Method Details

formatIsCorrectlyReadFromCldr() public méthode

formatStringsAndParsedFormats() public méthode

Data provider with valid format strings and expected results.
public formatStringsAndParsedFormats ( ) : array
Résultat array

formatStringsAreParsedCorrectly() public méthode

public formatStringsAreParsedCorrectly ( $format, array $expectedResult )
$expectedResult array

setUp() public méthode

public setUp ( ) : void
Résultat void

throwsExceptionWhenUnsupportedFormatsEncountered() public méthode

unsupportedFormats() public méthode

Data provider with formats not supported by current implementation of NumbersReader.
public unsupportedFormats ( ) : array
Résultat array

Property Details

$sampleLocale protected_oe property

Dummy locale used in methods where locale is needed.
protected Locale,Neos\Flow\I18n $sampleLocale
Résultat Neos\Flow\I18n\Locale

$templateFormat protected_oe property

A template array of parsed format. Used as a base in order to not repeat same fields everywhere.
protected array $templateFormat
Résultat array