MediaWiki  REL1_23
MessageTest Class Reference
Inheritance diagram for MessageTest:
Collaboration diagram for MessageTest:

List of all members.

Public Member Functions

 getLanguageProvider ()
 provideConstructor ()
 provideTestParams ()
 testConstructor ($expectedLang, $key, $params, $language)
 Message::__construct provideConstructor
 testDeliciouslyManyParams ()
 Message::__construct Message::params
 testExists ()
 Message::exists
 testGetLanguageCode ($key, $params, $languageCode)
 Message::getLanguage getLanguageProvider
 testInContentLanguageDisabled ()
 Message::inContentLanguage
 testInContentLanguageEnabled ()
 Message::inContentLanguage
 testInLanguage ()
 Message::inLanguage
 testInLanguageThrows ()
 MWException Message::inLanguage
 testKey ()
 Message::__construct
 testMessageBitrateParams ()
 Message::bitrateParams
 testMessageDurationParams ()
 Message::durationParams
 testMessageExpiryParams ()
 FIXME: This should not need database, but Language::formatExpiry does (bug 55912) Database Message::expiryParams.
 testMessageNumParams ()
 Message::numParams
 testMessageParams ()
 Message::__construct
 testMessageParamSubstitution ()
 Message::__construct Message::rawParams
 testMessageSizeParams ()
 Message::sizeParams
 testMessageTimeperiodParams ()
 Message::timeperiodParams
 testParams ($expected)
 Message::params provideTestParams

Protected Member Functions

 setUp ()

Detailed Description

Definition at line 3 of file MessageTest.php.


Member Function Documentation

Definition at line 62 of file MessageTest.php.

References array().

Definition at line 37 of file MessageTest.php.

References array(), and Language\factory().

Definition at line 48 of file MessageTest.php.

References array().

MessageTest::setUp ( ) [protected]

Reimplemented from MediaWikiLangTestCase.

Definition at line 5 of file MessageTest.php.

References array(), Language\factory(), and MediaWikiTestCase\setMwGlobals().

MessageTest::testConstructor ( expectedLang,
key,
params,
language 
)

Message::__construct provideConstructor

Definition at line 18 of file MessageTest.php.

References $key, and $params.

Message::exists

Definition at line 96 of file MessageTest.php.

References array(), and wfMessage().

MessageTest::testGetLanguageCode ( key,
params,
languageCode 
)

Message::getLanguage getLanguageProvider

Definition at line 73 of file MessageTest.php.

References $key, $params, and Language\factory().

Message::__construct

Definition at line 108 of file MessageTest.php.

References text, and wfMessage().

FIXME: This should not need database, but Language::formatExpiry does (bug 55912) Database Message::expiryParams.

Definition at line 192 of file MessageTest.php.

References Language\factory(), and wfTimestampNow().

MessageTest::testParams ( expected)

Message::params provideTestParams

Definition at line 84 of file MessageTest.php.

References array().


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