PHP 클래스 Negotiation\Tests\NegotiatorTest

저자: William Durand ([email protected])
상속: extends Negotiation\Tests\TestCase
파일 보기 프로젝트 열기: willdurand/negotiation

공개 메소드들

메소드 설명
dataProviderForTestFindMatches ( )
dataProviderForTestGetBest ( )
dataProviderForTestParseHeader ( )
testFindMatches ( $headerParts, $priorities, $expected )
testGetBest ( $header, $priorities, $expected )
testGetBestInvalidMediaType ( )
testGetBestRespectsQualityOfSource ( )
testParseHeader ( $header, $expected )

보호된 메소드들

메소드 설명
setUp ( )

메소드 상세

dataProviderForTestFindMatches() 공개 정적인 메소드

public static dataProviderForTestFindMatches ( )

dataProviderForTestGetBest() 공개 정적인 메소드

public static dataProviderForTestGetBest ( )

dataProviderForTestParseHeader() 공개 정적인 메소드

public static dataProviderForTestParseHeader ( )

setUp() 보호된 메소드

protected setUp ( )

testFindMatches() 공개 메소드

public testFindMatches ( $headerParts, $priorities, $expected )

testGetBest() 공개 메소드

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

testGetBestInvalidMediaType() 공개 메소드

testGetBestRespectsQualityOfSource() 공개 메소드

testParseHeader() 공개 메소드

public testParseHeader ( $header, $expected )