MediaWiki  REL1_22
BagOStuffTest Class Reference

This class will test BagOStuff. More...

Inheritance diagram for BagOStuffTest:
Collaboration diagram for BagOStuffTest:

List of all members.

Public Member Functions

 testAdd ()
 testGet ()
 testGetMulti ()
 testIncr ()
 BagOStuff::incr
 testMerge ()

Protected Member Functions

 setUp ()
 setUp and tearDown should (where significant) happen in reverse order.
 tearDown ()

Private Attributes

 $cache

Detailed Description

This class will test BagOStuff.

Author:
Matthias Mullie <[email protected]>

Definition at line 7 of file BagOStuffTest.php.


Member Function Documentation

BagOStuffTest::setUp ( ) [protected]

setUp and tearDown should (where significant) happen in reverse order.

Reimplemented from MediaWikiTestCase.

Definition at line 10 of file BagOStuffTest.php.

References $name, cache, MediaWikiTestCase\getCliArg(), ObjectCache\newFromId(), and wfMemcKey().

BagOStuffTest::tearDown ( ) [protected]

Reimplemented from MediaWikiTestCase.

Definition at line 26 of file BagOStuffTest.php.

Definition at line 108 of file BagOStuffTest.php.

References $key, cache, and wfMemcKey().

Definition at line 113 of file BagOStuffTest.php.

References $key, $value, array(), cache, and wfMemcKey().

Definition at line 133 of file BagOStuffTest.php.

References array(), cache, and wfMemcKey().

BagOStuff::incr

Definition at line 124 of file BagOStuffTest.php.

References $key, cache, and wfMemcKey().


Member Data Documentation

BagOStuffTest::$cache [private]

Definition at line 8 of file BagOStuffTest.php.

Referenced by testMerge().


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