X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=t%2F12-query.t;h=459cbc913145b5b459c84882e5bdd3595e72e4ae;hb=e693b63bf2210534b6c48a03b797cc7d2eeef890;hp=39ff9419a1dbd7f678515cbb4c62fb39e8f8dedb;hpb=692fb30bc0ab6d6e1536405ed7040ecd2b7c94ce;p=ZOOM-Perl-moved-to-github.git diff --git a/t/12-query.t b/t/12-query.t index 39ff941..459cbc9 100644 --- a/t/12-query.t +++ b/t/12-query.t @@ -1,4 +1,4 @@ -# $Id: 12-query.t,v 1.7 2006-06-15 15:43:19 mike Exp $ +# $Id: 12-query.t,v 1.10 2006-11-03 09:50:58 mike Exp $ # Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 12-query.t' @@ -46,7 +46,7 @@ ok(1, "destroyed complex query"); # no other uses of query objects -- but we need to establish a # connection for it to work on first. -my $host = "indexdata.com/gils"; +my $host = "z3950.indexdata.com/gils"; my $conn = Net::Z3950::ZOOM::connection_new($host, 0); my($errcode, $errmsg, $addinfo) = (undef, "dummy", "dummy"); $errcode = Net::Z3950::ZOOM::connection_error($conn, $errmsg, $addinfo); @@ -107,7 +107,6 @@ $q = Net::Z3950::ZOOM::query_create(); ok(defined $q, "create empty query"); my($ccl_errcode, $ccl_errstr, $ccl_errpos) = (0, "", 0); -### change documentation $res = Net::Z3950::ZOOM::query_ccl2rpn($q, 'ti=utah and', "ti u=4 s=pw\nab u=62 s=pw", @@ -120,8 +119,6 @@ Net::Z3950::ZOOM::query_destroy($q); # Do a successful client-compiled CCL search $q = Net::Z3950::ZOOM::query_create(); ok(defined $q, "create empty query"); -Net::Z3950::ZOOM::connection_option_set($conn, cclfile => - "samples/ccl/default.bib"); $res = Net::Z3950::ZOOM::query_ccl2rpn($q, 'ti=utah and ab=epicenter', "ti u=4 s=pw\nab u=62 s=pw",