Commit graph

9 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
368a5106fa * set_include_path() in case of a custom PHPTest install
* Run ctype tests
2006-01-20 22:50:47 +00:00
Brion Vibber
266d41f165 * Added wfDie() wrapper, and some manual die(-1), to force the return code
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Brion Vibber
b1a49e2d5b Drop MySQL 3.23.x support; 4.0 or greater required. 2005-08-26 23:02:54 +00:00
Brion Vibber
fe40fe9da8 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
that does both numeric and named chars: Sanitizer::decodeCharReferences
* Removed some obsolete UTF-8 converter functions
2005-05-31 11:54:36 +00:00
Brion Vibber
6f5f83f05d Hide tests from web. Probably harmless, but safer to keep it out. 2004-12-03 08:42:27 +00:00
Brion Vibber
cfd54324d9 Add initial tests for Article::getRevisionText and Article::compressRevision 2004-10-23 09:19:00 +00:00
Brion Vibber
8ffff3e2e0 Reorganization of SearchEngine for legibility
* Removed 'fuzzy title search', it's not been maintained and generally produces unexpected and unwanted results
* Separated search guts (in SearchEngine) from display/control (in SpecialSearch)
* Extracted MySQL3 and MySQL4 variants to subclasses
* Added PHPUnit tests for MySQL3 and MySQL4 search engines, which try to use temporary tables to fiddle in (if configured)
* comments n stuff
2004-10-20 09:56:34 +00:00
Brion Vibber
27ba25bf40 * Start on some unit tests for GlobalFunctions
* Add makefile & readme for the lazy
2004-10-18 09:53:47 +00:00
Brion Vibber
881b36f316 * Add support for prepared statements. This should be safer than dumping variables into raw SQL and more flexible than the array-based wrapper functions
* Add some quick PHPUnit tests for Database::fillPrepared()
2004-10-18 07:25:56 +00:00