basic tests for wfUrlencode
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 29 Jun 2011 20:28:43 +0000 (20:28 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 29 Jun 2011 20:28:43 +0000 (20:28 +0000)
commit67540f8ee4373928957a94f21a51da65fda84014
tree82fe7df0e0145a76b8c3d8e54cf9b5c01d931ab9
parent44c11927c3982938d70b578cf773615df0eac5ca
basic tests for wfUrlencode

Please note this function use a static variable based on the value
of $GLOBALS[’SERVER_SOFTWARE'].  With PHP 5.2 and PHPUnit 3.5.x, there
is currently now way to reset the static variable :-/   Tests relying on
a change of SERVER_SOFTWARE are thus skipped, still the framework is there
for later use.
tests/phpunit/includes/GlobalFunctions.php/wfUrlencodeTest.php [new file with mode: 0644]