X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=e3f32237ea5da4a3eafc79e66d0ccc4f1b10c6f5;hb=87cddf2855646e991e4b50e92b877475da3b9e80;hp=0059ab159a67384ff968f0b9c9965c6bf09fa5e7;hpb=c1d953eee6c00432493bc364da6284704ccd9cc2;p=metaproxy-moved-to-github.git
diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp
index 0059ab1..e3f3223 100644
--- a/src/test_router_flexml.cpp
+++ b/src/test_router_flexml.cpp
@@ -1,5 +1,5 @@
/* This file is part of Metaproxy.
- Copyright (C) 2005-2011 Index Data
+ Copyright (C) 2005-2012 Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@ -38,6 +38,7 @@ public:
void process(mp::Package & package) const {};
TFilter() { tfilter_ref++; };
~TFilter() { tfilter_ref--; };
+ void configure(const xmlNode* ptr, bool test_only, const char *path) {};
};
static mp::filter::Base* filter_creator()
@@ -66,7 +67,7 @@ BOOST_AUTO_TEST_CASE( test_router_flexml_1 )
" other\n"
" \n"
" \n"
- " \n"
+ " \n"
" \n"
" \n"
" \n"
@@ -105,7 +106,7 @@ BOOST_AUTO_TEST_CASE( test_router_flexml_2 )
" \n"
" \n"
" @:210\n";
-
+
mp::FactoryFilter factory;
mp::RouterFleXML rflexml(xmlconf_invalid, factory, true);
}
@@ -139,14 +140,14 @@ BOOST_AUTO_TEST_CASE( test_router_flexml_3 )
" my msg\n"
" \n"
" \n"
- " \n"
+ " \n"
" \n"
" \n"
" \n"
" \n"
" \n"
"\n";
-
+
mp::FactoryStatic factory;
mp::RouterFleXML rflexml(xmlconf, factory, true);
}
@@ -168,13 +169,13 @@ BOOST_AUTO_TEST_CASE( test_router_flexml_4 )
std::string xmlconf = "\n"
"\n"
- " \n"
+ " \n"
" \n"
" \n"
" @:210\n"
" \n"
" \n"
- " \n"
+ " \n"
" \n"
" \n"
" \n"