MediaWiki  REL1_19
HttpTest Class Reference

Broken More...

Inheritance diagram for HttpTest:
Collaboration diagram for HttpTest:

List of all members.

Public Member Functions

 cookieDomains ()
 provideURI ()
 Feeds URI to test a long regular expression in Http::isValidURI.
 testIsValidUri ($expect, $URI, $message= '')
 Test Http::isValidURI()
 testRelativeRedirections ()
 Warning:
 testValidateCookieDomain ($expected, $domain, $origin=null)
 cookieDomains

Detailed Description

Broken

Definition at line 5 of file HttpTest.php.


Member Function Documentation

Definition at line 20 of file HttpTest.php.

Feeds URI to test a long regular expression in Http::isValidURI.

Definition at line 65 of file HttpTest.php.

HttpTest::testIsValidUri ( expect,
URI,
message = '' 
)

Test Http::isValidURI()

Bug:
27854 : Http::isValidURI is too lax provideURI

Definition at line 54 of file HttpTest.php.

References Http\isValidURI().

Here is the call graph for this function:

Warning:

These tests are for code that makes use of an artifact of how CURL handles header reporting on redirect pages, and will need to be rewritten when bug 29232 is taken care of (high-level handling of HTTP redirects).

Definition at line 135 of file HttpTest.php.

HttpTest::testValidateCookieDomain ( expected,
domain,
origin = null 
)

cookieDomains

Definition at line 9 of file HttpTest.php.

References $ok, and Cookie\validateCookieDomain().

Here is the call graph for this function:


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