PHP Class Negotiation\Tests\LanguageNegotiatorTest

Inheritance: extends Negotiation\Tests\TestCase
Afficher le fichier Open project: willdurand/negotiation

Méthodes publiques

Méthode Description
dataProviderForTestGetBest ( )
dataProviderForTestParseHeader ( )
testGetBest ( $accept, $priorities, $expected )
testGetBestRespectsQualityOfSource ( )
testParseHeader ( $header, $expected )

Méthodes protégées

Méthode Description
setUp ( )

Method Details

dataProviderForTestGetBest() public static méthode

public static dataProviderForTestGetBest ( )

dataProviderForTestParseHeader() public static méthode

public static dataProviderForTestParseHeader ( )

setUp() protected méthode

protected setUp ( )

testGetBest() public méthode

public testGetBest ( $accept, $priorities, $expected )

testGetBestRespectsQualityOfSource() public méthode

testParseHeader() public méthode

public testParseHeader ( $header, $expected )