X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=1d30278ffa07507b134138c2994780e189065c54;hb=f9f3d602802e3bff73a58479b5754d5a13dbc691;hp=c81bef741982f13be8126ccb5971e833a052e059;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp index c81bef7..1d30278 100644 --- a/src/test_router_flexml.cpp +++ b/src/test_router_flexml.cpp @@ -1,7 +1,7 @@ -/* $Id: test_router_flexml.cpp,v 1.16 2006-03-16 10:40:59 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. -%LICENSE% + See the LICENSE file for details */ #include "config.hpp" @@ -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);