Remove unmaintained tests
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 8 Nov 2013 18:29:40 +0000 (19:29 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 8 Nov 2013 18:29:40 +0000 (19:29 +0100)
test/dtic-dads-sru-proxy.xml [deleted file]
test/test_dads.cfg [deleted file]
test/test_dads.sh [deleted file]
test/test_sru-proxy.cfg [deleted file]
test/test_sru-proxy.sh [deleted file]

diff --git a/test/dtic-dads-sru-proxy.xml b/test/dtic-dads-sru-proxy.xml
deleted file mode 100644 (file)
index cd18881..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<settings target="*">
-
-  <!-- Simple test against a local SRU server (could be yaz-ztest) -->
-  <set target="kb.dadsthirdnode.cvt.dk/sru-proxy" name="pz:name" value="DADS SRU-proxy"/>
-  <!-- field-specific mappings -->
-  <set name="pz:cclmap:au" value="u=1003 s=al"/>
-  <set name="pz:cclmap:ti" value="u=4 s=al"/>
-  <set name="pz:cclmap:su" value="u=1016"/>
-  <set name="pz:cclmap:jt" value="u=1016"/>
-  <set name="pz:cclmap:isbn" value="u=7"/>
-  <set name="pz:cclmap:issn" value="u=8"/>
-  <set name="pz:cclmap:date" value="u=30 r=r"/>
-
-  <set name="pz:sru" value="get"/> <!-- must be get, post or soap -->
-  <set name="pz:sru_version" value="1.1"/>
-  <set name="pz:name" value="sru-proxy"/>
-
-  <set name="pz:maxrecs" value="50"/>
-
-  <!-- mapping for unqualified search -->
-
-  <set name="pz:extra_args" value="&amp;x-facet_def=dtic_test&amp;x-noxsl=1" />
-  <set name="pz:query_syntax" value="pqf" />
-  <set name="pz:option_recordfilter" value="remote"/>
-
-  <!-- Result normalization settings -->
-
-  <set name="pz:nativesyntax" value="txml"/>
-  <set name="pz:xslt" value="dads-pz2.xsl"/>
-
-</settings>
diff --git a/test/test_dads.cfg b/test/test_dads.cfg
deleted file mode 100644 (file)
index 299ff9f..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
-  <!-- Used by test_dads.sh -->
-  <server>
-    <listen port="9763"/>
-    <proxy host="localhost"/>
-    
-    <service>
-      <include src="gbv-sru-marc.xml"/>
-      <metadata name="url" merge="unique"/>
-      <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
-      <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" mergekey="optional" />
-      <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
-      <metadata name="id"/>
-      <metadata name="lccn" merge="unique"/>
-      <metadata name="description" brief="yes" merge="longest" rank="3"/>
-      
-      <metadata name="test-usersetting" brief="yes" setting="postproc"/>
-      <metadata name="test" setting="parameter"/>
-      <metadata name="test-usersetting-2" brief="yes"/>
-    </service>
-
-    <include src="*_service.xml"/> 
-    <include src="no_such_service.xml"/>
-
-  </server>
-  
-  
-</pazpar2>
-<!-- Keep this comment at the end of the file
-     Local variables:
-     mode: nxml
-     End:
--->
diff --git a/test/test_dads.sh b/test/test_dads.sh
deleted file mode 100644 (file)
index 73ef8f9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# srcdir might be set by make
-srcdir=${srcdir:-"."}
-
-#TODO set up solr target. For now use donut 
-#F=../solr/client.sh 
-#
-#rm -f solr.pid
-#$F -l solr.log -p ztest.pid -D @:9999
-#sleep 1
-#if test ! -f ztest.pid; then
-#    echo "yaz-ztest could not be started"
-#    exit 0
-#fi
-
-${srcdir}/run_pazpar2.sh test_dads
-E=$?
-
-#kill `cat ztest.pid`
-#rm ztest.pid
-exit $E
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation: 2
-# sh-basic-offset: 4
-# End:
diff --git a/test/test_sru-proxy.cfg b/test/test_sru-proxy.cfg
deleted file mode 100644 (file)
index 6a42350..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
-  <!-- Used by test_sru-proxy.sh -->
-  <server>
-    <listen port="9763"/>
-    <proxy host="localhost"/>
-    
-    <service id="sru-proxy">
-      <include src="dtic-dads-sru-proxy.xml"/>
-      <metadata name="url" merge="unique"/>
-      <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
-      <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
-
-      <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
-               termlist="yes"/>
-      <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
-      <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
-      <metadata name="id"/>
-      <metadata name="doi" brief="yes"/>
-      <metadata name="lccn" merge="unique"/>
-      <metadata name="description" brief="yes" merge="longest" rank="3" />
-
-      <metadata name="journal-title" brief="yes" termlist="yes" merge="all"/>
-
-      <metadata name="test-usersetting" brief="yes" setting="postproc"/>
-      <metadata name="test" setting="parameter"/>
-      <metadata name="test-usersetting-2" brief="yes"/>
-    </service>
-
-<!--
-    <include src="*_service.xml"/> 
-    <include src="no_such_service.xml"/>
--->
-  </server>
-  
-  
-</pazpar2>
-<!-- Keep this comment at the end of the file
-     Local variables:
-     mode: nxml
-     End:
--->
diff --git a/test/test_sru-proxy.sh b/test/test_sru-proxy.sh
deleted file mode 100755 (executable)
index 2ceb005..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-# srcdir might be set by make
-srcdir=${srcdir:-"."}
-
-#TODO set up solr target. For now use donut 
-#F=../solr/client.sh 
-
-${srcdir}/run_pazpar2.sh test_sru-proxy
-E=$?
-
-#kill `cat ztest.pid`
-#rm ztest.pid
-exit $E
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation: 2
-# sh-basic-offset: 4
-# End: