PHP Class Negotiation\Tests\EncodingNegotiatorTest

Inheritance: extends Negotiation\Tests\TestCase
Datei anzeigen Open project: willdurand/negotiation

Public Methods

Method Description
dataProviderForTestGetBest ( )
dataProviderForTestParseAcceptHeader ( )
testGetBest ( $accept, $priorities, $expected )
testGetBestRespectsQualityOfSource ( )
testGetBestReturnsNullWithUnmatchedHeader ( )
testParseAcceptHeader ( $header, $expected )

Protected Methods

Method Description
setUp ( )

Method Details

dataProviderForTestGetBest() public static method

public static dataProviderForTestGetBest ( )

dataProviderForTestParseAcceptHeader() public static method

setUp() protected method

protected setUp ( )

testGetBest() public method

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

testGetBestRespectsQualityOfSource() public method

testGetBestReturnsNullWithUnmatchedHeader() public method

testParseAcceptHeader() public method

public testParseAcceptHeader ( $header, $expected )