PHP Класс Negotiation\Tests\CharsetNegotiatorTest

Наследование: extends Negotiation\Tests\TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
dataProviderForTestGetBest ( )
dataProviderForTestParseHeader ( )
testGetBest ( $accept, $priorities, $expected )
testGetBestDoesNotMatchPriorities ( )
testGetBestIgnoresNonExistentContent ( ) 'bu' has the highest quality rating, but is non-existent, so we expect the next highest rated 'fr' content to be returned.
testGetBestRespectsPriorities ( )
testGetBestRespectsQualityOfSource ( )
testGetBestReturnsNullWithUnmatchedHeader ( )
testParseHeader ( $header, $expected )

Защищенные методы

Метод Описание
setUp ( )

Описание методов

dataProviderForTestGetBest() публичный статический Метод

public static dataProviderForTestGetBest ( )

dataProviderForTestParseHeader() публичный статический Метод

public static dataProviderForTestParseHeader ( )

setUp() защищенный Метод

protected setUp ( )

testGetBest() публичный Метод

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

testGetBestDoesNotMatchPriorities() публичный Метод

testGetBestIgnoresNonExistentContent() публичный Метод

See: http://svn.apache.org/repos/asf/httpd/test/framework/trunk/t/modules/negotiation.t

testGetBestRespectsPriorities() публичный Метод

testGetBestRespectsQualityOfSource() публичный Метод

testGetBestReturnsNullWithUnmatchedHeader() публичный Метод

testParseHeader() публичный Метод

public testParseHeader ( $header, $expected )