Sam Reed
|
c07330264d
|
Tweak documentation
Fix constant use in UploadTest
|
2011-02-27 21:11:45 +00:00 |
|
Platonides
|
593c746d37
|
Do r82017 the right way. Fix pointed by Bryan.
|
2011-02-12 15:18:59 +00:00 |
|
Platonides
|
585e1b7c61
|
Follow up r81883. Readd the extension. This kind of breaks the tempnam() guarantee, but otherwise with no extension the uploader returns UploadBase::FILETYPE_MISSING, not UploadBase::SUCCESS.
|
2011-02-12 14:58:16 +00:00 |
|
Platonides
|
b20adcfd8e
|
Fix for r80992. Remove posix extension requisite. Made to work in non-Unix systems.
Replaced fseek+fwrite with ftruncate()
|
2011-02-10 10:48:02 +00:00 |
|
Antoine Musso
|
045772c641
|
Test uploading a file of size $wgMaxUploadSize
TODO: method testMaxUploadSize() shoud be able to use differents
settings. The assertion could then get moved elsewhere in a nice
helper.
|
2011-01-25 21:26:28 +00:00 |
|
Chad Horohoe
|
447529064b
|
* verbose and color default output from phpunit
* Make a bunch of tests subclass MediaWikiTestCase
* Parser tests and ResourceLoaderTest can't subclass it yet due to various issues
|
2010-12-28 18:17:16 +00:00 |
|
Sam Reed
|
03e4248def
|
Properly qualify usage of class constants
|
2010-12-22 00:25:16 +00:00 |
|
Chad Horohoe
|
23f69f10ed
|
Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're not strictly maintenance scripts, and some people want to do a selective checkout that doesn't include the tests. There's still debate on whether we should include these in the release downloads, but we had a pretty firm consensus to move this.
|
2010-12-14 16:26:35 +00:00 |
|