MediaWiki
REL1_21
|
Broken More...
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. |
Broken
Definition at line 5 of file HttpTest.php.
static HttpTest::cookieDomains | ( | ) | [static] |
Definition at line 20 of file HttpTest.php.
References array().
static HttpTest::provideURI | ( | ) | [static] |
HttpTest::testIsValidUri | ( | $ | expect, |
$ | URI, | ||
$ | message = '' |
||
) |
Test Http::isValidURI()
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().