mediawiki-extensions-Visual.../modules/ve-mw/tests/dm
Bartosz Dziewoński 2512baa68e Add Converter test cases for captions in images and gallery images
Many of the details of the behavior don't really matter, but
I suppose it doesn't hurt to document them.

We really want to test two things:
* When converting from DOM to model data, a <mwImageCaption>
  or <mwGalleryImageCaption> is always generated, even if
  DOM has no caption.
* Model data that doesn't have <mwImageCaption> or
  <mwGalleryImageCaption> is nevertheless still valid and
  converting it to DOM doesn't fail.

Follow-up to Ie82fb339f6bd8ae1b289235bf5402490722d9a7c.

Change-Id: I0a10351e9c1589afbee76d8a85f869987de3de22
2018-08-14 11:02:09 +02:00
..
nodes Replace deepEqual with strictEqual for non-objects 2018-06-19 16:00:28 +01:00
ve.dm.Converter.test.js doc: Bump copyright year 2018-01-03 17:45:07 +00:00
ve.dm.Document.test.js Update VE core submodule to master (ca771b8bc) 2018-03-06 12:55:30 +00:00
ve.dm.mwExample.js Add Converter test cases for captions in images and gallery images 2018-08-14 11:02:09 +02:00
ve.dm.MWImageModel.test.js doc: Bump copyright year 2018-01-03 17:45:07 +00:00
ve.dm.MWInternalLinkAnnotation.test.js Replace deepEqual with strictEqual for non-objects 2018-06-19 16:00:28 +01:00
ve.dm.SurfaceFragment.test.js doc: Bump copyright year 2018-01-03 17:45:07 +00:00