X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=55425c09b2ced0101e0e3e6a297fb01deb5ae795;hb=316a09389138ec5d375b73594fef4dc2d0bf1509;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..55425c0 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 $
+/* $Id: test_router_flexml.cpp,v 1.18 2006-11-29 13:00:54 marc Exp $
Copyright (c) 2005-2006, 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);