mediawiki-extensions-Math/tests/phpunit
Moritz Schubotz (physikerwelt) f534146597
Implement hline support for matrix
In MathML outer table boarders are represented with the
notation attribute of an menclose element. The inner
boarders are represented by the rowlines attribute
of the mtable element. The rowline element accepts
a space seperated list of row boarders. In LaTeX
the bottom line is represented by a new matrix row
that only contains \hline.

This change discover \hline elements in matrix cells
and then determines if it is in the first or last line.
When it is in the last line, the line is removed to avoid
an empty <mtr /> in the output.

Bug: T366417
Change-Id: I196e0d14a183a63696363f9e3006cf65571dc56c
2024-06-03 19:15:43 +02:00
..
data/restbase Enable most tests which were previously disabled 2021-08-12 08:57:58 -07:00
InputCheck Fix purging of cache in native mode 2024-02-05 20:56:19 +01:00
integration LaTeXML: Remove SVG fallback images 2024-06-03 07:06:24 +00:00
unit Implement hline support for matrix 2024-06-03 19:15:43 +02:00
DummyPropertyDataTypeLookup.php Move test helper classes into own class file 2019-12-06 21:47:52 +01:00
MathCacheTest.php Remove explicit DB access 2024-01-11 15:57:02 +00:00
MathDataUpdaterTest.php Use namespaced classes 2024-01-06 16:30:26 +01:00
MathFormatterTest.php Use namespaced IDatabase class 2023-08-19 12:03:02 +08:00
MathIdTest.php Remove PNG rendering mode 2022-11-21 18:57:27 +00:00
MathLaTeXMLCacheTest.php Remove explicit DB access 2024-01-11 15:57:02 +00:00
MathLaTeXMLTest.php MediaWikiTestCase -> MediaWikiIntegrationTestCase 2021-10-12 00:51:10 +02:00
MathMathMLTest.php LaTeXML: Remove SVG fallback images 2024-06-03 07:06:24 +00:00
MathMLRdfBuilderTest.php Use namespaced IDatabase class 2023-08-19 12:03:02 +08:00
MathMockHttpTrait.php Math: test usage of URL in HttpMultiClient 2023-05-08 18:19:30 +00:00
MathNativeMMLTest.php Use namespaced IDatabase class 2023-08-19 12:03:02 +08:00
MathoidCliTest.php MediaWikiTestCase -> MediaWikiIntegrationTestCase 2021-10-12 00:51:10 +02:00
MathRendererTest.php Remove explicit DB access 2024-01-11 15:57:02 +00:00
MathRestbaseInterfaceTest.php Remove functional dead code about PNG images 2023-10-30 10:46:08 +00:00
MathSourceTest.php Remove some unused methods. 2022-06-27 18:20:06 +00:00
MathValidatorTest.php MediaWikiTestCase -> MediaWikiIntegrationTestCase 2021-10-12 00:51:10 +02:00