4ad190b0b84d0ec51d139af95f2e90cc49497c2a
[koha-equinox.git] / t / db_dependent / lib / KohaTest / Search.pm
1 package KohaTest::Search;
2 use base qw( KohaTest );
3
4 use strict;
5 use warnings;
6
7 use Test::More;
8
9 use C4::Search;
10 sub testing_class { 'C4::Search' };
11
12
13 sub methods : Test( 1 ) {
14     my $self = shift;
15     my @methods = qw(
16                       FindDuplicate
17                       SimpleSearch
18                       getRecords
19                       pazGetRecords
20                       _remove_stopwords
21                       _detect_truncation
22                       _build_stemmed_operand
23                       _build_weighted_query
24                       buildQuery
25                       searchResults
26                       NZgetRecords
27                       NZanalyse
28                       NZoperatorAND
29                       NZoperatorOR
30                       NZoperatorNOT
31                       NZorder
32                 );
33     
34     can_ok( $self->testing_class, @methods );    
35 }
36
37 1;