From 16c571a7e5b4e9b96a729a5b4aee373f7347375c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 13 Aug 2013 14:09:11 +0200 Subject: [PATCH] Add test for {prev,next}recid --- test/test_url.urls | 4 ++ test/test_url_20.res | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++ test/test_url_21.res | 15 ++++++ test/test_url_22.res | 126 ++++++++++++++++++++++++++++++++++++++++++++++ test/test_url_23.res | 14 ++++++ 5 files changed, 295 insertions(+) create mode 100644 test/test_url_20.res create mode 100644 test/test_url_21.res create mode 100644 test/test_url_22.res create mode 100644 test/test_url_23.res diff --git a/test/test_url.urls b/test/test_url.urls index 4a0f2e3..6694fe6 100644 --- a/test/test_url.urls +++ b/test/test_url.urls @@ -17,3 +17,7 @@ http://localhost:9763/search.pz2?session=1&command=search&query=water 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:1p 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=date:0p http://localhost:9763/search.pz2?session=1&command=service +http://localhost:9763/search.pz2?session=1&command=show&sort=relevance +http://localhost:9763/search.pz2?session=1&command=record&id=content%3A+title+coal+sample+bank+author+medium+book +http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:1 +http://localhost:9763/search.pz2?session=1&command=record&id=content%3A+title+coal+sample+bank+author+medium+book \ No newline at end of file diff --git a/test/test_url_20.res b/test/test_url_20.res new file mode 100644 index 0000000..98424f2 --- /dev/null +++ b/test/test_url_20.res @@ -0,0 +1,136 @@ + +OK +0 +10 +10 +0 +10 + + WATER WELL DATA + This database contains the following information on water wells in Nevada: driller's name, owner's name, location, formations encountered, lithologic descriptions, water level, and water quality + + WATER WELL DATA + This database contains the following information on water wells in Nevada: driller's name, owner's name, location, formations encountered, lithologic descriptions, water level, and water quality + 1930-PRESENT + + 1 + 143048 + content: title water well data author medium book + + + FRESH WATER WETLANDS MAPS + Contained are a series of 1:50,000 scale maps showing regulated and unregulated fresh water wetlands in the organized territories. Included is a table describing each mapped wetland + + FRESH WATER WETLANDS MAPS + Contained are a series of 1:50,000 scale maps showing regulated and unregulated fresh water wetlands in the organized territories. Included is a table describing each mapped wetland + + 1 + 97655 + content: title fresh water wetlands maps author medium book + + + MAINE GEOLOGICAL SURVEY BEDROCK WATER WELL INVENTORY + This data set contains a series of well inventory maps stored on tape. The series has no indexing + + MAINE GEOLOGICAL SURVEY BEDROCK WATER WELL INVENTORY + This data set contains a series of well inventory maps stored on tape. The series has no indexing + 1972-PRESENT + + 1 + 51954 + content: title maine geological survey bedrock water well inventory author medium book + + + DAM INVENTORY + The inventory delineates the following: dam name, drainage basin, water course, inspection record, safety status, ownership, and other information + + DAM INVENTORY + The inventory delineates the following: dam name, drainage basin, water course, inspection record, safety status, ownership, and other information + -PRESENT + + 1 + 9570 + content: title dam inventory author medium book + + + UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS + Publications of the Utah Geological and Mineral Survey include reports of investigation, special studies, bulletins, open-file reports, geologic map of Utah, publications of geological societies, geologic and oil and mineral maps, coal monographs, circulars, water resource bulletins, and reprints of articles + + UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS + Publications of the Utah Geological and Mineral Survey include reports of investigation, special studies, bulletins, open-file reports, geologic map of Utah, publications of geological societies, geologic and oil and mineral maps, coal monographs, circulars, water resource bulletins, and reprints of articles + -PRESENT + + 1 + 4329 + content: title utah geological and mineral survey publications author medium book + + + STATEWIDE PLANNING + This data set contains: 1970 digitized land use maps, 1970 digitized zoning maps, active agricultural areas maps (1979-1980), maps displaying current National Flood Insurance Program data, locational guide map of the State Policies Plan for Conservation and Development of Connecticut (1987-1992), 1970 land use statistical data and 1970 municipal zoning data, proposed sewer service areas maps (1978) - DEP has update of this information, water conservation handbooks, and various reports and maps of the areawide Waste Treatment Management Planning Program (208) + + STATEWIDE PLANNING + This data set contains: 1970 digitized land use maps, 1970 digitized zoning maps, active agricultural areas maps (1979-1980), maps displaying current National Flood Insurance Program data, locational guide map of the State Policies Plan for Conservation and Development of Connecticut (1987-1992), 1970 land use statistical data and 1970 municipal zoning data, proposed sewer service areas maps (1978) - DEP has update of this information, water conservation handbooks, and various reports and maps of the areawide Waste Treatment Management Planning Program (208) + 1960-PRESENT + + 1 + 2244 + content: title statewide planning author medium book + + + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + -PRESENT + + 1 + 0 + content: title coal sample bank author medium book + + + INLAND WETLANDS OF CONNECTICUT + This data set contains inland wetlands, as defined by State statute, which are delineated at a scale of 1:12,000, based predominantly on location of wet soils + + INLAND WETLANDS OF CONNECTICUT + This data set contains inland wetlands, as defined by State statute, which are delineated at a scale of 1:12,000, based predominantly on location of wet soils + 1972-PRESENT + + 1 + 0 + content: title inland wetlands of connecticut author medium book + + + STREAM CHANNEL ENCROACHMENT LINE STUDIES + Detailed engineering studies and large-scale mapping delineating high flow zones for regulation by the State are contained in this data set + + STREAM CHANNEL ENCROACHMENT LINE STUDIES + Detailed engineering studies and large-scale mapping delineating high flow zones for regulation by the State are contained in this data set + + 1 + 0 + content: title stream channel encroachment line studies author medium book + + + TIDAL (COASTAL) WETLAND OF CONNECTICUT + Tidal wetlands, as defined by State statute, which are delineated by engineering survey at a scale of 1:24,000 comprise this data set + + TIDAL (COASTAL) WETLAND OF CONNECTICUT + Tidal wetlands, as defined by State statute, which are delineated by engineering survey at a scale of 1:24,000 comprise this data set + 1972-PRESENT + + 1 + 0 + content: title tidal coastal wetland of connecticut author medium book + + \ No newline at end of file diff --git a/test/test_url_21.res b/test/test_url_21.res new file mode 100644 index 0000000..c2c6c30 --- /dev/null +++ b/test/test_url_21.res @@ -0,0 +1,15 @@ + + + content: title coal sample bank author medium book + content: title statewide planning author medium book + content: title inland wetlands of connecticut author medium book + 0 + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + -PRESENT + + \ No newline at end of file diff --git a/test/test_url_22.res b/test/test_url_22.res new file mode 100644 index 0000000..b6cede8 --- /dev/null +++ b/test/test_url_22.res @@ -0,0 +1,126 @@ + +OK +0 +10 +10 +0 +10 + + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + -PRESENT + + 1 + content: title coal sample bank author medium book + + + DAM INVENTORY + The inventory delineates the following: dam name, drainage basin, water course, inspection record, safety status, ownership, and other information + + DAM INVENTORY + The inventory delineates the following: dam name, drainage basin, water course, inspection record, safety status, ownership, and other information + -PRESENT + + 1 + content: title dam inventory author medium book + + + FRESH WATER WETLANDS MAPS + Contained are a series of 1:50,000 scale maps showing regulated and unregulated fresh water wetlands in the organized territories. Included is a table describing each mapped wetland + + FRESH WATER WETLANDS MAPS + Contained are a series of 1:50,000 scale maps showing regulated and unregulated fresh water wetlands in the organized territories. Included is a table describing each mapped wetland + + 1 + content: title fresh water wetlands maps author medium book + + + INLAND WETLANDS OF CONNECTICUT + This data set contains inland wetlands, as defined by State statute, which are delineated at a scale of 1:12,000, based predominantly on location of wet soils + + INLAND WETLANDS OF CONNECTICUT + This data set contains inland wetlands, as defined by State statute, which are delineated at a scale of 1:12,000, based predominantly on location of wet soils + 1972-PRESENT + + 1 + content: title inland wetlands of connecticut author medium book + + + MAINE GEOLOGICAL SURVEY BEDROCK WATER WELL INVENTORY + This data set contains a series of well inventory maps stored on tape. The series has no indexing + + MAINE GEOLOGICAL SURVEY BEDROCK WATER WELL INVENTORY + This data set contains a series of well inventory maps stored on tape. The series has no indexing + 1972-PRESENT + + 1 + content: title maine geological survey bedrock water well inventory author medium book + + + STATEWIDE PLANNING + This data set contains: 1970 digitized land use maps, 1970 digitized zoning maps, active agricultural areas maps (1979-1980), maps displaying current National Flood Insurance Program data, locational guide map of the State Policies Plan for Conservation and Development of Connecticut (1987-1992), 1970 land use statistical data and 1970 municipal zoning data, proposed sewer service areas maps (1978) - DEP has update of this information, water conservation handbooks, and various reports and maps of the areawide Waste Treatment Management Planning Program (208) + + STATEWIDE PLANNING + This data set contains: 1970 digitized land use maps, 1970 digitized zoning maps, active agricultural areas maps (1979-1980), maps displaying current National Flood Insurance Program data, locational guide map of the State Policies Plan for Conservation and Development of Connecticut (1987-1992), 1970 land use statistical data and 1970 municipal zoning data, proposed sewer service areas maps (1978) - DEP has update of this information, water conservation handbooks, and various reports and maps of the areawide Waste Treatment Management Planning Program (208) + 1960-PRESENT + + 1 + content: title statewide planning author medium book + + + STREAM CHANNEL ENCROACHMENT LINE STUDIES + Detailed engineering studies and large-scale mapping delineating high flow zones for regulation by the State are contained in this data set + + STREAM CHANNEL ENCROACHMENT LINE STUDIES + Detailed engineering studies and large-scale mapping delineating high flow zones for regulation by the State are contained in this data set + + 1 + content: title stream channel encroachment line studies author medium book + + + TIDAL (COASTAL) WETLAND OF CONNECTICUT + Tidal wetlands, as defined by State statute, which are delineated by engineering survey at a scale of 1:24,000 comprise this data set + + TIDAL (COASTAL) WETLAND OF CONNECTICUT + Tidal wetlands, as defined by State statute, which are delineated by engineering survey at a scale of 1:24,000 comprise this data set + 1972-PRESENT + + 1 + content: title tidal coastal wetland of connecticut author medium book + + + UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS + Publications of the Utah Geological and Mineral Survey include reports of investigation, special studies, bulletins, open-file reports, geologic map of Utah, publications of geological societies, geologic and oil and mineral maps, coal monographs, circulars, water resource bulletins, and reprints of articles + + UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS + Publications of the Utah Geological and Mineral Survey include reports of investigation, special studies, bulletins, open-file reports, geologic map of Utah, publications of geological societies, geologic and oil and mineral maps, coal monographs, circulars, water resource bulletins, and reprints of articles + -PRESENT + + 1 + content: title utah geological and mineral survey publications author medium book + + + WATER WELL DATA + This database contains the following information on water wells in Nevada: driller's name, owner's name, location, formations encountered, lithologic descriptions, water level, and water quality + + WATER WELL DATA + This database contains the following information on water wells in Nevada: driller's name, owner's name, location, formations encountered, lithologic descriptions, water level, and water quality + 1930-PRESENT + + 1 + content: title water well data author medium book + + \ No newline at end of file diff --git a/test/test_url_23.res b/test/test_url_23.res new file mode 100644 index 0000000..0b6536c --- /dev/null +++ b/test/test_url_23.res @@ -0,0 +1,14 @@ + + + content: title coal sample bank author medium book + content: title dam inventory author medium book + 0 + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + + COAL SAMPLE BANK + This data set contains methane data, chemical analysis data, and petrographic analysis data on core samples in Utah + -PRESENT + + \ No newline at end of file -- 1.7.10.4