wiki.techinc.nl/tests/phpunit/includes
Bartosz Dziewoński e36dcfa4c6 CSSMin: Change behavior for missing files
We would previously return the path to the local file on the
filesystem, which is useless in all cases and possibly a security
issue in some. Now we return the URL at which the file would be
accessible had it existed.

Also reordered the code around that part to make the control flow
clearer and added a test.

Change-Id: I1d5befb2ea385ae4d316c5d8c5d1fc092b64c4ff
2013-12-11 21:21:36 +01:00
..
api Fixed spacing 2013-12-08 20:31:47 +01:00
cache Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
changes Move RecentChangeTest to subdirectory 2013-11-18 16:45:15 +01:00
content Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00
db Fixed spacing 2013-11-21 18:52:25 +00:00
debug Fixed spacing 2013-11-21 18:52:25 +00:00
diff Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00
filebackend filebackend: cleaned up the FileBackend constructor 2013-12-03 13:57:01 -08:00
filerepo filebackend: cleaned up the FileBackend constructor 2013-12-03 13:57:01 -08:00
GlobalFunctions Use lower memory limits 2013-11-23 02:53:55 +05:30
htmlform Split includes/HTMLForm 2013-12-08 23:13:56 +01:00
installer Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
jobqueue Fixed spacing 2013-12-01 20:58:51 +01:00
json Merge "FormatJson: Remove whitespace from empty arrays and objects" 2013-10-25 22:33:12 +00:00
libs CSSMin: Change behavior for missing files 2013-12-11 21:21:36 +01:00
logging Change mode of non-executable files back to 0644 2013-11-05 08:13:32 +01:00
media Merge "tests: beginning of tests for DjVu files" 2013-12-10 22:26:49 +00:00
normal @covers tags for more test classes 2013-10-24 20:35:04 +01:00
objectcache Fix doc error in new incr test 2013-10-23 16:56:05 +00:00
parser Merge "filebackend: cleaned up the FileBackend constructor" 2013-12-10 22:09:21 +00:00
search Merge "@covers tags for more test classes" 2013-10-25 01:09:58 +00:00
site Add @covers tags for more tests 2013-10-21 11:28:39 +02:00
specials Fixed spacing 2013-12-01 20:58:51 +01:00
upload Fixed spacing 2013-11-21 18:52:25 +00:00
utils Fixed spacing 2013-11-21 18:52:25 +00:00
ArticleTablesTest.php Avoid extra parsing in prepareContentForEdit() 2013-11-15 00:18:57 +00:00
ArticleTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
BlockTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
CollationTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
DiffHistoryBlobTest.php Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests 2013-11-24 00:29:57 +00:00
EditPageTest.php Fixed spacing 2013-11-21 18:52:25 +00:00
ExceptionTest.php Fixed spacing 2013-12-08 20:31:47 +01:00
ExternalStoreTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
ExtraParserTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FallbackTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
FauxRequestTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FauxResponseTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FormOptionsInitializationTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FormOptionsTest.php FormOptions: Implement FLOAT type 2013-11-07 23:50:59 +01:00
HooksTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
HtmlFormatterTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
HtmlTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
HttpTest.php Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
LanguageConverterTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
LicensesTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
LinkerTest.php Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
LinkFilterTest.php Fixed spacing 2013-12-01 20:58:51 +01:00
LinksUpdateTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
LocalFileTest.php filebackend: cleaned up the FileBackend constructor 2013-12-03 13:57:01 -08:00
LocalisationCacheTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
MessageTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
MWExceptionHandlerTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
MWFunctionTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
MWNamespaceTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
OutputPageTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
PathRouterTest.php Fixed spacing 2013-11-21 18:52:25 +00:00
PreferencesTest.php Fixed spacing 2013-12-01 20:58:51 +01:00
RequestContextTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
ResourceLoaderModuleTest.php resourceloader: Add definition hashing to improve cache invalidation 2013-12-02 21:45:33 -08:00
ResourceLoaderTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
RevisionStorageTest.php Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00
RevisionStorageTest_ContentHandlerUseDB.php Fixed spacing 2013-11-21 18:52:25 +00:00
RevisionTest.php Fixed spacing 2013-11-21 18:52:25 +00:00
SampleTest.php Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
SanitizerTest.php Merge "Put the HTML attribute whitelist closer to HTML5" 2013-11-02 14:07:07 +00:00
SanitizerValidateEmailTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
SiteConfigurationTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
SpecialPageTest.php Don't assume test user has ID 1 in SpecialPageTest 2013-12-06 13:48:22 +01:00
StatusTest.php Status::getHTML should actually return HTML 2013-12-09 12:14:06 -05:00
TemplateCategoriesTest.php Add a RefreshLinks job when a template is deleted 2013-11-06 12:56:53 -05:00
TestUser.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
TimeAdjustTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
TimestampTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
TitleMethodsTest.php Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00
TitlePermissionTest.php Use lowercase key words 2013-11-23 15:56:42 +01:00
TitleTest.php Make a single colon an invalid title in php and js 2013-12-06 17:44:43 +00:00
UserMailerTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
UserTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
WebRequestTest.php Support CIDR ranges in $wgSquidServersNoPurge 2013-11-07 13:14:23 -07:00
WikiPageTest.php Fixed spacing 2013-11-21 18:52:25 +00:00
WikiPageTest_ContentHandlerUseDB.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
XmlJsTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
XmlSelectTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
XmlTest.php Fix scope on all /phpunit test methods 2013-10-24 10:31:32 +02:00
XmlTypeCheckTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00