From 7b9406526a115c3c35471d0922b368fc8784e736 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 15 Oct 2009 10:37:03 +0200 Subject: [PATCH] Addd test case for per-session setting --- test/test_settings_2.res | 2 +- test/test_settings_3.res | 16 +--------------- test/test_settings_4.res | 17 +++++++++++++++++ test/test_settings_urls | 1 + 4 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 test/test_settings_4.res diff --git a/test/test_settings_2.res b/test/test_settings_2.res index ab63fe6..42534e3 100644 --- a/test/test_settings_2.res +++ b/test/test_settings_2.res @@ -1,2 +1,2 @@ -OK \ No newline at end of file +OK \ No newline at end of file diff --git a/test/test_settings_3.res b/test/test_settings_3.res index b530805..ab63fe6 100644 --- a/test/test_settings_3.res +++ b/test/test_settings_3.res @@ -1,16 +1,2 @@ -OK -z3950.indexdata.com/marc -Target name -0 -0 -0 -Client_Idle - - - - - - - - \ No newline at end of file +OK \ No newline at end of file diff --git a/test/test_settings_4.res b/test/test_settings_4.res new file mode 100644 index 0000000..d1ba5b1 --- /dev/null +++ b/test/test_settings_4.res @@ -0,0 +1,17 @@ + +OK +z3950.indexdata.com/marc +Target name +0 +0 +0 +Client_Idle + + + + + + + + + \ No newline at end of file diff --git a/test/test_settings_urls b/test/test_settings_urls index cc990c1..4222fbc 100644 --- a/test/test_settings_urls +++ b/test/test_settings_urls @@ -1,4 +1,5 @@ http://localhost:9763/search.pz2?session=1&command=init +http://localhost:9763/search.pz2?session=1&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1 http://localhost:9763/search.pz2?session=1&command=search&query=water 2 http://localhost:9763/search.pz2?session=1&command=bytarget&settings=1 -- 1.7.10.4