PHP Class Captioning\Format\WebvttFileTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: captioning/captioning

Méthodes publiques

Méthode Description
parseExceptionProvider ( ) : array
parseProvider ( ) : array
testAddingCuesBothWays ( )
testIfAFileIsParsedProperly ( )
testIfWeGetTheFirstCue ( )
testIfWeGetTheLastCue ( )
testParse ( string $vtt )
testParseException ( string $vtt, array $errors )
testRegions ( )
testRegionsEmpty ( )

Méthodes protégées

Méthode Description
setUp ( )

Private Methods

Méthode Description
getWebvttFile ( string $filename, string $encoding = null, boolean $useIconv = false ) : WebvttFile

Method Details

parseExceptionProvider() public méthode

public parseExceptionProvider ( ) : array
Résultat array

parseProvider() public méthode

public parseProvider ( ) : array
Résultat array

setUp() protected méthode

protected setUp ( )

testAddingCuesBothWays() public méthode

testIfAFileIsParsedProperly() public méthode

testIfWeGetTheFirstCue() public méthode

testIfWeGetTheLastCue() public méthode

testParse() public méthode

public testParse ( string $vtt )
$vtt string

testParseException() public méthode

public testParseException ( string $vtt, array $errors )
$vtt string
$errors array

testRegions() public méthode

public testRegions ( )

testRegionsEmpty() public méthode

public testRegionsEmpty ( )