PHP Class Angejia\Pea\ModelTest

Inheritance: extends TestCase
Datei anzeigen Open project: angejia/pea

Public Methods

Method Description
setUp ( )
testAllCachedNormalGet ( ) 普通查询,全部命中缓存
testAllCachedSimpleGet ( )
testAllMissedSimpleGet ( )
testCachedAwfulGet ( ) 复杂查询,命中缓存
testEmptyNormalGet ( ) 普通查询,空结果集
testEmptySimpleGet ( )
testEmptySimpleHitGet ( )
testFlushCache ( ) 刷新当前表所有缓存
testFlushCacheForBatchInsert ( )
testFlushCacheForDeleteOne ( )
testFlushCacheForInsert ( )
testFlushCacheForUpdateOne ( )
testMissAwfulGet ( ) 复杂查询未命中缓存
testModelNeedCache ( )
testModelTable ( )
testOneCachedSimpleGet ( )
testOneMissedSimpleGet ( )
testPartialCachedNormalGet ( ) 普通查询,部分命中缓存
testPartialCachedSimpleGet ( )
testQueryCacheKey ( ) 获取当前查询缓存 key
testRawAwfulGet ( ) 复杂查询未命中缓存

Method Details

setUp() public method

public setUp ( )

testAllCachedNormalGet() public method

普通查询,全部命中缓存

testAllCachedSimpleGet() public method

testAllMissedSimpleGet() public method

testCachedAwfulGet() public method

复杂查询,命中缓存
public testCachedAwfulGet ( )

testEmptyNormalGet() public method

普通查询,空结果集
public testEmptyNormalGet ( )

testEmptySimpleGet() public method

public testEmptySimpleGet ( )

testEmptySimpleHitGet() public method

testFlushCache() public method

刷新当前表所有缓存
public testFlushCache ( )

testFlushCacheForBatchInsert() public method

testFlushCacheForDeleteOne() public method

testFlushCacheForInsert() public method

testFlushCacheForUpdateOne() public method

testMissAwfulGet() public method

复杂查询未命中缓存
public testMissAwfulGet ( )

testModelNeedCache() public method

public testModelNeedCache ( )

testModelTable() public method

public testModelTable ( )

testOneCachedSimpleGet() public method

testOneMissedSimpleGet() public method

testPartialCachedNormalGet() public method

普通查询,部分命中缓存

testPartialCachedSimpleGet() public method

testQueryCacheKey() public method

获取当前查询缓存 key
public testQueryCacheKey ( )

testRawAwfulGet() public method

复杂查询未命中缓存
public testRawAwfulGet ( )