X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FSearch%2FDan1.pm;fp=lib%2FZOOM%2FIRSpy%2FTest%2FSearch%2FDan1.pm;h=0c3ce352f0d14b50ce0f29f994fae1c96f69cf8f;hb=4404b40258aa7c44a9126e56098f3b8459b69a96;hp=837a5e3e38fb1ea3856d4ab9d929b2276e4031f6;hpb=84acd526f73979800d20f054101e487a058db857;p=irspy-moved-to-github.git 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; }