|
MediaWiki
REL1_23
|


Definition at line 6 of file StatusTest.php.
| StatusTest::getMockMessage | ( | $ | key = 'key', |
| $ | params = array() |
||
| ) | [protected] |
Definition at line 192 of file StatusTest.php.
Referenced by getMockMessages(), testMerge(), and testMergeWithOverwriteValue().
| StatusTest::getMockMessages | ( | $ | messageDetails | ) | [protected] |
| array | $messageDetails | eg. array( 'KEY' => array(/PARAMS/) ) |
Definition at line 209 of file StatusTest.php.
References $key, $messages, array(), as, and getMockMessage().
Referenced by testErrorWithMessage(), testFatalWithMessage(), and testWarningWithMessage().
| static StatusTest::provideCleanParams | ( | ) | [static] |
Definition at line 279 of file StatusTest.php.
| static StatusTest::provideGetMessage | ( | ) | [static] |
Definition at line 389 of file StatusTest.php.
References array(), and Status\warning().
| static StatusTest::provideGetWikiTextAndHtml | ( | ) | [static] |
Definition at line 317 of file StatusTest.php.
References array().
| static StatusTest::provideIsGood | ( | ) | [static] |
Definition at line 116 of file StatusTest.php.
References array().
| static StatusTest::provideIsOk | ( | ) | [static] |
Definition at line 89 of file StatusTest.php.
References array().
| static StatusTest::provideMockMessageDetails | ( | ) | [static] |
Definition at line 217 of file StatusTest.php.
References array().
| static StatusTest::provideNonObjectMessages | ( | ) | [static] |
Definition at line 556 of file StatusTest.php.
References array().
| static StatusTest::provideSetResult | ( | ) | [static] |
Definition at line 70 of file StatusTest.php.
References array().
| static StatusTest::provideValues | ( | ) | [static] |
Definition at line 24 of file StatusTest.php.
References array().
Definition at line 8 of file StatusTest.php.
| StatusTest::testCleanParams | ( | $ | cleanCallback, |
| $ | params, | ||
| $ | expected | ||
| ) |
provideCleanParams Status::cleanParams
Definition at line 270 of file StatusTest.php.
References $params.
| StatusTest::testErrorWithMessage | ( | $ | mockDetails | ) |
provideMockMessageDetails Status::error Status::getErrorsArray Status::getStatusArray
Definition at line 153 of file StatusTest.php.
References $key, $messages, array(), as, and getMockMessages().
| StatusTest::testFatalWithMessage | ( | $ | mockDetails | ) |
provideMockMessageDetails Status::fatal Status::getErrorsArray Status::getStatusArray
Definition at line 175 of file StatusTest.php.
References $key, $messages, array(), as, and getMockMessages().
Definition at line 465 of file StatusTest.php.
Definition at line 482 of file StatusTest.php.
Definition at line 510 of file StatusTest.php.
References $error, Status\error(), Status\getErrorsByType(), and Status\warning().
| StatusTest::testGetHtml | ( | Status $ | status, |
| $ | wikitext, | ||
| $ | html | ||
| ) |
provideGetWikiTextAndHtml Status::getHtml
Definition at line 308 of file StatusTest.php.
References $html, and Status\getHTML().
| StatusTest::testGetMessage | ( | Status $ | status, |
| $ | expectedParams = array(), |
||
| $ | expectedKey | ||
| ) |
provideGetMessage Status::getMessage
Definition at line 376 of file StatusTest.php.
References Status\getMessage().
| StatusTest::testGetStatusArrayWithNonObjectMessages | ( | $ | nonObjMsg | ) |
provideNonObjectMessages Status::getStatusArray
Definition at line 542 of file StatusTest.php.
References Status\getWarningsArray(), and Status\warning().
Definition at line 99 of file StatusTest.php.
| StatusTest::testGetWikiText | ( | Status $ | status, |
| $ | wikitext, | ||
| $ | html | ||
| ) |
provideGetWikiTextAndHtml Status::getWikiText
Definition at line 297 of file StatusTest.php.
References Status\getWikiText().
Definition at line 259 of file StatusTest.php.
| StatusTest::testIsGood | ( | $ | ok, |
| $ | errors, | ||
| $ | expected | ||
| ) |
| StatusTest::testIsOk | ( | $ | ok | ) |
| StatusTest::testNewGood | ( | $ | value = null | ) |
provideValues Status::newGood
Definition at line 17 of file StatusTest.php.
References $value, and Status\newGood().
Definition at line 451 of file StatusTest.php.
References array(), Status\error(), and Status\replaceMessage().
| StatusTest::testSetResult | ( | $ | ok, |
| $ | value = null |
||
| ) |
provideSetResult Status::setResult
Definition at line 63 of file StatusTest.php.
Definition at line 529 of file StatusTest.php.
References $value, and Status\__wakeup().
| StatusTest::testWarningWithMessage | ( | $ | mockDetails | ) |
provideMockMessageDetails Status::warning Status::getWarningsArray Status::getStatusArray
Definition at line 131 of file StatusTest.php.
References $key, $messages, array(), as, and getMockMessages().