Jump to content

Module talk:Icon/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Mr. Stradivarius (talk | contribs) at 09:48, 23 January 2015 (run test cases). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

checkY All tests passed.

Name Expected Actual
checkY test _main: when no icon code is specified, a file link is output
checkY test _main: when an existing icon code is specified, a file link is output
checkY test _main: when an nonexistent icon code is specified, a file link is output
checkY test _main: when an existing code is specified, the relevant image is displayed
checkY test _main: when an existing code is specified, the relevant tooltip is displayed
checkY test _main: when no dimensions are specified, the image is output as 16x16 pixels
checkY test _main: when custom dimensions are specified, the image is output with those dimensions
checkY test _main: codes can have surrounding whitespace
checkY test _main: codes can be upper case
checkY test _main: codes can be specified with the 'class' parameter
checkY test _main: the class parameter has precedence over the first positional parameter
checkY test _main: the class parameter has precedence over the first positional parameter, even if the class parameter is the empty string
checkY test _main: links are suppressed when the entry in the data table has 'link' set to false
checkY test _main: links are not suppressed when the entry in the data table has 'link' set to true
checkY test _main: links are not suppressed when the entry in the data table has no value for 'link'
checkY test Module:Icon/data: codes can be specified as aliases