MediaWiki
REL1_21
|
Public Member Functions | |
testAcceptLang ($acceptLanguageHeader, $expectedLanguages, $description) | |
provideLanguageData | |
testDetectServer ($expected, $input, $description) | |
provideDetectServer | |
testGetIP ($expected, $input, $squid, $private, $description) | |
provideGetIP | |
testGetIpLackOfRemoteAddrThrowAnException () | |
MWException | |
Static Public Member Functions | |
static | provideDetectServer () |
static | provideGetIP () |
static | provideLanguageData () |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () | |
Protected Attributes | |
$oldServer |
Definition at line 3 of file WebRequestTest.php.
static WebRequestTest::provideDetectServer | ( | ) | [static] |
Definition at line 27 of file WebRequestTest.php.
References array().
static WebRequestTest::provideGetIP | ( | ) | [static] |
Definition at line 114 of file WebRequestTest.php.
References array().
static WebRequestTest::provideLanguageData | ( | ) | [static] |
Definition at line 196 of file WebRequestTest.php.
References array().
WebRequestTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 6 of file WebRequestTest.php.
WebRequestTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 12 of file WebRequestTest.php.
WebRequestTest::testAcceptLang | ( | $ | acceptLanguageHeader, |
$ | expectedLanguages, | ||
$ | description | ||
) |
WebRequestTest::testDetectServer | ( | $ | expected, |
$ | input, | ||
$ | description | ||
) |
provideDetectServer
Definition at line 21 of file WebRequestTest.php.
References $input, $result, and WebRequest\detectServer().
WebRequestTest::testGetIP | ( | $ | expected, |
$ | input, | ||
$ | squid, | ||
$ | private, | ||
$ | description | ||
) |
provideGetIP
Definition at line 104 of file WebRequestTest.php.
Definition at line 190 of file WebRequestTest.php.
WebRequestTest::$oldServer [protected] |
Definition at line 4 of file WebRequestTest.php.