Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
679 B
31 lines
679 B
package KohaTest::Search;
|
|
use base qw( KohaTest );
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use Test::More;
|
|
|
|
use C4::Search;
|
|
sub testing_class { 'C4::Search' };
|
|
|
|
|
|
sub methods : Test( 1 ) {
|
|
my $self = shift;
|
|
my @methods = qw(
|
|
FindDuplicate
|
|
SimpleSearch
|
|
getRecords
|
|
pazGetRecords
|
|
_remove_stopwords
|
|
_detect_truncation
|
|
_build_stemmed_operand
|
|
_build_weighted_query
|
|
buildQuery
|
|
searchResults
|
|
);
|
|
|
|
can_ok( $self->testing_class, @methods );
|
|
}
|
|
|
|
1;
|
|
|