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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$sampleLocale Neos\Flow\I18n\Locale Dummy locale used in methods where locale is needed.

공개 메소드들

메소드 설명
createCacheExpectations ( PHPUnit_Framework_MockObject_MockObject $mockCache ) : array Setting cache expectations is partially same for many tests, so it's been extracted to this method.
dateTimeFormatIsParsedCorrectly ( )
formatIsCorrectlyReadFromCldr ( )
formatStringsAndParsedFormats ( ) : array Data provider with valid format strings and expected results.
formatStringsAreParsedCorrectly ( $format, $expectedResult )
localizedLiteralsAreCorrectlyReadFromCldr ( )
setUp ( ) : void

메소드 상세

createCacheExpectations() 공개 메소드

Setting cache expectations is partially same for many tests, so it's been extracted to this method.
public createCacheExpectations ( PHPUnit_Framework_MockObject_MockObject $mockCache ) : array
$mockCache PHPUnit_Framework_MockObject_MockObject
리턴 array

dateTimeFormatIsParsedCorrectly() 공개 메소드

formatIsCorrectlyReadFromCldr() 공개 메소드

formatStringsAndParsedFormats() 공개 메소드

Data provider with valid format strings and expected results.

formatStringsAreParsedCorrectly() 공개 메소드

public formatStringsAreParsedCorrectly ( $format, $expectedResult )

localizedLiteralsAreCorrectlyReadFromCldr() 공개 메소드

setUp() 공개 메소드

public setUp ( ) : void
리턴 void

프로퍼티 상세

$sampleLocale 보호되어 있는 프로퍼티

Dummy locale used in methods where locale is needed.
protected Locale,Neos\Flow\I18n $sampleLocale
리턴 Neos\Flow\I18n\Locale