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

List of all members.

Public Member Functions

 testGetParserCacheKeyWithDynamicDates ()
 ParserOptions::optionsHash was not giving consistent results when $wgUseDynamicDates was set Database.

Protected Member Functions

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

Private Attributes

 $pcache
 $popts

Detailed Description

Definition at line 3 of file ParserOptionsTest.php.


Member Function Documentation

ParserOptionsTest::setUp ( ) [protected]

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

Reimplemented from MediaWikiTestCase.

Definition at line 8 of file ParserOptionsTest.php.

References $wgUser, array(), Language\factory(), global, ParserOptions\newFromUserAndLang(), MediaWikiTestCase\setMwGlobals(), and ParserCache\singleton().

ParserOptions::optionsHash was not giving consistent results when $wgUseDynamicDates was set Database.

Definition at line 27 of file ParserOptionsTest.php.

References $page, $title, WikiPage\factory(), and Title\newFromText().


Member Data Documentation

ParserOptionsTest::$pcache [private]

Definition at line 6 of file ParserOptionsTest.php.

ParserOptionsTest::$popts [private]

Definition at line 5 of file ParserOptionsTest.php.


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