PHP Class Angejia\Pea\ModelTest

Inheritance: extends TestCase
Afficher le fichier Open project: angejia/pea

Méthodes publiques

Méthode 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 méthode

public setUp ( )

testAllCachedNormalGet() public méthode

普通查询,全部命中缓存

testAllCachedSimpleGet() public méthode

testAllMissedSimpleGet() public méthode

testCachedAwfulGet() public méthode

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

testEmptyNormalGet() public méthode

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

testEmptySimpleGet() public méthode

public testEmptySimpleGet ( )

testEmptySimpleHitGet() public méthode

testFlushCache() public méthode

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

testFlushCacheForBatchInsert() public méthode

testFlushCacheForDeleteOne() public méthode

testFlushCacheForInsert() public méthode

testFlushCacheForUpdateOne() public méthode

testMissAwfulGet() public méthode

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

testModelNeedCache() public méthode

public testModelNeedCache ( )

testModelTable() public méthode

public testModelTable ( )

testOneCachedSimpleGet() public méthode

testOneMissedSimpleGet() public méthode

testPartialCachedNormalGet() public méthode

普通查询,部分命中缓存

testPartialCachedSimpleGet() public méthode

testQueryCacheKey() public méthode

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

testRawAwfulGet() public méthode

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