PHP Class lithium\tests\cases\storage\cache\adapter\FileTest

Inheritance: extends lithium\test\Unit
Datei anzeigen Open project: unionofrad/lithium

Protected Properties

Property Type Description
$_hasEmpty string Checks whether the 'empty' file exists in resources/tmp/cache and, if so, ensures that it is restored at the end of the testing cycle.

Public Methods

Method Description
setUp ( )
skip ( ) Skip the test if the default File adapter read/write path is not read/write-able.
tearDown ( )
testClean ( )
testClear ( )
testDecrement ( )
testDecrementNotExistent ( )
testDecrementWithScope ( )
testDelete ( )
testDeleteWithScope ( )
testEnabled ( )
testExpiredRead ( )
testIncrement ( )
testIncrementNotExistent ( )
testIncrementWithScope ( )
testRead ( )
testReadKeyThatDoesNotExist ( )
testReadMulti ( )
testReadWithScope ( )
testWrite ( )
testWriteAndReadNull ( )
testWriteAndReadNullMulti ( )
testWriteExpiryDefault ( )
testWriteExpiryExpires ( )
testWriteExpiryTtl ( )
testWriteMulti ( )
testWriteNoExpiry ( )
testWriteWithScope ( )

Method Details

setUp() public method

public setUp ( )

skip() public method

Skip the test if the default File adapter read/write path is not read/write-able.
public skip ( )

tearDown() public method

public tearDown ( )

testClean() public method

public testClean ( )

testClear() public method

public testClear ( )

testDecrement() public method

public testDecrement ( )

testDecrementNotExistent() public method

testDecrementWithScope() public method

testDelete() public method

public testDelete ( )

testDeleteWithScope() public method

public testDeleteWithScope ( )

testEnabled() public method

public testEnabled ( )

testExpiredRead() public method

public testExpiredRead ( )

testIncrement() public method

public testIncrement ( )

testIncrementNotExistent() public method

testIncrementWithScope() public method

testRead() public method

public testRead ( )

testReadKeyThatDoesNotExist() public method

testReadMulti() public method

public testReadMulti ( )

testReadWithScope() public method

public testReadWithScope ( )

testWrite() public method

public testWrite ( )

testWriteAndReadNull() public method

testWriteAndReadNullMulti() public method

testWriteExpiryDefault() public method

testWriteExpiryExpires() public method

testWriteExpiryTtl() public method

public testWriteExpiryTtl ( )

testWriteMulti() public method

public testWriteMulti ( )

testWriteNoExpiry() public method

public testWriteNoExpiry ( )

testWriteWithScope() public method

public testWriteWithScope ( )

Property Details

$_hasEmpty protected_oe property

Checks whether the 'empty' file exists in resources/tmp/cache and, if so, ensures that it is restored at the end of the testing cycle.
protected string $_hasEmpty
return string