projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug 1953: refactoring C4::Koha::get_itemtypeinfos_of to eliminate potential SQL injection
[koha.git]
/
t
/
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( findseealso
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
ModBiblios
33
);
34
35
can_ok( $self->testing_class, @methods );
36
}
37
38
1;