MediaWiki  REL1_19
WebRequestTest Class Reference
Inheritance diagram for WebRequestTest:
Collaboration diagram for WebRequestTest:

List of all members.

Public Member Functions

 provideDetectServer ()
 provideGetIP ()
 testDetectServer ($expected, $input, $description)
 provideDetectServer
 testGetIP ($expected, $input, $squid, $private, $description)
 provideGetIP
 testGetIpLackOfRemoteAddrThrowAnException ()
 MWException

Detailed Description

Definition at line 3 of file WebRequestTest.php.


Member Function Documentation

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

Here is the call graph for this function:

WebRequestTest::testGetIP ( expected,
input,
squid,
private,
description 
)

provideGetIP

Definition at line 92 of file WebRequestTest.php.

References $input, $result, $wgSquidServersNoPurge, and $wgUsePrivateIPs.


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