MediaWiki  REL1_21
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 ()
 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 ()

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

References array(), empty, and strings.

Definition at line 630 of file GlobalTest.php.

References array(), and as.

Definition at line 661 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, and wfArrayToCgi().

Definition at line 139 of file GlobalTest.php.

References array(), and wfArrayToCgi().

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

References global, wfDebug(), wfDebugMem(), and wfTempDir().

Definition at line 68 of file GlobalTest.php.

References wfExpandIRI().

GlobalTest::testMakeUrlIndexes ( url,
expected 
)

provideMakeUrlIndexes()

Definition at line 568 of file GlobalTest.php.

References $url, and wfMakeUrlIndexes().

GlobalTest::testMerge ( old,
mine,
yours,
expectedMergeResult,
expectedText 
)
Parameters:
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$expectedMergeResultWhether 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 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 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 
)

provideForWfArrayDiff2

Definition at line 33 of file GlobalTest.php.

References wfArrayDiff2().

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

See also:
wfShorthandToInteger() provideShorthand

Definition at line 433 of file GlobalTest.php.

References wfShorthandToInteger().


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