MediaWiki
REL1_21
|
Public Member Functions | |
provideMakeUrlIndexes () | |
provideWfMatchesDomainList () | |
provideWfShellMaintenanceCmdList () | |
testArrayToCGI ($array, $result) | |
provideArrayToCGI | |
testArrayToCGI2 () | |
testCgiRoundTrip ($cgi) | |
provideCgiRoundTrip | |
testCgiToArray ($cgi, $result) | |
provideCgiToArray | |
testClientAcceptsGzipTest () | |
testDebugFunctionTest () | |
testExpandIRI () | |
testFallbackMbstringFunctions () | |
testMakeUrlIndexes ($url, $expected) | |
provideMakeUrlIndexes() | |
testMerge ($old, $mine, $yours, $expectedMergeResult, $expectedText) | |
testMimeTypeMatch () | |
testNegotiateType () | |
testQuotedPrintable () | |
testRandom () | |
testReadOnlyEmpty () | |
testReadOnlySet () | |
testSwapVarsTest () | |
testTime () | |
testUrlencode () | |
testWfArrayDiff2 ($a, $b, $expected) | |
provideForWfArrayDiff2 | |
testWfMatchesDomainList ($url, $domains, $expected, $description) | |
provideWfMatchesDomainList | |
testWfPercentTest () | |
testWfShellMaintenanceCmd ($script, $parameters, $options, $expected, $description) | |
provideWfShellMaintenanceCmdList | |
testWfShorthandToInteger ($shorthand, $expected) | |
test | |
Static Public Member Functions | |
static | provideArrayToCGI () |
static | provideCgiRoundTrip () |
static | provideCgiToArray () |
static | provideForWfArrayDiff2 () |
static | provideMerge () |
static | provideShorthand () |
array( shorthand, expected integer ) | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () |
Definition at line 3 of file GlobalTest.php.
static GlobalTest::provideArrayToCGI | ( | ) | [static] |
Definition at line 113 of file GlobalTest.php.
References array().
static GlobalTest::provideCgiRoundTrip | ( | ) | [static] |
Definition at line 169 of file GlobalTest.php.
References array().
static GlobalTest::provideCgiToArray | ( | ) | [static] |
Definition at line 147 of file GlobalTest.php.
References array().
static GlobalTest::provideForWfArrayDiff2 | ( | ) | [static] |
Definition at line 40 of file GlobalTest.php.
References array().
Definition at line 573 of file GlobalTest.php.
References array().
static GlobalTest::provideMerge | ( | ) | [static] |
Definition at line 510 of file GlobalTest.php.
References array().
static GlobalTest::provideShorthand | ( | ) | [static] |
array( shorthand, expected integer )
Definition at line 440 of file GlobalTest.php.
Definition at line 630 of file GlobalTest.php.
Definition at line 661 of file GlobalTest.php.
GlobalTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 4 of file GlobalTest.php.
References array(), MediaWikiTestCase\setMwGlobals(), and wfTempDir().
GlobalTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 22 of file GlobalTest.php.
References global.
GlobalTest::testArrayToCGI | ( | $ | array, |
$ | result | ||
) |
provideArrayToCGI
Definition at line 134 of file GlobalTest.php.
References $result, and wfArrayToCgi().
Definition at line 139 of file GlobalTest.php.
References array(), and wfArrayToCgi().
GlobalTest::testCgiRoundTrip | ( | $ | cgi | ) |
provideCgiRoundTrip
Definition at line 185 of file GlobalTest.php.
References wfArrayToCgi(), and wfCgiToArray().
GlobalTest::testCgiToArray | ( | $ | cgi, |
$ | result | ||
) |
provideCgiToArray
Definition at line 165 of file GlobalTest.php.
References $result, and wfCgiToArray().
Definition at line 359 of file GlobalTest.php.
References array(), as, wfBoolToStr(), and wfClientAcceptsGzip().
Definition at line 322 of file GlobalTest.php.
References global, wfDebug(), wfDebugMem(), and wfTempDir().
Definition at line 68 of file GlobalTest.php.
References wfExpandIRI().
Definition at line 252 of file GlobalTest.php.
References array(), as, MWFunction\callArray(), and Fallback\mb_strlen().
GlobalTest::testMakeUrlIndexes | ( | $ | url, |
$ | expected | ||
) |
Definition at line 568 of file GlobalTest.php.
References $url, and 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 |
Boolean | $expectedMergeResult | Whether the merge should be a success |
String | $expectedText,: | Text after merge has been completed |
provideMerge() medium
Definition at line 493 of file GlobalTest.php.
References MediaWikiTestCase\checkHasDiff3(), and wfMerge().
Definition at line 189 of file GlobalTest.php.
References array(), and mimeTypeMatch().
Definition at line 211 of file GlobalTest.php.
References array(), and wfNegotiateType().
Definition at line 100 of file GlobalTest.php.
References UserMailer\quotedPrintable().
Definition at line 56 of file GlobalTest.php.
References wfRandom().
Definition at line 74 of file GlobalTest.php.
References global, and wfReadOnly().
Definition at line 82 of file GlobalTest.php.
Definition at line 390 of file GlobalTest.php.
References swap().
Definition at line 106 of file GlobalTest.php.
References wfTime().
Definition at line 62 of file GlobalTest.php.
References wfUrlencode().
GlobalTest::testWfArrayDiff2 | ( | $ | a, |
$ | b, | ||
$ | expected | ||
) |
GlobalTest::testWfMatchesDomainList | ( | $ | url, |
$ | domains, | ||
$ | expected, | ||
$ | description | ||
) |
provideWfMatchesDomainList
Definition at line 625 of file GlobalTest.php.
References $url, and wfMatchesDomainList().
Definition at line 404 of file GlobalTest.php.
References array(), as, and wfPercent().
GlobalTest::testWfShellMaintenanceCmd | ( | $ | script, |
$ | parameters, | ||
$ | options, | ||
$ | expected, | ||
$ | description | ||
) |
provideWfShellMaintenanceCmdList
Definition at line 652 of file GlobalTest.php.
References $options, wfIsWindows(), and wfShellMaintenanceCmd().
GlobalTest::testWfShorthandToInteger | ( | $ | shorthand, |
$ | expected | ||
) |
test
Definition at line 433 of file GlobalTest.php.
References wfShorthandToInteger().