X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=b1b79a13124a1fa8e82cce0f45753a9f203fd74a;hb=f47e8cf4cde2ba5465106e219c803e6424a4f177;hp=1a30019f495254090ee5d880229c7be53a71fe4d;hpb=ec5548301e2549fc0f8d2f962aade24cb6f90d1b;p=metaproxy-moved-to-github.git diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp index 1a30019..b1b79a1 100644 --- a/src/test_router_flexml.cpp +++ b/src/test_router_flexml.cpp @@ -1,4 +1,4 @@ -/* $Id: test_router_flexml.cpp,v 1.13 2006-01-09 13:43:59 adam Exp $ +/* $Id: test_router_flexml.cpp,v 1.15 2006-01-11 14:58:28 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -43,13 +43,11 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_1 ) " @:210\n" " \n" " \n" - " mylog1.log\n" - " \n" - " \n" - " \n" + " my msg\n" " \n" + " \n" " \n" - " mylog2.log\n" + " other\n" " \n" " \n" " \n" @@ -95,7 +93,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_2 ) yp2::FactoryFilter factory; yp2::RouterFleXML rflexml(xmlconf_invalid, factory); } - catch ( yp2::RouterFleXML::XMLError &e) { + catch ( yp2::XMLError &e) { std::cout << "XMLError: " << e.what() << "\n"; got_error_as_expected = true; } @@ -121,7 +119,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_3 ) " @:210\n" " \n" " \n" - " mylog.log\n" + " my msg\n" " \n" " \n" " \n"