Commit graph

11 commits

Author SHA1 Message Date
Reedy f647423039 Correct namespacing to match best practices
Bug: T303105
Change-Id: Ic09ed23c4248e74f93e5807212fe73d241251281
2022-03-05 15:06:59 +00:00
James D. Forrester 57d561a797 phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException and make pass
Change-Id: I5a0fc6dc753e3d3a0192647304d4b02e467f23a5
2019-10-12 03:10:31 +00:00
Max Semenik 1e8444fad1 Improve ExprParser test coverage
Had to change a bit how ExprError is used, to prevent having to turn unit
tests into ingergation tests, adding 5 seconds to run time.

Change-Id: Id4e158f3a4418d320b1c0bdac834ebbba03762af
2019-09-05 15:37:21 -07:00
Max Semenik 890874c771 Mark ExpressionTest as unit
Change-Id: I0321a100ff60b3adf7e0aec400287a5be7384541
2019-07-22 00:42:21 -07:00
Max Semenik f53debae7d Namespace this extension
Change-Id: I0c7719f17f74180a4c85f914888262f7e3b13111
2019-04-03 19:20:14 -07:00
Max Semenik 593529bc72 Simplify test code
No point in having a property and setUp() just to create a
parameterless class.

Change-Id: I5e7838004d306aac767380280280eed3108e2253
2019-03-27 20:53:55 -07:00
Umherirrender 99659b32c2 Add method scope visibility
Change-Id: I116b91653c01ace9fa0d9a49f2fa43375ef2924d
2018-11-01 19:50:46 +01:00
Kunal Mehta be4f4b1858 Add @covers tag
Change-Id: Ib12892b36b2d1254cfcc861a3a84d859d5834a3f
2018-02-16 20:57:24 -08:00
Kunal Mehta 908f029b80 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: Iaa65f1987144baffd480d082538547fc9cf2c15b
2017-06-25 13:48:36 +00:00
Umherirrender 04e4c1b300 Add phpcs and make pass
Change-Id: I8f985ca83223f1a2fdb4365294701f3b1d9b019b
2017-06-06 19:51:28 +00:00
Reedy adf6a2edc8 Remove 'UnitTestList' hook
No longer needed now that extension unittests are autodiscovered.

Bug: T142120
Bug: T142121
Change-Id: I075b7f6b5e11ead988b0baba5d85745dbb9ac480
2016-08-05 21:24:45 +01:00