Merge remote-tracking branch 'origin/new/bug_5327'
[koha_fer] / t / db_dependent / lib / KohaTest / Biblio.pm
1 package KohaTest::Biblio;
2 use base qw( KohaTest );
3
4 use strict;
5 use warnings;
6
7 use Test::More;
8
9 use C4::Biblio;
10 sub testing_class { 'C4::Biblio' };
11
12
13 sub methods : Test( 1 ) {
14     my $self = shift;
15     my @methods = qw(
16                        AddBiblio
17                        ModBiblio
18                        ModBiblioframework
19                        DelBiblio
20                        LinkBibHeadingsToAuthorities
21                        GetBiblioData
22                        GetBiblioItemData
23                        GetBiblioItemByBiblioNumber
24                        GetBiblioFromItemNumber
25                        GetBiblio
26                        GetBiblioItemInfosOf
27                        GetMarcStructure
28                        GetUsedMarcStructure
29                        GetMarcFromKohaField
30                        GetMarcBiblio
31                        GetXmlBiblio
32                        GetAuthorisedValueDesc
33                        GetMarcNotes
34                        GetMarcSubjects
35                        GetMarcAuthors
36                        GetMarcUrls
37                        GetMarcSeries
38                        GetFrameworkCode
39                        GetPublisherNameFromIsbn
40                        TransformKohaToMarc
41                        TransformHtmlToXml
42                        TransformHtmlToMarc
43                        TransformMarcToKoha
44                        _get_inverted_marc_field_map
45                        _disambiguate
46                        get_koha_field_from_marc
47                        TransformMarcToKohaOneField
48                        PrepareItemrecordDisplay
49                        ModZebra
50                        GetNoZebraIndexes
51                        _DelBiblioNoZebra
52                        _AddBiblioNoZebra
53                        _find_value
54                        _koha_marc_update_bib_ids
55                        _koha_marc_update_biblioitem_cn_sort
56                        _koha_add_biblio
57                        _koha_modify_biblio
58                        _koha_modify_biblioitem_nonmarc
59                        _koha_add_biblioitem
60                        _koha_delete_biblio
61                        _koha_delete_biblioitems
62                        ModBiblioMarc
63                        z3950_extended_services
64                        set_service_options
65                        get_biblio_authorised_values
66                 );
67     
68     can_ok( $self->testing_class, @methods );    
69 }
70
71 1;
72