mediawiki-extensions-ImageMap/imageMapParserTests.txt
Antoine Musso cd635484c9 Introduce a basic parser tests
This change introduce parser tests support for the extension with a
single dummy test case.  That will make it easier to add more tests
later on.

Change-Id: I757f13a3799b771931de8933eb7eabeb3b4b8f8d
2014-06-03 16:00:06 +02:00

11 lines
479 B
Plaintext

!! test
dummy test
!! input
<imagemap>
Image:Foobar.jpg
</imagemap>
!! result
<div class="noresize" style="height: 220px; width: 1941px; "><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220"/><div style="margin-left: 1921px; margin-top: -20px; text-align: left;"><a href="/wiki/File:Foobar.jpg" title="About this image"><img alt="About this image" src="/extensions/ImageMap/desc-20.png" style="border: none;"/></a></div></div>
!! end