MediaWiki
REL1_19
|
Public Member Functions | |
provideDetectServer () | |
provideGetIP () | |
testDetectServer ($expected, $input, $description) | |
provideDetectServer | |
testGetIP ($expected, $input, $squid, $private, $description) | |
provideGetIP | |
testGetIpLackOfRemoteAddrThrowAnException () | |
MWException |
Definition at line 3 of file WebRequestTest.php.
Definition at line 15 of file WebRequestTest.php.
Definition at line 104 of file WebRequestTest.php.
WebRequestTest::testDetectServer | ( | $ | expected, |
$ | input, | ||
$ | description | ||
) |
provideDetectServer
Definition at line 7 of file WebRequestTest.php.
References $input, $result, and WebRequest\detectServer().
WebRequestTest::testGetIP | ( | $ | expected, |
$ | input, | ||
$ | squid, | ||
$ | private, | ||
$ | description | ||
) |
provideGetIP
Definition at line 92 of file WebRequestTest.php.
References $input, $result, $wgSquidServersNoPurge, and $wgUsePrivateIPs.
Definition at line 180 of file WebRequestTest.php.