From 619158657579a473f5152948ac6b7e0595c0bd80 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 2 Nov 2011 15:26:51 +0100 Subject: [PATCH] More tests for checking that we can re-use result set --- test/test_http.urls | 3 +++ test/test_http_64.res | 2 ++ test/test_http_65.res | 9 +++++++++ test/test_http_66.res | 25 +++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 test/test_http_64.res create mode 100644 test/test_http_65.res create mode 100644 test/test_http_66.res diff --git a/test/test_http.urls b/test/test_http.urls index c6feb28..515f09d 100644 --- a/test/test_http.urls +++ b/test/test_http.urls @@ -61,3 +61,6 @@ http://localhost:9763/search.pz2?command=init&pz:limitmap:author%5Bz3950.indexda http://localhost:9763/search.pz2?session=9&command=settings&pz:limitmap:author%5Bz3950.indexdata.com%2Fmarc%5D=rpn:%40attr+1%3d1003+%40attr+6%3d3 1 http://localhost:9763/search.pz2?session=9&command=search&query=greece&limit=author%3dadam\,+james%7Cother_author 1 http://localhost:9763/search.pz2?session=9&command=show&block=1 +http://localhost:9763/search.pz2?session=9&command=search&query=greece&limit=author%3dadam\,+james%7Cother_author&filter=pz%3Aid%3Dz3950.indexdata.com%2Fmarc +http://localhost:9763/search.pz2?session=9&command=bytarget +http://localhost:9763/search.pz2?session=9&command=show diff --git a/test/test_http_64.res b/test/test_http_64.res new file mode 100644 index 0000000..ab63fe6 --- /dev/null +++ b/test/test_http_64.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_http_65.res b/test/test_http_65.res new file mode 100644 index 0000000..b24d50f --- /dev/null +++ b/test/test_http_65.res @@ -0,0 +1,9 @@ + +OK +z3950.indexdata.com/marc +Index Data MARC test server +1 +0 +1 +Client_Idle + \ No newline at end of file diff --git a/test/test_http_66.res b/test/test_http_66.res new file mode 100644 index 0000000..ecb7374 --- /dev/null +++ b/test/test_http_66.res @@ -0,0 +1,25 @@ + +OK +0 +1 +1 +0 +1 + + +The religious teachers of Greece +1972 +Adam, James +Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures +The religious teachers of Greece +1972 +Adam, James +Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures +Includes bibliographical references +XXXXXXXXXX +test-usersetting-2 data: + YYYYYYYYY +120000 +content: title the religious teachers of greece author adam james medium book + + \ No newline at end of file -- 1.7.10.4