X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_router_flexml.cpp;h=d9c254041e42dc1491bce01329fe0480e40a91c3;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;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..d9c2540 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) 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"