PHP Class Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest

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

Public Methods

Method Description
testCreateTableTwice ( )
testGetConnection ( )
testGetConnectionConnectsIfNeeded ( )
testInexistentTable ( )
testReadConvertsStreamToString ( )
testReadLockedConvertsStreamToString ( )
testReadWriteReadWithNullByte ( )
testReadingRequiresExactlySameId ( )
testSessionDestroy ( )
testSessionGC ( )
testWithLazyDsnConnection ( )
testWithLazySavePathConnection ( )
testWriteDifferentSessionIdThanRead ( ) Simulates session_regenerate_id(true) which will require an INSERT or UPDATE (replace).
testWrongPdoErrMode ( )
testWrongUsageStillWorks ( )

Protected Methods

Method Description
getMemorySqlitePdo ( )
getPersistentSqliteDsn ( )
tearDown ( )

Private Methods

Method Description
createStream ( $content )

Method Details

getMemorySqlitePdo() protected method

protected getMemorySqlitePdo ( )

getPersistentSqliteDsn() protected method

protected getPersistentSqliteDsn ( )

tearDown() protected method

protected tearDown ( )

testCreateTableTwice() public method

testGetConnection() public method

public testGetConnection ( )

testGetConnectionConnectsIfNeeded() public method

testInexistentTable() public method

public testInexistentTable ( )

testReadConvertsStreamToString() public method

testReadLockedConvertsStreamToString() public method

testReadWriteReadWithNullByte() public method

testReadingRequiresExactlySameId() public method

testSessionDestroy() public method

public testSessionDestroy ( )

testSessionGC() public method

public testSessionGC ( )

testWithLazyDsnConnection() public method

testWithLazySavePathConnection() public method

testWriteDifferentSessionIdThanRead() public method

Simulates session_regenerate_id(true) which will require an INSERT or UPDATE (replace).

testWrongPdoErrMode() public method

public testWrongPdoErrMode ( )

testWrongUsageStillWorks() public method