MediaWiki
REL1_24
|
Database ^--- make sure temporary tables are used. More...
Public Member Functions | |
__construct ($name=null, array $data=array(), $dataName= '') | |
testUpdate_categorylinks () | |
ParserOutput::addCategory | |
testUpdate_externallinks () | |
ParserOutput::addExternalLink | |
testUpdate_imagelinks () | |
ParserOutput::addImage | |
testUpdate_iwlinks () | |
ParserOutput::addInterwikiLink | |
testUpdate_langlinks () | |
ParserOutput::addLanguageLink | |
testUpdate_page_props () | |
ParserOutput::setProperty | |
testUpdate_page_props_without_sortkey () | |
testUpdate_pagelinks () | |
ParserOutput::addLink | |
testUpdate_templatelinks () | |
ParserOutput::addTemplate | |
Protected Member Functions | |
assertLinksUpdate (Title $title, ParserOutput $parserOutput, $table, $fields, $condition, array $expectedRows) | |
makeTitleAndParserOutput ($name, $id) | |
setUp () |
Database ^--- make sure temporary tables are used.
Definition at line 7 of file LinksUpdateTest.php.
LinksUpdateTest::__construct | ( | $ | name = null , |
array $ | data = array() , |
||
$ | dataName = '' |
||
) |
Reimplemented from MediaWikiTestCase.
Definition at line 9 of file LinksUpdateTest.php.
LinksUpdateTest::assertLinksUpdate | ( | Title $ | title, |
ParserOutput $ | parserOutput, | ||
$ | table, | ||
$ | fields, | ||
$ | condition, | ||
array $ | expectedRows | ||
) | [protected] |
Definition at line 253 of file LinksUpdateTest.php.
References MediaWikiTestCase\assertSelect().
Referenced by testUpdate_categorylinks(), testUpdate_externallinks(), testUpdate_imagelinks(), testUpdate_iwlinks(), testUpdate_langlinks(), testUpdate_page_props(), testUpdate_pagelinks(), and testUpdate_templatelinks().
LinksUpdateTest::makeTitleAndParserOutput | ( | $ | name, |
$ | id | ||
) | [protected] |
Definition at line 44 of file LinksUpdateTest.php.
References $name, $t, array(), is, and Title\newFromText().
Referenced by testUpdate_categorylinks(), testUpdate_externallinks(), testUpdate_imagelinks(), testUpdate_iwlinks(), testUpdate_langlinks(), testUpdate_page_props(), testUpdate_pagelinks(), and testUpdate_templatelinks().
LinksUpdateTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 27 of file LinksUpdateTest.php.
Definition at line 123 of file LinksUpdateTest.php.
References $t, array(), assertLinksUpdate(), list, makeTitleAndParserOutput(), and MediaWikiTestCase\setMwGlobals().
Definition at line 109 of file LinksUpdateTest.php.
References $t, array(), assertLinksUpdate(), list, and makeTitleAndParserOutput().
Definition at line 174 of file LinksUpdateTest.php.
References $t, array(), assertLinksUpdate(), list, and makeTitleAndParserOutput().
ParserOutput::addInterwikiLink
Definition at line 139 of file LinksUpdateTest.php.
References $t, array(), assertLinksUpdate(), list, makeTitleAndParserOutput(), and Title\makeTitleSafe().
Definition at line 188 of file LinksUpdateTest.php.
References $t, array(), assertLinksUpdate(), list, makeTitleAndParserOutput(), Title\newFromText(), and MediaWikiTestCase\setMwGlobals().
Definition at line 206 of file LinksUpdateTest.php.
References $t, $value, array(), as, assertLinksUpdate(), global, list, and makeTitleAndParserOutput().
Referenced by testUpdate_page_props_without_sortkey().
Definition at line 245 of file LinksUpdateTest.php.
References MediaWikiTestCase\setMwGlobals(), and testUpdate_page_props().
Definition at line 57 of file LinksUpdateTest.php.
References $t, array(), MediaWikiTestCase\assertArrayEquals(), assertLinksUpdate(), list, Title\makeTitle(), makeTitleAndParserOutput(), and Title\newFromText().
Definition at line 154 of file LinksUpdateTest.php.
References $t, array(), assertLinksUpdate(), list, makeTitleAndParserOutput(), and Title\newFromText().