MediaWiki
REL1_24
|
GlobalFunctions More...
GlobalFunctions
Definition at line 6 of file GlobalTest.php.
static GlobalTest::provideArrayToCGI | ( | ) | [static] |
Definition at line 145 of file GlobalTest.php.
References array().
static GlobalTest::provideCgiRoundTrip | ( | ) | [static] |
Definition at line 220 of file GlobalTest.php.
References array().
static GlobalTest::provideCgiToArray | ( | ) | [static] |
Definition at line 191 of file GlobalTest.php.
References array().
static GlobalTest::provideForWfArrayDiff2 | ( | ) | [static] |
Definition at line 46 of file GlobalTest.php.
References array().
static GlobalTest::provideMakeUrlIndexes | ( | ) | [static] |
Definition at line 584 of file GlobalTest.php.
References array().
static GlobalTest::provideMerge | ( | ) | [static] |
Definition at line 520 of file GlobalTest.php.
References array().
static GlobalTest::provideShorthand | ( | ) | [static] |
array( shorthand, expected integer )
Definition at line 449 of file GlobalTest.php.
static GlobalTest::provideWfMatchesDomainList | ( | ) | [static] |
Definition at line 642 of file GlobalTest.php.
static GlobalTest::provideWfShellMaintenanceCmdList | ( | ) | [static] |
Definition at line 722 of file GlobalTest.php.
GlobalTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 7 of file GlobalTest.php.
References array(), MediaWikiTestCase\setMwGlobals(), and wfTempDir().
GlobalTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 25 of file GlobalTest.php.
References global.
GlobalTest::testArrayToCGI | ( | $ | array, |
$ | result | ||
) |
provideArrayToCGI wfArrayToCgi
Definition at line 176 of file GlobalTest.php.
References $result, and wfArrayToCgi().
GlobalTest::testCgiRoundTrip | ( | $ | cgi | ) |
provideCgiRoundTrip wfArrayToCgi
Definition at line 237 of file GlobalTest.php.
References wfArrayToCgi(), and wfCgiToArray().
GlobalTest::testCgiToArray | ( | $ | cgi, |
$ | result | ||
) |
provideCgiToArray wfCgiToArray
Definition at line 216 of file GlobalTest.php.
References $result, and wfCgiToArray().
Definition at line 360 of file GlobalTest.php.
References array(), as, wfBoolToStr(), and wfClientAcceptsGzip().
Definition at line 314 of file GlobalTest.php.
References global, wfDebug(), wfDebugMem(), and wfTempDir().
GlobalTest::testMakeUrlIndexes | ( | $ | url, |
$ | expected | ||
) |
provideMakeUrlIndexes() wfMakeUrlIndexes
Definition at line 579 of file GlobalTest.php.
References wfMakeUrlIndexes().
GlobalTest::testMerge | ( | $ | old, |
$ | mine, | ||
$ | yours, | ||
$ | expectedMergeResult, | ||
$ | expectedText | ||
) |
string | $old | Text as it was in the database |
string | $mine | Text submitted while user was editing |
string | $yours | Text submitted by the user |
bool | $expectedMergeResult | Whether the merge should be a success |
string | $expectedText | Text after merge has been completed |
provideMerge() medium wfMerge
Definition at line 503 of file GlobalTest.php.
References MediaWikiTestCase\checkHasDiff3(), and wfMerge().
Definition at line 244 of file GlobalTest.php.
References array(), and mimeTypeMatch().
Definition at line 269 of file GlobalTest.php.
References array(), and wfNegotiateType().
Definition at line 127 of file GlobalTest.php.
Definition at line 394 of file GlobalTest.php.
References MediaWikiTestCase\hideDeprecated(), and swap().
GlobalTest::testWfArrayDiff2 | ( | $ | a, |
$ | b, | ||
$ | expected | ||
) |
provideForWfArrayDiff2 wfArrayDiff2
Definition at line 39 of file GlobalTest.php.
References wfArrayDiff2().
GlobalTest::testWfMatchesDomainList | ( | $ | url, |
$ | domains, | ||
$ | expected, | ||
$ | description | ||
) |
provideWfMatchesDomainList wfMatchesDomainList
Definition at line 637 of file GlobalTest.php.
References wfMatchesDomainList().
Definition at line 698 of file GlobalTest.php.
References $fname, $ok, MediaWikiTestCase\getNewTempFile(), wfMkdirParents(), wfRestoreWarnings(), and wfSuppressWarnings().
GlobalTest::testWfShellMaintenanceCmd | ( | $ | script, |
$ | parameters, | ||
$ | options, | ||
$ | expected, | ||
$ | description | ||
) |
provideWfShellMaintenanceCmdList wfShellMaintenanceCmd
Definition at line 711 of file GlobalTest.php.
References $options, wfIsWindows(), and wfShellMaintenanceCmd().
GlobalTest::testWfShorthandToInteger | ( | $ | shorthand, |
$ | expected | ||
) |