X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_filter2.cpp;h=40f0e5ff1dfee840279447eef7fb21848091be23;hb=4bfec20c393570a81471c644fad6268eed3dba29;hp=ed33113968dd30803f701aa46e346b5b197b9361;hpb=d201492ea7198dd89dbae087eec0363a8e64e089;p=metaproxy-moved-to-github.git diff --git a/src/test_filter2.cpp b/src/test_filter2.cpp index ed33113..40f0e5f 100644 --- a/src/test_filter2.cpp +++ b/src/test_filter2.cpp @@ -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); }