X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftst_retrieval.c;h=cea9da06f81ffad54b4ebe0890076000f13cf218;hp=aecb773808a8e8931678a97e1c3ae73e538d88ec;hb=d305f63028800611fd05a3bfc54db24e2634d7ad;hpb=a1c7e0185783d67c7d6022ae7d70dd890b7c0309 diff --git a/test/tst_retrieval.c b/test/tst_retrieval.c index aecb773..cea9da0 100644 --- a/test/tst_retrieval.c +++ b/test/tst_retrieval.c @@ -2,7 +2,7 @@ * Copyright (C) 2005-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: tst_retrieval.c,v 1.2 2006-05-05 18:37:08 adam Exp $ + * $Id: tst_retrieval.c,v 1.3 2006-05-07 14:48:25 adam Exp $ * */ #include @@ -116,8 +116,12 @@ static void tst_configure() "Bad element 'bad'." " Expected 'retrieval'", 0)); + YAZ_CHECK(conv_configure_test("" + "", 0, 0)); + YAZ_CHECK(conv_configure_test("" - "" + "\n" + " " "" "" "" "", 0, 0)); + + + YAZ_CHECK(conv_configure_test("" + "" + "" + "" + "", + 0, 0)); + + YAZ_CHECK(conv_configure_test("" + "" + "" + "" + "", + "Bad syntax 'unknown_synt'", 0)); + + YAZ_CHECK(conv_configure_test("" + "" + "" + "" + "", + "Bad backendsyntax 'unknown_synt'", 0)); + } #endif