]> git.koha-community.org Git - koha.git/commit
Bug 6536: QA Follow-up: Add some unit tests for Z3950Search in Breeding.pm
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 27 Aug 2014 14:45:56 +0000 (16:45 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 1 Sep 2014 13:09:17 +0000 (10:09 -0300)
commitaedb3e3df8fbe1b4731e2fbfc7453c84bd9925e5
tree171a7b8f46de056ed0e729f4d43542fee66e829f
parent91d5a8384939b6a6a6082ccaef69645ef31f91e2
Bug 6536: QA Follow-up: Add some unit tests for Z3950Search in Breeding.pm

This patch may serve as a starting point for more unit tests in this part
of the code.
In this patch most internal subroutines of Z3950Search are covered.
In the XSLT part we reuse a XSL template from the XSLT_Handler.t test.
It needed a little tweaking for namespaces. And added the indicators on
the 990 field.

Test plan:
Run both Breeding.t and XSLT_Handler.t.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Breeding.t [new file with mode: 0644]
t/db_dependent/XSLT_Handler/test01.xsl