PHP Class Symfony\Component\HttpFoundation\Tests\CookieTest

Author: John Kary ([email protected])
Author: Hugo Hamon ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
invalidNames ( )
testConstructorWithDateTime ( )
testConstructorWithDateTimeImmutable ( )
testCookieIsCleared ( )
testCookieIsNotCleared ( )
testFromString ( )
testGetDomain ( )
testGetExpiresTime ( )
testGetExpiresTimeWithStringValue ( )
testGetMaxAge ( )
testGetPath ( )
testGetValue ( )
testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters ( $name )
testInvalidExpiration ( )
testIsHttpOnly ( )
testIsSecure ( )
testRawCookie ( )
testToString ( )

Method Details

invalidNames() public method

public invalidNames ( )

testConstructorWithDateTime() public method

testConstructorWithDateTimeImmutable() public method

testCookieIsCleared() public method

public testCookieIsCleared ( )

testCookieIsNotCleared() public method

testFromString() public method

public testFromString ( )

testGetDomain() public method

public testGetDomain ( )

testGetExpiresTime() public method

public testGetExpiresTime ( )

testGetExpiresTimeWithStringValue() public method

testGetMaxAge() public method

public testGetMaxAge ( )

testGetPath() public method

public testGetPath ( )

testGetValue() public method

public testGetValue ( )

testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters() public method

testInvalidExpiration() public method

testIsHttpOnly() public method

public testIsHttpOnly ( )

testIsSecure() public method

public testIsSecure ( )

testRawCookie() public method

public testRawCookie ( )

testToString() public method

public testToString ( )