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

List of all members.

Public Member Functions

 getLanguageProvider ()
 keyProvider ()
 testConstructor ($expectedLang, $key, $params, $language)
 Message::__construct provideConstructor
 testDeliciouslyManyParams ()
 Message::__construct Message::params
 testExists ()
 Message::exists
 testGetKey ($key, $expected, $exception=null)
 keyProvider()
 testGetLanguageCode ($key, $params, $languageCode)
 Message::getLanguage getLanguageProvider
 testInContentLanguage ()
 Message::inContentLanguage
 testInContentLanguageOverride ()
 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

Static Public Member Functions

static provideConstructor ()
static 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 321 of file MessageTest.php.

References array().

static MessageTest::provideConstructor ( ) [static]

Definition at line 37 of file MessageTest.php.

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

static MessageTest::provideTestParams ( ) [static]

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::testGetKey ( key,
expected,
exception = null 
)

keyProvider()

Message::getKey

Definition at line 358 of file MessageTest.php.

References $key.

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 221 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: