Test uses include of a service.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 8 Sep 2009 14:27:13 +0000 (16:27 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 8 Sep 2009 14:27:13 +0000 (16:27 +0200)
test/Makefile.am
test/gils_service.xml [new file with mode: 0644]
test/test_http.cfg

index c84a8e1..4cefa6e 100644 (file)
@@ -2,7 +2,7 @@
 check_SCRIPTS = test_http.sh test_icu.sh
 
 EXTRA_DIST = run_pazpar2.sh marc21.xsl z3950_indexdata_com_marc.xml \
-       z3950_indexdata_com_gils.xml test_http.cfg \
+       z3950_indexdata_com_gils.xml test_http.cfg gils_service.xml \
        test_http_urls test_icu.cfg test_icu_urls $(check_SCRIPTS)
 
 TESTS = $(check_SCRIPTS)
diff --git a/test/gils_service.xml b/test/gils_service.xml
new file mode 100644 (file)
index 0000000..879b202
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+    <service id="gils">
+      <settings src="z3950_indexdata_com_gils.xml"/>
+      <metadata name="url" merge="unique"/>
+      <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
+      <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+      <metadata name="isbn"/>
+      <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+               termlist="yes"/>
+      <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
+      <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+      <metadata name="id"/>
+    </service>
index cc9f1f0..c1f51fd 100644 (file)
       <metadata name="test-usersetting-2" brief="yes"/>
     </service>
 
-    <service id="gils">
-      <settings src="z3950_indexdata_com_gils.xml"/>
-      <metadata name="url" merge="unique"/>
-      <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
-      <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
-      <metadata name="isbn"/>
-      <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
-               termlist="yes"/>
-      <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
-      <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
-      <metadata name="id"/>
-    </service>
+    <include src="gils_service.xml"/>
 
   </server>