wiki.techinc.nl/tests/phpunit/includes
Tim Starling b4311ca022 Fixes for r90105, r90193:
* Actually removed $wgProto.
* Per Aryeh's suggestions on the future of $wgServer: made $wgServer detection in DefaultSettings.php more permanent by merging it with the new code from r90105. This means that bug 14977 is properly fixed now. 
* Require entry points to set up the autoloader before including DefaultSettings.php. Comments on bug 14977 indicate that at some point in the past, this may have broken something. Anything that breaks now should just be fixed, we need the autoloader. Tested the most common entry points.
* Since the detection code has moved from Installer to WebRequest, I also moved the relevant test file and updated the test. The function under test is now public static, so r90154 is superseded.
2011-06-16 05:52:16 +00:00
..
api Fix some of the weird freaky interaction between ApiBlockTest and BlockTest. 2011-06-03 06:22:18 +00:00
db Also check indexes in SQLite upgrade tests 2011-06-15 17:59:02 +00:00
libs Test filename updates for r89558. 2011-06-06 12:00:57 +00:00
media Start on test cases for bug 6672 (Exif orientation support), follow up to r79845. 2011-06-13 22:13:38 +00:00
normal Only run CleanUpTest on a quarter of the cases. 2011-05-28 08:38:14 +00:00
parser * Remove @static from the last few places it's left in core. Please don't use this silly annotation anymore, that's what the static keyword is for. 2011-06-14 01:56:55 +00:00
search Use getSearchEngine() instead of constructing class name manually 2011-06-03 19:55:37 +00:00
specials Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
ArticleTablesTest.php Reinstate r79122 (fix for bug 14404), reverting r83868. The real bug seem to have been r86131, fixed in r88902 (1.17) and r88902 (1.18). 2011-06-07 22:28:57 +00:00
BlockTest.php Fix for BlockTest -- when setup ran multiple times, the block entry wouldn't get re-saved and we'd end up with null or 0 as our block id. 2011-06-15 20:43:24 +00:00
CdbTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
ExternalStoreTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
ExtraParserTest.php Also change $wgLanguageCode along with $wgContLang, this was breaking when arriving at LanguageConverterTest with "nooo!" 2011-05-25 18:37:32 +00:00
FormOptionsInitializationTest.php Followup r86800, add missing () 2011-04-29 17:51:50 +00:00
FormOptionsTest.php Another empty "Has not been implemented" test 2011-06-15 23:17:11 +00:00
GlobalTest.php Also change $wgLanguageCode along with $wgContLang, this was breaking when arriving at LanguageConverterTest with "nooo!" 2011-05-25 18:37:32 +00:00
HooksTest.php Fixup whitespace from r80445 2011-03-27 01:27:02 +00:00
HttpTest.php Followup to r89452, remove ftp test cases since Http::isValidUri() doesn't do ftp anymore 2011-06-16 02:58:00 +00:00
ImageFunctionsTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
IPTest.php * (bug 28798) Set $wgServer in the default LocalSettings.php 2011-06-15 07:35:47 +00:00
JsonTest.php Add JSON test case 2011-01-03 21:14:51 +00:00
LanguageConverterTest.php Followup 90161 (which breaks the test). Need to hack around to avoid a reload from db. 2011-06-15 21:32:08 +00:00
LicensesTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
LocalFileTest.php Follow up r87210 2011-05-01 23:02:27 +00:00
MessageTest.php Follow up r89585. Clean up after the test, expand inContentLanguage() comment. 2011-06-06 21:24:23 +00:00
MWFunctionTest.php Followup r79523: Test that calling self:: and parent:: throws exception 2011-01-03 21:14:22 +00:00
MWNamespaceTest.php Extend MediaWikiTestCase in a few places 2011-05-25 00:30:06 +00:00
NewDBTest.php Follow up r79109. 2010-12-29 15:01:47 +00:00
ParserOptionsTest.php Stop stubbing $wgLang and $wgContLang. There are no major code paths which do not call either $wgLang or $wgContLang at least once. All index.php calls unstub $wgContLang from MediaWiki::parseTitle() except in the edgecase of viewing pages referenced only by "curid=123", and since those will end up calling OutputPage::output() they will eventually be unstubbed at some point as well. All calls through load.php unstub $wgLang in ResourceLoaderContext::getLanguage() from ResouceLoader::respond() --> ResourceLoader::preloadModuleInfo(). All calls through api.php unstub $wgContLang in ApiResult::cleanUpUTF8() from ApiMain::printResult(). 2011-04-23 15:19:38 +00:00
Providers.php Makes MediaWikiProvide methods static 2011-03-10 20:24:04 +00:00
ResourceLoaderTest.php Added phpunit test cases for r87497, r88076: ResourceLoader module name prefix collapsing 2011-06-07 17:56:40 +00:00
RevisionTest.php In tests, remove references to wgInputEncoding and wgOutputEncoding 2011-05-15 12:09:59 +00:00
SampleTest.php Follow-up r90150, another parent::setUp missing. 2011-06-15 21:03:08 +00:00
SanitizerTest.php (Bug 27539) Allow attributes beginning with a digit in wiktext tag parameters. 2011-02-19 20:16:54 +00:00
SeleniumConfigurationTest.php Blindly fix the error produced in r82880. 2011-02-28 15:16:40 +00:00
SiteConfigurationTest.php * verbose and color default output from phpunit 2010-12-28 18:17:16 +00:00
TimeAdjustTest.php Followup to r90090 -- thou shalt add parent:: calls to both overridden tearDown *and* overridden setUp () 2011-06-15 20:51:17 +00:00
TitlePermissionTest.php Fix unit tests for r89515 2011-06-05 18:42:50 +00:00
TitleTest.php Follow-up to r88667; finish reverting bogus test cases from r87964. It looks like these cases need to be re-added, but correctly; for instance getLocalUrl() **DOES NOT** return something in $wgArticlePath space when an action is given that's not view. It **MUST** return the matching $wgActionPath or else use $wgScript directly, to ensure that URL structuring rules & security rules are followed. 2011-05-23 20:24:09 +00:00
UploadFromUrlTest.php Follow-Up r85618: 2011-04-11 16:41:23 +00:00
UploadTest.php Tweak documentation 2011-02-27 21:11:45 +00:00
UserIsValidEmailAddrTest.php Bug 26948 - hyphens incorrectly interpreted as range 2011-01-27 20:52:12 +00:00
WebRequestTest.php Fixes for r90105, r90193: 2011-06-16 05:52:16 +00:00
XmlJsTest.php Extend MediaWikiTestCase in a few places 2011-05-25 00:30:06 +00:00
XmlSelectTest.php tests for XmlSelect::GetAttributes() 2011-05-12 20:07:57 +00:00
XmlTest.php Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely. 2011-05-17 22:03:20 +00:00
ZipDirectoryReaderTest.php * (bug 24230) Added JAR detection. ZIP archives containing a .class file will be rejected by default. Malformed ZIP archives will be rejected due to the danger of ambiguous parsing on the client side. 2011-02-25 04:51:17 +00:00