mediawiki-extensions-Visual.../modules/ve-mw/tests/dm
Thiemo Kreuz 55beccbb79 Tests for some trivial but critical template model methods
Not only do we want to make sure getUniquePartId() always starts
at 0 and increments correctly, it should return a number (and
not e.g. "part_0").

I realize the getTitle() test is also testing functionality from
mw.libs.ve.… (can be found in the file ve.utils.parsoid.js).
This is intentional. What we care about at this point is not a
library but the very specific functionality of a very specific
method we use quite a lot in code we touch.

Bug: T289560
Change-Id: I43c1d00dacf27a68b16f62ecca4adda22f437391
2021-08-27 12:49:06 +00:00
..
models Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
nodes Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.Converter.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.Document.test.js Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.mwExample.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWImageModel.test.js Remove not needed boilerplate from QUnit tests 2021-08-25 12:01:14 +00:00
ve.dm.MWInternalLinkAnnotation.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWTemplateModel.test.js Tests for some trivial but critical template model methods 2021-08-27 12:49:06 +00:00
ve.dm.MWTransclusionModel.test.js Tests for some trivial but critical template model methods 2021-08-27 12:49:06 +00:00
ve.dm.SurfaceFragment.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00