From: Adam Dickmeiss Date: Fri, 9 Oct 2009 18:13:11 +0000 (+0200) Subject: Add test for pz:maxrecs X-Git-Tag: v1.2.2~12 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3de46635b68a7db1eacb649f0d4c91f9aea5a099;p=pazpar2-moved-to-github.git Add test for pz:maxrecs --- diff --git a/test/test_http_38.res b/test/test_http_38.res new file mode 100644 index 0000000..42534e3 --- /dev/null +++ b/test/test_http_38.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_http_39.res b/test/test_http_39.res new file mode 100644 index 0000000..ab63fe6 --- /dev/null +++ b/test/test_http_39.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_http_40.res b/test/test_http_40.res new file mode 100644 index 0000000..c78186c --- /dev/null +++ b/test/test_http_40.res @@ -0,0 +1,65 @@ + + +OK +0 +8 +30 +0 +8 + + +UTAH EARTHQUAKE EPICENTERS +UTAH EARTHQUAKE EPICENTERS +0 +title utah earthquake epicenters author medium book + + + +UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS +UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS +0 +title utah geological and mineral survey publications author medium book + + + +APPLIED GEOLOGY FILE +APPLIED GEOLOGY FILE +0 +title applied geology file author medium book + + + +UTAH CRIB FILE +UTAH CRIB FILE +0 +title utah crib file author medium book + + + +MINE MAP INDEX +MINE MAP INDEX +0 +title mine map index author medium book + + + +UTAH GEOLOGIC MAP BIBLIOGRAPHY +UTAH GEOLOGIC MAP BIBLIOGRAPHY +0 +title utah geologic map bibliography author medium book + + + +ELECTRIC LOG LIBRARY +ELECTRIC LOG LIBRARY +0 +title electric log library author medium book + + + +ISOTOPIC DATES OF ROCKS AND MINERALS +ISOTOPIC DATES OF ROCKS AND MINERALS +0 +title isotopic dates of rocks and minerals author medium book + + diff --git a/test/test_http_urls b/test/test_http_urls index 56bd5d0..90f104e 100644 --- a/test/test_http_urls +++ b/test/test_http_urls @@ -42,3 +42,7 @@ http://localhost:9763/search.pz2?session=5&command=search&query=computer&filter= 2 http://localhost:9763/search.pz2?session=5&command=show&start=0&number=1&block=1 http://localhost:9763/search.pz2?session=5&command=search&query=computer&filter=pz%3Aid%3Dunknown +http://localhost:9763/search.pz2?session=3&command=settings&pz:maxrecs%5Bz3950.indexdata.com%2Fgils%5D=8 +http://localhost:9763/search.pz2?session=3&command=search&query=the +2 +http://localhost:9763/search.pz2?session=3&command=show&start=0&number=1&block=1