Bug 8252: (follow-up) make it easier to add UNIMARC indexing tests
authorGalen Charlton <gmc@esilibrary.com>
Thu, 10 Oct 2013 17:58:30 +0000 (17:58 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 10 Oct 2013 17:58:30 +0000 (17:58 +0000)
commite3ccbe145ce0f93d0db3d47da1ef7f2cdeb259af
tree2712d7ba4e15676cd394c90b05c16c0a4a93c4a6
parent104c10b248e34e4f0740b0960ba61becae90d81f
Bug 8252: (follow-up) make it easier to add UNIMARC indexing tests

This patch refactors t/db_dependent/Search.t so that it can be
subsequently modified to add tests for indexing and searching
UNIMARC records without duplicating the setup code.

This patch also moves the MARC21 records from t/db_dependent/data/zebraexport
to t/db_dependent/data/marc21/zebraexport so that UNIMARC sample
data can be slotted in t/db_dependent/data/unimarc/zebraexport.

To test:

[1] Verify that prove -v t/db_dependent/Search.t passes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Search.t
t/db_dependent/data/marc21/zebraexport/authority/exported_records [new file with mode: 0644]
t/db_dependent/data/marc21/zebraexport/biblio/exported_records [new file with mode: 0644]
t/db_dependent/data/zebraexport/authority/exported_records [deleted file]
t/db_dependent/data/zebraexport/biblio/exported_records [deleted file]