X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_filter2.cpp;h=600004db4c7c158fd4d69d4e43e8b917f9d9ba0d;hb=056d8d0c4ee4b9e383463ecdde7aa84901909aa4;hp=68f1e9b22c22421df4b63c19e48f34947d9e01c8;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/src/test_filter2.cpp b/src/test_filter2.cpp index 68f1e9b..600004d 100644 --- a/src/test_filter2.cpp +++ b/src/test_filter2.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 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 @@ -41,7 +41,7 @@ public: void process(mp::Package & package) const { package.move(); }; - void configure(const xmlNode* ptr, bool test_only); + void configure(const xmlNode* ptr, bool test_only, const char *path); int get_constant() const { return m_constant; }; private: const xmlNode *m_ptr; @@ -49,7 +49,8 @@ private: }; -void FilterConstant::configure(const xmlNode* ptr, bool test_only) +void FilterConstant::configure(const xmlNode* ptr, bool test_only, + const char *path) { m_ptr = ptr; @@ -93,6 +94,8 @@ public: void process(mp::Package & package) const { package.move(); }; + void configure(const xmlNode * ptr, bool test_only, + const char *path) { }; }; @@ -170,7 +173,7 @@ BOOST_AUTO_TEST_CASE( testfilter2_2 ) { xmlNodePtr root_element = xmlDocGetRootElement(doc); - base->configure(root_element, true); + base->configure(root_element, true, 0); xmlFreeDoc(doc); }