wiki.techinc.nl/tests
Tim Starling 85fa7504e6 * Split off ultimate base class FileRepo from FSRepo
* Use rawurlencode() for paths instead of urlencode()
* Moved functionality of LocalFile::loadFromFile() to a public static function. This allows Special:Upload to entirely avoid loading metadata from the (potentially remote) store. Changed purgeMetadataCache() to use loadFromDB() instead of loadFromFile().
* Redefined private virtual URLs, giving them a repo name component instead of a host.
* Moved is_writable($wgUploadDirectory) in SpecialUpload.php to the repo
* Added some filename validation to the FSRepo's store/publish
* Changed store and publish to use relative destinations instead of absolute, as was documented
* Deprecated File::recordUpload()! Now use upload() to do both publish and record. Moved the UI bits to SpecialUpload.
* Create a null revision on reupload
* Changed most of the member variable names in UploadForm. $this->mUpload followed by some ambiguous word or abbreviation was not a good naming convention. Also did some reformatting and assorted code cleanup.
2007-06-16 02:55:25 +00:00
..
.htaccess Hide tests from web. Probably harmless, but safer to keep it out. 2004-12-03 08:42:27 +00:00
.svnignore Copying .cvsignore and testing commit messages 2006-04-01 12:43:13 +00:00
ArticleTest.php Update test cases to run 2007-06-06 18:37:35 +00:00
DatabaseTest.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
GlobalTest.php Update test cases to run 2007-06-06 18:37:35 +00:00
ImageFunctionsTest.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
LocalFileTest.php * Split off ultimate base class FileRepo from FSRepo 2007-06-16 02:55:25 +00:00
Makefile Update test cases to run 2007-06-06 18:37:35 +00:00
MediaWiki_TestCase.php Update test cases to run 2007-06-06 18:37:35 +00:00
README Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
run-test.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
SanitizerTest.php Merged filerepo-work branch: 2007-05-30 21:02:32 +00:00
SearchEngineTest.php Update test cases to run 2007-06-06 18:37:35 +00:00
SearchMySQL4Test.php Update test cases to run 2007-06-06 18:37:35 +00:00
test-prefetch-current.xml Test case files and fixes for text-prefetch two-and-a-half-pass dump. 2005-10-19 00:05:22 +00:00
test-prefetch-previous.xml Test case files and fixes for text-prefetch two-and-a-half-pass dump. 2005-10-19 00:05:22 +00:00
test-prefetch-stub.xml Test case files and fixes for text-prefetch two-and-a-half-pass dump. 2005-10-19 00:05:22 +00:00

Some quickie unit tests done with the PHPUnit testing framework. To run the
test suite, run 'make test' in this dir or 'php RunTests.php'

PHPUnit is no longer maintained by PEAR. To get the current version of
PHPUnit, first uninstall any old version of PHPUnit or PHPUnit2 from PEAR, 
then install the current version from phpunit.de like this:

# pear channel-discover pear.phpunit.de
# pear install phpunit/PHPUnit