X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=7e40d0bbeca4fca7ee951f3c2dc808f2205e6672;hb=8bcd4c3e063e932b2f80f9491ec0af66d3da5c2e;hp=f656278ba567556c2c55529f62789e505296350e;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git
diff --git a/src/test_router_flexml.cpp b/src/test_router_flexml.cpp
index f656278..7e40d0b 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-2010 Index Data
+ Copyright (C) 2005-2013 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"