PHP Class Symfony\Component\HttpFoundation\Tests\ResponseHeaderBagTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
provideAllPreserveCase ( )
provideMakeDisposition ( )
provideMakeDispositionFail ( )
testAllPreserveCase ( $headers, $expected )
testCacheControlClone ( )
testCacheControlHeader ( )
testClearCookieSecureNotHttpOnly ( )
testCookiesWithSameNames ( )
testGetCookiesWithInvalidArgument ( )
testMakeDisposition ( $disposition, $filename, $filenameFallback, $expected )
testMakeDispositionFail ( $disposition, $filename )
testMakeDispositionInvalidDisposition ( )
testRemoveCookie ( )
testRemoveCookieWithNullRemove ( )
testReplace ( )
testReplaceWithRemove ( )
testSetCookieHeader ( )
testToStringDoesntMessUpHeaders ( )
testToStringIncludesCookieHeaders ( )

Protected Methods

Method Description
assertSetCookieHeader ( $expected, ResponseHeaderBag $actual )

Method Details

assertSetCookieHeader() protected method

protected assertSetCookieHeader ( $expected, ResponseHeaderBag $actual )
$actual Symfony\Component\HttpFoundation\ResponseHeaderBag

provideAllPreserveCase() public method

provideMakeDisposition() public method

provideMakeDispositionFail() public method

testAllPreserveCase() public method

public testAllPreserveCase ( $headers, $expected )

testCacheControlClone() public method

testCacheControlHeader() public method

testClearCookieSecureNotHttpOnly() public method

testCookiesWithSameNames() public method

testGetCookiesWithInvalidArgument() public method

testMakeDisposition() public method

public testMakeDisposition ( $disposition, $filename, $filenameFallback, $expected )

testMakeDispositionFail() public method

public testMakeDispositionFail ( $disposition, $filename )

testMakeDispositionInvalidDisposition() public method

testRemoveCookie() public method

public testRemoveCookie ( )

testRemoveCookieWithNullRemove() public method

testReplace() public method

public testReplace ( )

testReplaceWithRemove() public method

testSetCookieHeader() public method

public testSetCookieHeader ( )

testToStringDoesntMessUpHeaders() public method

testToStringIncludesCookieHeaders() public method