Bug 11826: Add unit tests for Koha::XSLT_Handler
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 21 Feb 2014 16:21:55 +0000 (17:21 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 03:52:45 +0000 (03:52 +0000)
Bug 11826: Add unit tests for Koha::XSLT_Handler

Test plan:
Verify if XSLT_Handler.t passes.
You could also sabotage the test by removing one of the test xsl files.
Or you could 'repair' the bad xsl file (test02). Remove the second line
redefining the xsl variable.
In all those cases the unit test should fail now.. Discard your changes :)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Test pass. No koha-qa errors.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/XSLT_Handler.t [new file with mode: 0644]
t/db_dependent/XSLT_Handler/test01.xsl [new file with mode: 0644]
t/db_dependent/XSLT_Handler/test02.xsl [new file with mode: 0644]
t/db_dependent/XSLT_Handler/test03.xsl [new file with mode: 0644]