PHP Класс Neos\Flow\Tests\Unit\I18n\Cldr\Reader\NumbersReaderTest

Наследование: extends Neos\Flow\Tests\UnitTestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
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.

Описание методов

formatIsCorrectlyReadFromCldr() публичный Метод

formatStringsAndParsedFormats() публичный Метод

Data provider with valid format strings and expected results.
public formatStringsAndParsedFormats ( ) : array
Результат array

formatStringsAreParsedCorrectly() публичный Метод

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

setUp() публичный Метод

public setUp ( ) : void
Результат void

throwsExceptionWhenUnsupportedFormatsEncountered() публичный Метод

unsupportedFormats() публичный Метод

Data provider with formats not supported by current implementation of NumbersReader.
public unsupportedFormats ( ) : array
Результат array

Описание свойств

$sampleLocale защищенное свойство

Dummy locale used in methods where locale is needed.
protected Locale,Neos\Flow\I18n $sampleLocale
Результат Neos\Flow\I18n\Locale

$templateFormat защищенное свойство

A template array of parsed format. Used as a base in order to not repeat same fields everywhere.
protected array $templateFormat
Результат array