X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=1d30278ffa07507b134138c2994780e189065c54;hb=a715926f3a2dc33f605b119561ccac38322f1c7b;hp=95b05efa21a4801926d5f3900eb536279efa014b;hpb=1e61b0aa05e2351e33d909f7503eaf936a2d9bb0;p=metaproxy-moved-to-github.git diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp index 95b05ef..1d30278 100644 --- a/src/test_router_flexml.cpp +++ b/src/test_router_flexml.cpp @@ -1,5 +1,5 @@ -/* $Id: test_router_flexml.cpp,v 1.17 2006-06-10 14:29:13 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* $Id: test_router_flexml.cpp,v 1.19 2007-01-25 14:05:54 adam Exp $ + Copyright (c) 2005-2007, Index Data. See the LICENSE file for details */ @@ -38,7 +38,8 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_1 ) try { std::string xmlconf = "\n" - "\n" + "\n" " \n" " \n" " \n" @@ -62,7 +63,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_1 ) " \n" " \n" " \n" - "\n"; + "\n"; mp::FactoryStatic factory; factory.add_creator("tfilter", filter_creator); @@ -86,7 +87,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_2 ) try { std::string xmlconf_invalid = "\n" - "\n" + "\n" " \n" " \n" " \n" @@ -114,23 +115,24 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_3 ) try { std::string xmlconf = "\n" - "\n" - " \n" - " \n" - " \n" + "\n" + " \n" + " \n" + " \n" " @:210\n" - " \n" - " \n" + " \n" + " \n" " my msg\n" - " \n" - " \n" - " \n" - " \n" - " \n" - " \n" - " \n" - " \n" - "\n"; + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + "\n"; mp::FactoryStatic factory; mp::RouterFleXML rflexml(xmlconf, factory); @@ -151,8 +153,9 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_4 ) try { std::string xmlconf = "\n" - "\n" - " \n" + "\n" + " \n" " \n" " \n" " @:210\n" @@ -163,7 +166,7 @@ BOOST_AUTO_UNIT_TEST( test_router_flexml_4 ) " \n" " \n" " \n" - "\n"; + "\n"; mp::FactoryStatic factory; factory.add_creator("tfilter", filter_creator);