Extract settings from test_url.urls
authorDennis Schafroth <dennis@indexdata.com>
Thu, 26 Apr 2012 08:46:55 +0000 (08:46 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 26 Apr 2012 08:46:55 +0000 (08:46 +0000)
test/test_url_service.xml [new file with mode: 0644]
test/test_url_settings_1.xml [new file with mode: 0644]
test/test_url_settings_2.xml [new file with mode: 0644]
test/test_url_settings_3.xml [new file with mode: 0644]
test/test_url_settings_4.xml [new file with mode: 0644]

diff --git a/test/test_url_service.xml b/test/test_url_service.xml
new file mode 100644 (file)
index 0000000..ec5b56b
--- /dev/null
@@ -0,0 +1,9 @@
+<!-- Testign URL setting -->
+<settings target="my">
+  <set name="pz:name"  value="marcserver" />
+  <set name="pz:url"   value="z3950.indexdata.com/marc" />
+  <set name="pz:nativesyntax" value="iso2709" />
+  <set name="pz:requestsyntax" value="usmarc" />
+  <set name="pz:xslt" value="marc21_test.xsl" />
+  <set name="pz:elements" value="F" />
+</settings>
diff --git a/test/test_url_settings_1.xml b/test/test_url_settings_1.xml
new file mode 100644 (file)
index 0000000..ec5b56b
--- /dev/null
@@ -0,0 +1,9 @@
+<!-- Testign URL setting -->
+<settings target="my">
+  <set name="pz:name"  value="marcserver" />
+  <set name="pz:url"   value="z3950.indexdata.com/marc" />
+  <set name="pz:nativesyntax" value="iso2709" />
+  <set name="pz:requestsyntax" value="usmarc" />
+  <set name="pz:xslt" value="marc21_test.xsl" />
+  <set name="pz:elements" value="F" />
+</settings>
diff --git a/test/test_url_settings_2.xml b/test/test_url_settings_2.xml
new file mode 100644 (file)
index 0000000..9835248
--- /dev/null
@@ -0,0 +1,6 @@
+<!-- Testing URL changing, add sort -->
+<settings target="my">
+  <set name="pz:url"           value="z3950.indexdata.com/gils" />
+  <set name="pz:sortmap:title" value="type7:title" />
+</settings>
+
diff --git a/test/test_url_settings_3.xml b/test/test_url_settings_3.xml
new file mode 100644 (file)
index 0000000..e18d45e
--- /dev/null
@@ -0,0 +1,9 @@
+<!-- Testign URL setting -->
+<settings target="my">
+  <set name="pz:name"  value="marcserver" />
+  <set name="pz:url"   value="z3950.unknown.indexdata.com/marc" />
+  <set name="pz:nativesyntax" value="iso2709" />
+  <set name="pz:requestsyntax" value="usmarc" />
+  <set name="pz:xslt" value="marc21_test.xsl" />
+  <set name="pz:elements" value="F" />
+</settings>
diff --git a/test/test_url_settings_4.xml b/test/test_url_settings_4.xml
new file mode 100644 (file)
index 0000000..f719eec
--- /dev/null
@@ -0,0 +1,10 @@
+<!-- Testign URL setting -->
+<settings target="my">
+  <set name="pz:name"          value="marcserver" />
+  <set name="pz:url"           value="z3950.indexdata.com/marc" />
+  <set name="pz:nativesyntax"  value="iso2709" />
+  <set name="pz:requestsyntax" value="usmarc" />
+  <set name="pz:xslt"          value="marc21_test.xsl" />
+  <set name="pz:elements"      value="F" />
+  <set name="pz:pqf_strftime"  value="fail %25%25" />
+</settings>