X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FSearch%2FDan1.pm;h=0c3ce352f0d14b50ce0f29f994fae1c96f69cf8f;hp=837a5e3e38fb1ea3856d4ab9d929b2276e4031f6;hb=0efdae771415f6d2aca5a9a30d8c5364da01299e;hpb=70d8943f414865746494f471cb3db81c85a65799 diff --git a/lib/ZOOM/IRSpy/Test/Search/Dan1.pm b/lib/ZOOM/IRSpy/Test/Search/Dan1.pm index 837a5e3..0c3ce35 100644 --- a/lib/ZOOM/IRSpy/Test/Search/Dan1.pm +++ b/lib/ZOOM/IRSpy/Test/Search/Dan1.pm @@ -1,4 +1,4 @@ -# $Id: Dan1.pm,v 1.5 2006-10-27 09:56:07 sondberg Exp $ +# $Id: Dan1.pm,v 1.6 2007-02-23 15:03:44 mike Exp $ # See the "Main" test package for documentation @@ -21,7 +21,7 @@ sub start { foreach my $attr (@attrs) { $conn->irspy_search_pqf("\@attr dan1 1=$attr mineral", {'attr' => $attr}, {}, - ZOOM::Event::RECV_SEARCH, \&found, + ZOOM::Event::ZEND, \&found, exception => \&error); } } @@ -48,6 +48,7 @@ sub error { $exception); update($conn, $attr, 0); + ### How about TEST_BAD if $exception->code() == 121? return ZOOM::IRSpy::Status::TASK_DONE; }