MediaWiki  master
ReplicatedBagOStuffTest Class Reference
Inheritance diagram for ReplicatedBagOStuffTest:
Collaboration diagram for ReplicatedBagOStuffTest:

Public Member Functions

 testGet ()
 ReplicatedBagOStuff::get. More...
 
 testGetAbsent ()
 ReplicatedBagOStuff::get. More...
 
 testSet ()
 ReplicatedBagOStuff::set. More...
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from MediaWikiUnitTestCase
 setTemporaryHook ( $hookName, $handler)
 Create a temporary hook handler which will be reset by tearDown. More...
 
 setUp ()
 
 tearDown ()
 

Private Attributes

ReplicatedBagOStuff $cache
 
HashBagOStuff $readCache
 
HashBagOStuff $writeCache
 

Detailed Description

Definition at line 3 of file ReplicatedBagOStuffTest.php.

Member Function Documentation

◆ setUp()

ReplicatedBagOStuffTest::setUp ( )
protected

Definition at line 11 of file ReplicatedBagOStuffTest.php.

References cache.

◆ testGet()

ReplicatedBagOStuffTest::testGet ( )

ReplicatedBagOStuff::get.

Definition at line 39 of file ReplicatedBagOStuffTest.php.

References cache.

◆ testGetAbsent()

ReplicatedBagOStuffTest::testGetAbsent ( )

ReplicatedBagOStuff::get.

Definition at line 54 of file ReplicatedBagOStuffTest.php.

References $value, and cache.

◆ testSet()

ReplicatedBagOStuffTest::testSet ( )

ReplicatedBagOStuff::set.

Definition at line 25 of file ReplicatedBagOStuffTest.php.

References $value, and cache.

Member Data Documentation

◆ $cache

ReplicatedBagOStuff ReplicatedBagOStuffTest::$cache
private

Definition at line 9 of file ReplicatedBagOStuffTest.php.

◆ $readCache

HashBagOStuff ReplicatedBagOStuffTest::$readCache
private

Definition at line 7 of file ReplicatedBagOStuffTest.php.

◆ $writeCache

HashBagOStuff ReplicatedBagOStuffTest::$writeCache
private

Definition at line 5 of file ReplicatedBagOStuffTest.php.


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