X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=b1b79a13124a1fa8e82cce0f45753a9f203fd74a;hb=265f9e4b40f59ceb4b42164bad1f36d5a437fe01;hp=5bed848af57eb7fe2e1ed36d686ff172f24f38e4;hpb=0e4bd2f722c9cf0a83e7e4ef3d936c60c9419add;p=metaproxy-moved-to-github.git diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp index 5bed848..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.12 2006-01-05 16:39:37 adam Exp $ +/* $Id: test_router_flexml.cpp,v 1.15 2006-01-11 14:58:28 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -40,16 +40,14 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_1 ) " \n" " \n" " \n" - " 210\n" + " @:210\n" " \n" " \n" - " mylog1.log\n" - " \n" - " \n" - " \n" + " my msg\n" " \n" + " \n" " \n" - " mylog2.log\n" + " other\n" " \n" " \n" " \n" @@ -90,12 +88,12 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_2 ) " \n" " \n" " \n" - " 210\n"; + " @:210\n"; 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; } @@ -118,10 +116,10 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_3 ) " \n" " \n" " \n" - " 210\n" + " @:210\n" " \n" " \n" - " mylog.log\n" + " my msg\n" " \n" " \n" " \n" @@ -155,7 +153,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_4 ) " \n" " \n" " \n" - " 210\n" + " @:210\n" " \n" " \n" " \n"