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)
commit93ba8d0b704e514750e5d8b849f82c7a8060a11e
tree10078b6350f25c4adde4dc2387edf2c170c1bba9
parent41caa8e970034337ad36b376c50de2b0ccc6a14a
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]