Koha/t/lib/KohaTest/Search.pm
Galen Charlton 3f49ad62c8 bug 3236: remove disused scripts and a function
Removed opac/opac-dictionary.pl and catalogue/dictionary.pl,
which were not in use and not linked to from any active
template files.  According to Henri, the functionality that
these scripts implemented hasn't been working since 2.2.

Also removed C4::Search::findseealso(), which was used
only by the two scripts.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-20 08:37:58 -05:00

37 lines
883 B
Perl

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
NZgetRecords
NZanalyse
NZoperatorAND
NZoperatorOR
NZoperatorNOT
NZorder
);
can_ok( $self->testing_class, @methods );
}
1;