PHP 클래스 Neos\Flow\Tests\Unit\I18n\Cldr\Reader\NumbersReaderTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

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