Add unit test for termlist of type xtargets
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 28 Mar 2011 12:33:37 +0000 (14:33 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 28 Mar 2011 12:34:12 +0000 (14:34 +0200)
test/test_icu.urls
test/test_icu_10.res [new file with mode: 0644]

index 11a5dae..2c6a4b5 100644 (file)
@@ -6,4 +6,5 @@ http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=ti
 http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:0
 http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:1
 http://localhost:9763/search.pz2?session=1&command=termlist&name=author%2Csubject
-http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1
\ No newline at end of file
+http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1
+http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets
diff --git a/test/test_icu_10.res b/test/test_icu_10.res
new file mode 100644 (file)
index 0000000..00a481a
--- /dev/null
@@ -0,0 +1,12 @@
+<termlist>
+<activeclients>0</activeclients>
+<list name="xtargets">
+<term>
+<id>z3950.indexdata.com/marc</id>
+<name>Index Data MARC test server</name>
+<frequency>10</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
+</list>
+</termlist>