Kunal Mehta
ff18d57c63
Rewrite IEUrlExtensionTest using a data provider
...
Change-Id: I67568f997d682b88ad99676a57b85395b1b20f85
2018-06-08 23:07:38 -07:00
Umherirrender
63d96c15fd
build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
...
Change-Id: I59b59f79bbf3ce4feff3b3a20c1c31bc16370531
2018-02-17 13:29:13 +01:00
Kunal Mehta
75160bdd3b
Use MediaWikiCoversValidator for tests that don't use MediaWikiTestCase
...
Change-Id: I8c4de7e9c72c9969088666007b54c6fd23f6cc13
2018-01-01 08:28:02 +00:00
Timo Tijhof
2d9324aa8f
IEUrlExtension: Add tests for the main use case the lib exists for
...
There are plenty of tests for the basic behaviour of the extension
detector and how IE favours the extension from the first question mark
segment that has a dot in the next segment.
But it was missing a test for the main use case the library exists
for, which is extensions in query strings when there is a file name
with extension already (but the dot is urlencoded).
Change-Id: I0f2e1387ae42da68020f1d793bb9eb5a87a06f24
2015-08-28 13:30:31 +02:00
Chad Horohoe
59afd687ce
Convert most libs/ tests to use PHPUnit_Framework_TestCase
...
They don't actually need any of the mess that MediaWikiTestCase provides
Change-Id: Ibd067480fc294096d1249132cb800e09889efb18
2014-12-29 20:53:24 -08:00
addshore
749599fc3c
@covers tags for unit tests
...
Change-Id: I2b486b38326bf23bd379efba2142034e24c0745f
2013-10-24 18:22:57 +01:00
addshore
de7af7ac2c
Fix scope on all /phpunit test methods
...
Change-Id: I3ce92463d485a0fb23e464e9a8059330f32d79af
2013-10-24 10:31:32 +02:00
Tim Starling
ab6758a697
SECURITY: Fix extension detection with 2 .'s
...
Fix IE6 extension detection, to prevent XSS in the API response.
Bug: 52746
Change-Id: If58a81b62209b36bd143a1766a8a20c9c34dbe3b
2013-09-03 22:10:31 +00:00
Siebrand Mazeland
de04f37ef1
Update formatting
...
5 of n.
Change-Id: I811ca957b6588085d67606ebc0cd4033a1e53839
2013-02-15 12:35:50 +00:00
Tim Starling
d5294e3b73
Test filename updates for r89558.
2011-06-06 12:00:57 +00:00