MediaWiki
REL1_22
|
Public Member Functions | |
testAcceptLang ($acceptLanguageHeader, $expectedLanguages, $description) | |
provideLanguageData WebRequest::getAcceptLang | |
testDetectServer ($expected, $input, $description) | |
provideDetectServer WebRequest::detectServer | |
testGetIP ($expected, $input, $squid, $xffList, $private, $description) | |
provideGetIP WebRequest::getIP | |
testGetIpLackOfRemoteAddrThrowAnException () | |
MWException WebRequest::getIP | |
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 6 of file WebRequestTest.php.
static WebRequestTest::provideDetectServer | ( | ) | [static] |
Definition at line 31 of file WebRequestTest.php.
References array().
static WebRequestTest::provideGetIP | ( | ) | [static] |
Definition at line 129 of file WebRequestTest.php.
References array().
static WebRequestTest::provideLanguageData | ( | ) | [static] |
Definition at line 285 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 9 of file WebRequestTest.php.
WebRequestTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 15 of file WebRequestTest.php.
WebRequestTest::testAcceptLang | ( | $ | acceptLanguageHeader, |
$ | expectedLanguages, | ||
$ | description | ||
) |
provideLanguageData WebRequest::getAcceptLang
Definition at line 305 of file WebRequestTest.php.
References array().
WebRequestTest::testDetectServer | ( | $ | expected, |
$ | input, | ||
$ | description | ||
) |
provideDetectServer WebRequest::detectServer
Definition at line 25 of file WebRequestTest.php.
References $result, and WebRequest\detectServer().
WebRequestTest::testGetIP | ( | $ | expected, |
$ | input, | ||
$ | squid, | ||
$ | xffList, | ||
$ | private, | ||
$ | description | ||
) |
provideGetIP WebRequest::getIP
Definition at line 109 of file WebRequestTest.php.
References $result, array(), and MediaWikiTestCase\setMwGlobals().
MWException WebRequest::getIP
Definition at line 279 of file WebRequestTest.php.
WebRequestTest::$oldServer [protected] |
Definition at line 7 of file WebRequestTest.php.