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

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.

Méthodes publiques

Méthode Description
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

Method Details

createCacheExpectations() public méthode

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
Résultat array

dateTimeFormatIsParsedCorrectly() public méthode

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, $expectedResult )

localizedLiteralsAreCorrectlyReadFromCldr() public méthode

setUp() public méthode

public setUp ( ) : void
Résultat void

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