From 62ea9b4f4733952c6fe71686b6bbb1f8c5630798 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 20 Jan 2012 13:37:08 +0100 Subject: [PATCH] Add test for invalid PQF --- test/test_url.urls | 2 ++ test/test_url_13.res | 2 ++ test/test_url_14.res | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 test/test_url_13.res create mode 100644 test/test_url_14.res diff --git a/test/test_url.urls b/test/test_url.urls index 5c2ddaf..9d0ebc5 100644 --- a/test/test_url.urls +++ b/test/test_url.urls @@ -10,3 +10,5 @@ http://localhost:9763/search.pz2?session=1&command=search&query=the&maxrecs=3 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:0 http://localhost:9763/search.pz2?command=init&clear=1&pz:elements%5Bmy%5D=F&pz:requestsyntax%5Bmy%5D=usmarc&pz:nativesyntax%5Bmy%5D=iso2709&pz:xslt%5Bmy%5D=marc21_test.xsl&pz:name%5Bmy%5D=marcserver&pz:url%5Bmy%5D=z3950.unknown.indexdata.com%2Fmarc http://localhost:9763/search.pz2?session=2&command=search&query=fail +http://localhost:9763/search.pz2?command=init&clear=1&pz:elements%5Bmy%5D=F&pz:requestsyntax%5Bmy%5D=usmarc&pz:nativesyntax%5Bmy%5D=iso2709&pz:xslt%5Bmy%5D=marc21_test.xsl&pz:name%5Bmy%5D=marcserver&pz:url%5Bmy%5D=z3950.indexdata.com%2Fmarc&pz:pqf_strftime%5Bmy%5D=fail+%25%25 +http://localhost:9763/search.pz2?session=3&command=search&query=fail diff --git a/test/test_url_13.res b/test/test_url_13.res new file mode 100644 index 0000000..8ebfab8 --- /dev/null +++ b/test/test_url_13.res @@ -0,0 +1,2 @@ + +OK31 \ No newline at end of file diff --git a/test/test_url_14.res b/test/test_url_14.res new file mode 100644 index 0000000..e2db1ca --- /dev/null +++ b/test/test_url_14.res @@ -0,0 +1,2 @@ + +query \ No newline at end of file -- 1.7.10.4