MediaWiki
REL1_22
|
Public Member Functions | |
testExpandMessages () | |
SkinTemplate::addToSidebarPlain | |
testExternalUrlsRequireADescription () | |
SkinTemplate::addToSidebarPlain | |
testRespectExternallinktarget ($externalLinkTarget) | |
Test $wgExternaLinkTarget in sidebar dataRespectExternallinktarget. | |
testRespectWgnofollowlinks () | |
Test $wgNoFollowLinks in sidebar. | |
testSidebarWithOnlyTwoTitles () | |
SkinTemplate::addToSidebarPlain | |
testTestAttributesAssertionHelper () | |
Simple test to verify our helper assertAttribs() is functional. | |
testTrickyPipe () | |
bug 33321 - Make sure there's a | after transforming. | |
Static Public Member Functions | |
static | dataRespectExternallinktarget () |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
Private Member Functions | |
assertSideBar ($expected, $text, $message= '') | |
Internal helper to test the sidebar. | |
getAttribs () | |
initMessagesHref () | |
Build $this->messages array. | |
Private Attributes | |
$messages | |
Local cache for sidebar messages. | |
SkinTemplate | $skin |
A skin template, reinitialized before each test. |
Definition at line 6 of file SideBarTest.php.
SideBarTest::assertSideBar | ( | $ | expected, |
$ | text, | ||
$ | message = '' |
||
) | [private] |
Internal helper to test the sidebar.
$expected | |
$text | |
$message | (Default: '') |
Definition at line 55 of file SideBarTest.php.
static SideBarTest::dataRespectExternallinktarget | ( | ) | [static] |
Definition at line 216 of file SideBarTest.php.
References array().
SideBarTest::getAttribs | ( | ) | [private] |
Definition at line 163 of file SideBarTest.php.
SideBarTest::initMessagesHref | ( | ) | [private] |
SideBarTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiLangTestCase.
Definition at line 41 of file SideBarTest.php.
References Language\factory(), ContextSource\getContext(), initMessagesHref(), and skin().
SkinTemplate::addToSidebarPlain
Definition at line 79 of file SideBarTest.php.
SkinTemplate::addToSidebarPlain
Definition at line 101 of file SideBarTest.php.
SideBarTest::testRespectExternallinktarget | ( | $ | externalLinkTarget | ) |
Test $wgExternaLinkTarget in sidebar dataRespectExternallinktarget.
Definition at line 208 of file SideBarTest.php.
Test $wgNoFollowLinks in sidebar.
Definition at line 195 of file SideBarTest.php.
SkinTemplate::addToSidebarPlain
Definition at line 64 of file SideBarTest.php.
Simple test to verify our helper assertAttribs() is functional.
Definition at line 177 of file SideBarTest.php.
bug 33321 - Make sure there's a | after transforming.
Database SkinTemplate::addToSidebarPlain
Definition at line 132 of file SideBarTest.php.
SideBarTest::$messages [private] |
Local cache for sidebar messages.
Definition at line 13 of file SideBarTest.php.
SkinTemplate SideBarTest::$skin [private] |
A skin template, reinitialized before each test.
Definition at line 11 of file SideBarTest.php.