PHP Class PhlyTest\Http\HeaderSecurityTest

Tests are largely derived from those for Zend\Http\Header\HeaderValue in Zend Framework, released with the copyright and license below.
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phly/http

Méthodes publiques

Méthode Description
assertValues ( )
getFilterValues ( ) Data for filter value
testAssertValidRaisesExceptionForInvalidValue ( $value )
testFiltersValuesPerRfc7230 ( $value, $expected )
testValidatesValuesPerRfc7230 ( $value, $assertion )
validateValues ( )

Method Details

assertValues() public méthode

public assertValues ( )

getFilterValues() public méthode

Data for filter value
public getFilterValues ( )

testAssertValidRaisesExceptionForInvalidValue() public méthode

testFiltersValuesPerRfc7230() public méthode

public testFiltersValuesPerRfc7230 ( $value, $expected )

testValidatesValuesPerRfc7230() public méthode

public testValidatesValuesPerRfc7230 ( $value, $assertion )

validateValues() public méthode

public validateValues ( )