wiki.techinc.nl/tests/phpunit/includes/GlobalFunctions
Tyler Anthony Romeo 9b9daadc46 Cleaned up and optimized wfBaseConvert();
* Added code to use BCMath or GMP if they are
  loaded, since they are both significantly faster.
  A parameter was added that can be used to force
  usage of a specific engine (mainly for testing).
* Made an array of base digits rather than using
  strpos() every time.
* Used casting instead of intval(), since the latter
  is six times slower.

Also added unit tests for wfBaseConvert as well as
a benchmarking class that measures the difference
between using GMP, BCMath, and pure PHP.

Change-Id: I841717be2b29a0b7fc57a13fde5cc0642cda82df
2012-12-27 00:17:18 -05:00
..
GlobalTest.php Add MediaWikiTestCase::checkHasDiff3 and use it 2012-11-22 17:45:50 +01:00
GlobalWithDBTest.php FU r100915: split out GlobalWithDBTest (tests which need the DB) 2011-10-27 20:54:27 +00:00
README
wfAssembleUrlTest.php Clean and repair many phpunit tests (+ fix implied configuration) 2012-10-09 03:01:51 +02:00
wfBaseConvertTest.php Cleaned up and optimized wfBaseConvert(); 2012-12-27 00:17:18 -05:00
wfBaseNameTest.php Break wfBCP47, wfBaseName and wfTimestamp tests 2012-01-09 16:30:32 +00:00
wfBCP47Test.php Fix indentation whitespace errors 2012-10-26 17:42:13 +02:00
wfExpandUrlTest.php Clean and repair many phpunit tests (+ fix implied configuration) 2012-10-09 03:01:51 +02:00
wfGetCallerTest.php Big oops - merged to wrong branch. 2012-06-05 22:58:54 +00:00
wfRemoveDotSegmentsTest.php Clean and repair many phpunit tests (+ fix implied configuration) 2012-10-09 03:01:51 +02:00
wfShorthandToIntegerTest.php Move tests that have likely never been executed. Now they will be executed. 2011-11-09 23:11:52 +00:00
wfTimestampTest.php Break wfBCP47, wfBaseName and wfTimestamp tests 2012-01-09 16:30:32 +00:00
wfUrlencodeTest.php Clean and repair many phpunit tests (+ fix implied configuration) 2012-10-09 03:01:51 +02:00

This directory hold tests for includes/GlobalFunctions.php file
which is a pile of functions.