MediaWiki
REL1_22
|
Broken More...
Public Member Functions | |
testIsValidUri ($expect, $URI, $message= '') | |
Test Http::isValidURI() | |
testRelativeRedirections () | |
Warning: | |
testValidateCookieDomain ($expected, $domain, $origin=null) | |
cookieDomains Cookie::validateCookieDomain | |
Static Public Member Functions | |
static | cookieDomains () |
static | provideURI () |
Feeds URI to test a long regular expression in Http::isValidURI. |
Broken
Definition at line 5 of file HttpTest.php.
static HttpTest::cookieDomains | ( | ) | [static] |
Definition at line 21 of file HttpTest.php.
References array().
static HttpTest::provideURI | ( | ) | [static] |
HttpTest::testIsValidUri | ( | $ | expect, |
$ | URI, | ||
$ | message = '' |
||
) |
Test Http::isValidURI()
Definition at line 56 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 137 of file HttpTest.php.
References array(), and MWHttpRequestTester\factory().
HttpTest::testValidateCookieDomain | ( | $ | expected, |
$ | domain, | ||
$ | origin = null |
||
) |
cookieDomains Cookie::validateCookieDomain
Definition at line 10 of file HttpTest.php.
References $ok, and Cookie\validateCookieDomain().