MediaWiki  1.28.0
HashBagOStuffTest Class Reference

BagOStuff. More...

Inheritance diagram for HashBagOStuffTest:
Collaboration diagram for HashBagOStuffTest:

Public Member Functions

 testClear ()
 HashBagOStuff::clear. More...
 
 testDelete ()
 HashBagOStuff::delete. More...
 
 testEvictionAdd ()
 Ensure maxKeys eviction prefers keeping new keys. More...
 
 testEvictionGet ()
 Ensure maxKeys eviction prefers recently retrieved keys (LRU). More...
 
 testEvictionSet ()
 Ensure maxKeys eviction prefers recently set keys even if the keys pre-exist. More...
 
 testExpire ()
 HashBagOStuff::doGet HashBagOStuff::expire. More...
 

Detailed Description

BagOStuff.

Definition at line 6 of file HashBagOStuffTest.php.

Member Function Documentation

HashBagOStuffTest::testClear ( )

HashBagOStuff::clear.

Definition at line 24 of file HashBagOStuffTest.php.

References $cache.

HashBagOStuffTest::testDelete ( )

HashBagOStuff::delete.

Definition at line 11 of file HashBagOStuffTest.php.

References $cache.

HashBagOStuffTest::testEvictionAdd ( )

Ensure maxKeys eviction prefers keeping new keys.

HashBagOStuff::__construct HashBagOStuff::set

Definition at line 62 of file HashBagOStuffTest.php.

References $cache.

HashBagOStuffTest::testEvictionGet ( )

Ensure maxKeys eviction prefers recently retrieved keys (LRU).

HashBagOStuff::__construct HashBagOStuff::doGet HashBagOStuff::hasKey

Definition at line 109 of file HashBagOStuffTest.php.

References $cache, and as.

HashBagOStuffTest::testEvictionSet ( )

Ensure maxKeys eviction prefers recently set keys even if the keys pre-exist.

HashBagOStuff::__construct HashBagOStuff::set

Definition at line 82 of file HashBagOStuffTest.php.

References $cache, and as.

HashBagOStuffTest::testExpire ( )

The documentation for this class was generated from the following file: