MediaWiki  master
GlobalTest Class Reference
Inheritance diagram for GlobalTest:
Collaboration diagram for GlobalTest:

List of all members.

Public Member Functions

 provideMakeUrlIndexes ()
 provideWfMatchesDomainList ()
 provideWfShellMaintenanceCmdList ()
 testArrayToCGI ($array, $result)
 provideArrayToCGI
 testArrayToCGI2 ()
 testCgiRoundTrip ($cgi)
 provideCgiRoundTrip
 testCgiToArray ($cgi, $result)
 provideCgiToArray
 testClientAcceptsGzipTest ()
 testDebugFunctionTest ()
 testExpandIRI ()
 testFallbackMbstringFunctions ()
 testInStringTest ()
 testMakeUrlIndexes ($url, $expected)
 provideMakeUrlIndexes()
 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 provideShorthand ()
 array( shorthand, expected integer )

Protected Member Functions

 setUp ()
 setUp and tearDown should (where significant) happen in reverse order.
 tearDown ()

Detailed Description

Definition at line 3 of file GlobalTest.php.


Member Function Documentation

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().

Definition at line 40 of file GlobalTest.php.

References array().

Definition at line 499 of file GlobalTest.php.

References array().

static GlobalTest::provideShorthand ( ) [static]

array( shorthand, expected integer )

Definition at line 448 of file GlobalTest.php.

References array(), empty, and strings.

Definition at line 556 of file GlobalTest.php.

References array(), and as.

Definition at line 587 of file GlobalTest.php.

References array(), and global.

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.

Definition at line 139 of file GlobalTest.php.

References array().

provideCgiRoundTrip

Definition at line 185 of file GlobalTest.php.

References wfCgiToArray().

GlobalTest::testCgiToArray ( cgi,
result 
)

provideCgiToArray

Definition at line 165 of file GlobalTest.php.

References $result, and wfCgiToArray().

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 429 of file GlobalTest.php.

References in_string().

GlobalTest::testMakeUrlIndexes ( url,
expected 
)

provideMakeUrlIndexes()

Definition at line 494 of file GlobalTest.php.

References $url, and wfMakeUrlIndexes().

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 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.

References $f, cache, cached, global, on, and wfReadOnly().

Definition at line 389 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 
)

provideForWfArrayDiff2

Definition at line 33 of file GlobalTest.php.

References wfArrayDiff2().

GlobalTest::testWfMatchesDomainList ( url,
domains,
expected,
description 
)

provideWfMatchesDomainList

Definition at line 551 of file GlobalTest.php.

References $url, and wfMatchesDomainList().

Definition at line 406 of file GlobalTest.php.

References array(), as, and wfPercent().

GlobalTest::testWfShellMaintenanceCmd ( script,
parameters,
options,
expected,
description 
)

provideWfShellMaintenanceCmdList

Definition at line 578 of file GlobalTest.php.

References $options, wfIsWindows(), and wfShellMaintenanceCmd().

GlobalTest::testWfShorthandToInteger ( shorthand,
expected 
)

test

See also:
wfShorthandToInteger() provideShorthand

Definition at line 441 of file GlobalTest.php.

References wfShorthandToInteger().


The documentation for this class was generated from the following file: