MediaWiki  REL1_21
HttpTest Class Reference

Broken More...

Inheritance diagram for HttpTest:
Collaboration diagram for HttpTest:

List of all members.

Public Member Functions

 testIsValidUri ($expect, $URI, $message= '')
 Test Http::isValidURI()
 testRelativeRedirections ()
 Warning:
 testValidateCookieDomain ($expected, $domain, $origin=null)
 cookieDomains

Static Public Member Functions

static cookieDomains ()
static provideURI ()
 Feeds URI to test a long regular expression in Http::isValidURI.

Detailed Description

Broken

Definition at line 5 of file HttpTest.php.


Member Function Documentation

static HttpTest::cookieDomains ( ) [static]

Definition at line 20 of file HttpTest.php.

References array().

static HttpTest::provideURI ( ) [static]

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

Definition at line 65 of file HttpTest.php.

References anything, array(), fail, http, is, of, part, port(), two, user, and w().

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

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.

References array(), and MWHttpRequestTester\factory().

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

cookieDomains

Definition at line 9 of file HttpTest.php.

References $ok, and Cookie\validateCookieDomain().


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