\tests\thinkphp\library\think\cache\driverfileTest

Summary

Methods
Properties
Constants
prepare()
testSet()
testInc()
testDec()
testGet()
testExists()
testGetNonExistent()
testStoreSpecialValues()
testExpire()
testDelete()
testPull()
testClear()
testStaticCall()
No public properties found
No constants found
getCacheInstance()
tearDown()
setUp()
No protected properties found
N/A
No private methods found
$_cacheInstance
N/A

Properties

$_cacheInstance

$_cacheInstance

Methods

prepare()

prepare() : mixed

设定一组测试值,包括测试字符串、整数、数组和对象

Returns

mixed —

testSet()

testSet() : mixed

测试缓存设置,包括测试字符串、整数、数组和对象

Returns

mixed —

testInc()

testInc() : mixed

测试缓存自增

Returns

mixed —

testDec()

testDec() : mixed

测试缓存自减

Returns

mixed —

testGet()

testGet() : mixed

测试缓存读取,包括测试字符串、整数、数组和对象

Returns

mixed —

testExists()

testExists() : mixed

测试缓存存在情况,包括测试字符串、整数、数组和对象

Returns

mixed —

testGetNonExistent()

testGetNonExistent() : mixed

测试缓存不存在情况,包括测试字符串、整数、数组和对象

Returns

mixed —

testStoreSpecialValues()

testStoreSpecialValues() : mixed

测试特殊值缓存,包括测试字符串、整数、数组和对象

Returns

mixed —

testExpire()

testExpire() : mixed

缓存过期测试

Returns

mixed —

testDelete()

testDelete() : mixed

删除缓存测试

Returns

mixed —

testPull()

testPull() : mixed

获取并删除缓存测试

Returns

mixed —

testClear()

testClear() : mixed

清空缓存测试

Returns

mixed —

testStaticCall()

testStaticCall() : mixed

Returns

mixed —

getCacheInstance()

getCacheInstance() : \tests\thinkphp\library\think\cache\driver\FileCache

获取缓存句柄,子类必须有

Returns

\tests\thinkphp\library\think\cache\driver\FileCache —

tearDown()

tearDown() : mixed

tearDown函数

Returns

mixed —

setUp()

setUp() : mixed

基境缓存类型

Returns

mixed —