From 2b572523d23e11860baea95617973fef2a87f57e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 16 Jan 2012 16:19:07 +0100 Subject: [PATCH] Add new tests for sort with active clients --- test/test_filter.urls | 4 + test/test_filter_14.res | 2 + test/test_filter_15.res | 2 + test/test_filter_16.res | 320 ++++++++++++++++++++++++++++++++++++++++++++++ test/test_filter_17.res | 327 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 655 insertions(+) create mode 100644 test/test_filter_14.res create mode 100644 test/test_filter_15.res create mode 100644 test/test_filter_16.res create mode 100644 test/test_filter_17.res diff --git a/test/test_filter.urls b/test/test_filter.urls index a0c93ba..ad8423f 100644 --- a/test/test_filter.urls +++ b/test/test_filter.urls @@ -11,3 +11,7 @@ http://localhost:9763/search.pz2?session=1&command=termlist&name=author,date,sub http://localhost:9763/search.pz2?session=1&command=search&query=the&filter=pz%3Aid%3Dz3950.indexdata.com%2Fmarc http://localhost:9763/search.pz2?session=1&command=show&block=1 http://localhost:9763/search.pz2?session=1&command=termlist&name=author,date,subject,xtargets +http://localhost:9763/search.pz2?command=init +http://localhost:9763/search.pz2?session=2&command=search&query=the&filter=pz%3Aid%3Dlocalhost%3A9999%2FSlow +http://localhost:9763/search.pz2?session=2&command=show&sort=title:0&block=1 +http://localhost:9763/search.pz2?session=2&command=show&sort=title:0&block=1 diff --git a/test/test_filter_14.res b/test/test_filter_14.res new file mode 100644 index 0000000..2b3989e --- /dev/null +++ b/test/test_filter_14.res @@ -0,0 +1,2 @@ + +OK21 \ No newline at end of file diff --git a/test/test_filter_15.res b/test/test_filter_15.res new file mode 100644 index 0000000..ab63fe6 --- /dev/null +++ b/test/test_filter_15.res @@ -0,0 +1,2 @@ + +OK \ No newline at end of file diff --git a/test/test_filter_16.res b/test/test_filter_16.res new file mode 100644 index 0000000..1ad5c64 --- /dev/null +++ b/test/test_filter_16.res @@ -0,0 +1,320 @@ + +OK +1 +19 +22 +0 +19 + + +Washington metropolitan area rail computer feasibility study; +final report +1971 +Englund, Carl R +Railroads +"Contract DOT-UT-10003." +Washington metropolitan area rail computer feasibility study; +final report +1971 +Englund, Carl R +Railroads +"Contract DOT-UT-10003." +content: title washington metropolitan area rail computer feasibility study author englund carl r medium book + + + +The use of passwords for controlled access to computer resources +1977 +Wood, Helen M +Computers +The use of passwords for controlled access to computer resources +1977 +Wood, Helen M +Computers +content: title the use of passwords for controlled access to computer resources author wood helen m medium book + + + +Technology programs that work +1984 +United States +Educational technology +Federal aid to education +"This directory was developed by the Technology for the National Diffusion Network Project, Teachers College, Columbia University pursuant to contract number OE-300-83-0253, U.S. Department of Education"--T.p. verso +Technology programs that work +1984 +United States +Educational technology +Federal aid to education +"Spons agency Office of Educational Research and Improvement"--Doc. resume +"This directory was developed by the Technology for the National Diffusion Network Project, Teachers College, Columbia University pursuant to contract number OE-300-83-0253, U.S. Department of Education"--T.p. verso +Distributed to depository libraries in microfiche +"December 1984." +Includes indexes +content: title technology programs that work author medium book + + + +The religious teachers of Greece +1972 +Adam, James +Greek literature +Philosophy, Ancient +Greece +Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures +The religious teachers of Greece +1972 +Adam, James +Greek literature +Philosophy, Ancient +Greece +Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures +Includes bibliographical references +content: title the religious teachers of greece author adam james medium book + + + +Reconstruction tomography in diagnostic radiology and nuclear medicine +proceedings of the workshop +1977 +Tomography +Includes bibliographical references and index +Reconstruction tomography in diagnostic radiology and nuclear medicine +proceedings of the workshop +1977 +Tomography +Includes bibliographical references and index +content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book + + + +The Puget Sound Region +a portfolio of thematic computer maps +1974 +Mairs, John W +Cartography +Puget Sound region (Wash.) +Scale of maps ca. 1:1,000,000 +The Puget Sound Region +a portfolio of thematic computer maps +1974 +Mairs, John W +Cartography +Puget Sound region (Wash.) +Scale of maps ca. 1:1,000,000 +Bibliography: p. 4 +content: title the puget sound region author mairs john w medium book + + + +A plan for community college computer development +1971 +Universities and colleges +Community colleges +Cover title +A plan for community college computer development +1971 +Universities and colleges +Community colleges +Cover title +content: title a plan for community college computer development author medium book + + + +The late shift +Letterman, Leno, and the network battle for the night +1993 +Carter, Bill +Tonight show (Television program) +Letterman, David +Leno, Jay +Talk shows +Includes index +The late shift +Letterman, Leno, and the network battle for the night +1993 +Carter, Bill +Tonight show (Television program) +Letterman, David +Leno, Jay +Talk shows +Includes index +content: title the late shift author carter bill medium book + + + +Internet world +1992 +Internet (Computer network) +Computer networks +Information networks +Computer Systems +Online Systems +Title from caption +Internet world +1992 +Internet (Computer network) +Computer networks +Information networks +Computer Systems +Online Systems +Title from caption +content: title internet world author medium book + + + +Internet +mailing lists +1993 +Internet (Computer network) +Mailing lists +Includes index +Internet +mailing lists +1993 +Internet (Computer network) +Mailing lists +Includes index +content: title internet author medium book + + + +Info Canada +1991 +Includes: Network world Canada, Sept. 1991-Jan. 1992 +Info Canada +1991 +Title from caption +Includes: Network world Canada, Sept. 1991-Jan. 1992 +content: title info canada author medium book + + + +How to program a computer +Jack Collins +How to program a computer +Jack Collins + +How to program a computer +Jack Collins +2 +content: title how to program a computer author jack collins medium book + + + +Four psalms +XXIII, XXXVI, LII, CXXI +1980 +Smith, George Adam +Bible +Four psalms +XXIII, XXXVI, LII, CXXI +1980 +Smith, George Adam +Bible +Bible +Bible +Bible +content: title four psalms author smith george adam medium book + + + +FEDLINK services directory for fiscal year +FEDLINK (Network) +Library information networks +Libraries, Governmental, administrative, etc +Description based on: 1990 +FEDLINK services directory for fiscal year +FEDLINK (Network) +Library information networks +Libraries, Governmental, administrative, etc +Description based on: 1990 +content: title fedlink services directory for fiscal year author medium book + + + +Deuteronomy +1968 +Oberst, Bruce +Bible. O.T. Deuteronomy +Bibliography: p. 449-452 +Deuteronomy +1968 +Oberst, Bruce +Bible. O.T. Deuteronomy +Bibliography: p. 449-452 +content: title deuteronomy author oberst bruce medium book + + + +Computer science & technology +proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 +1977 +Optical pattern recognition +Computer science & technology +proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 +1977 +Optical pattern recognition +content: title computer science technology author medium book + + + +Computer processing of dynamic images from an Anger scintillation camera +the proceedings of a workshop +1974 +Radioisotope scanning +Scintillation cameras +Imaging systems in medicine +Includes bibliographical references and index +Computer processing of dynamic images from an Anger scintillation camera +the proceedings of a workshop +1974 +Radioisotope scanning +Scintillation cameras +Imaging systems in medicine +Includes bibliographical references and index +content: title computer processing of dynamic images from an anger scintillation camera author medium book + + + +The Computer Bible +1973-1980 +Bible. O.T +Bible +Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates +The Computer Bible +1973-1980 +Bible. O.T +Bible +Hebrew and Greek; introductions in English +Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates +content: title the computer bible author medium book + + + +Check this out +library program models +1987 +Seager, Andrew J +Libraries and community +Libraries and education +School libraries +Instructional materials centers +Public libraries +Distributed to depository libraries in microfiche +Check this out +library program models +1987 +Seager, Andrew J +Libraries and community +Libraries and education +School libraries +Instructional materials centers +Public libraries +Distributed to depository libraries in microfiche +"July 1987." +Includes bibliographical references +"LP 87-403c." +content: title check this out author seager andrew j medium book + + \ No newline at end of file diff --git a/test/test_filter_17.res b/test/test_filter_17.res new file mode 100644 index 0000000..677fc5e --- /dev/null +++ b/test/test_filter_17.res @@ -0,0 +1,327 @@ + +OK +0 +21 +22 +0 +20 + + +Washington metropolitan area rail computer feasibility study; +final report +1971 +Englund, Carl R +Railroads +"Contract DOT-UT-10003." +Washington metropolitan area rail computer feasibility study; +final report +1971 +Englund, Carl R +Railroads +"Contract DOT-UT-10003." +content: title washington metropolitan area rail computer feasibility study author englund carl r medium book + + + +The use of passwords for controlled access to computer resources +1977 +Wood, Helen M +Computers +The use of passwords for controlled access to computer resources +1977 +Wood, Helen M +Computers +content: title the use of passwords for controlled access to computer resources author wood helen m medium book + + + +Technology programs that work +1984 +United States +Educational technology +Federal aid to education +"This directory was developed by the Technology for the National Diffusion Network Project, Teachers College, Columbia University pursuant to contract number OE-300-83-0253, U.S. Department of Education"--T.p. verso +Technology programs that work +1984 +United States +Educational technology +Federal aid to education +"Spons agency Office of Educational Research and Improvement"--Doc. resume +"This directory was developed by the Technology for the National Diffusion Network Project, Teachers College, Columbia University pursuant to contract number OE-300-83-0253, U.S. Department of Education"--T.p. verso +Distributed to depository libraries in microfiche +"December 1984." +Includes indexes +content: title technology programs that work author medium book + + + +The religious teachers of Greece +1972 +Adam, James +Greek literature +Philosophy, Ancient +Greece +Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures +The religious teachers of Greece +1972 +Adam, James +Greek literature +Philosophy, Ancient +Greece +Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures +Includes bibliographical references +content: title the religious teachers of greece author adam james medium book + + + +Reconstruction tomography in diagnostic radiology and nuclear medicine +proceedings of the workshop +1977 +Tomography +Includes bibliographical references and index +Reconstruction tomography in diagnostic radiology and nuclear medicine +proceedings of the workshop +1977 +Tomography +Includes bibliographical references and index +content: title reconstruction tomography in diagnostic radiology and nuclear medicine author medium book + + + +The Puget Sound Region +a portfolio of thematic computer maps +1974 +Mairs, John W +Cartography +Puget Sound region (Wash.) +Scale of maps ca. 1:1,000,000 +The Puget Sound Region +a portfolio of thematic computer maps +1974 +Mairs, John W +Cartography +Puget Sound region (Wash.) +Scale of maps ca. 1:1,000,000 +Bibliography: p. 4 +content: title the puget sound region author mairs john w medium book + + + +A plan for community college computer development +1971 +Universities and colleges +Community colleges +Cover title +A plan for community college computer development +1971 +Universities and colleges +Community colleges +Cover title +content: title a plan for community college computer development author medium book + + + +National dissemination model for the I'M SPECIAL Program of Physical Education for the Handicapped, 1983-1986 +final report, I'M SPECIAL network +1986 +Physical education +Handicapped children +Distributed to depository libraries in microfiche +National dissemination model for the I'M SPECIAL Program of Physical Education for the Handicapped, 1983-1986 +final report, I'M SPECIAL network +1986 +Physical education +Handicapped children +Microfiche +Distributed to depository libraries in microfiche +content: title national dissemination model for the i m special program of physical education for the handicapped author medium + + + +The late shift +Letterman, Leno, and the network battle for the night +1993 +Carter, Bill +Tonight show (Television program) +Letterman, David +Leno, Jay +Talk shows +Includes index +The late shift +Letterman, Leno, and the network battle for the night +1993 +Carter, Bill +Tonight show (Television program) +Letterman, David +Leno, Jay +Talk shows +Includes index +content: title the late shift author carter bill medium book + + + +Internet world +1992 +Internet (Computer network) +Computer networks +Information networks +Computer Systems +Online Systems +Title from caption +Internet world +1992 +Internet (Computer network) +Computer networks +Information networks +Computer Systems +Online Systems +Title from caption +content: title internet world author medium book + + + +Internet +mailing lists +1993 +Internet (Computer network) +Mailing lists +Includes index +Internet +mailing lists +1993 +Internet (Computer network) +Mailing lists +Includes index +content: title internet author medium book + + + +Info Canada +1991 +Includes: Network world Canada, Sept. 1991-Jan. 1992 +Info Canada +1991 +Title from caption +Includes: Network world Canada, Sept. 1991-Jan. 1992 +content: title info canada author medium book + + + +How to program a computer +Jack Collins +How to program a computer +Jack Collins + +How to program a computer +Jack Collins +2 +content: title how to program a computer author jack collins medium book + + + +Four psalms +XXIII, XXXVI, LII, CXXI +1980 +Smith, George Adam +Bible +Four psalms +XXIII, XXXVI, LII, CXXI +1980 +Smith, George Adam +Bible +Bible +Bible +Bible +content: title four psalms author smith george adam medium book + + + +FEDLINK services directory for fiscal year +FEDLINK (Network) +Library information networks +Libraries, Governmental, administrative, etc +Description based on: 1990 +FEDLINK services directory for fiscal year +FEDLINK (Network) +Library information networks +Libraries, Governmental, administrative, etc +Description based on: 1990 +content: title fedlink services directory for fiscal year author medium book + + + +Deuteronomy +1968 +Oberst, Bruce +Bible. O.T. Deuteronomy +Bibliography: p. 449-452 +Deuteronomy +1968 +Oberst, Bruce +Bible. O.T. Deuteronomy +Bibliography: p. 449-452 +content: title deuteronomy author oberst bruce medium book + + + +Dealing with dropouts +the urban superintendents' call to action +1987 +Paulu, Nancy +Dropouts +Distributed to depository libraries in microfiche +Dealing with dropouts +the urban superintendents' call to action +1987 +Paulu, Nancy +Dropouts +Microfiche +Distributed to depository libraries in microfiche +content: title dealing with dropouts author paulu nancy medium + + + +Computer science & technology +proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 +1977 +Optical pattern recognition +Computer science & technology +proceedings of a workshop held at the National Bureau of Standards, Gaithersburg, MD, June 3-4, 1976 +1977 +Optical pattern recognition +content: title computer science technology author medium book + + + +Computer processing of dynamic images from an Anger scintillation camera +the proceedings of a workshop +1974 +Radioisotope scanning +Scintillation cameras +Imaging systems in medicine +Includes bibliographical references and index +Computer processing of dynamic images from an Anger scintillation camera +the proceedings of a workshop +1974 +Radioisotope scanning +Scintillation cameras +Imaging systems in medicine +Includes bibliographical references and index +content: title computer processing of dynamic images from an anger scintillation camera author medium book + + + +The Computer Bible +1973-1980 +Bible. O.T +Bible +Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates +The Computer Bible +1973-1980 +Bible. O.T +Bible +Hebrew and Greek; introductions in English +Vols. 2, 8: Missoula, Mont. : Published by Scholars Press for Biblical Research Associates +content: title the computer bible author medium book + + \ No newline at end of file -- 1.7.10.4