X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_filter2.cpp;h=8bb4224fd0e98de9703fa13bd8266af49820cbef;hb=1648ce02e4909b932a908beaeae93fd41515b9e5;hp=6113d32bad6903a967586fee528d5aab2d860dce;hpb=5b2c2b24a2112bd9a66033469031df71f4535e0f;p=metaproxy-moved-to-github.git diff --git a/src/test_filter2.cpp b/src/test_filter2.cpp index 6113d32..8bb4224 100644 --- a/src/test_filter2.cpp +++ b/src/test_filter2.cpp @@ -1,7 +1,7 @@ -/* $Id: test_filter2.cpp,v 1.19 2006-05-15 10:12:33 adam Exp $ +/* $Id: test_filter2.cpp,v 1.21 2006-09-14 19:53:57 marc Exp $ Copyright (c) 2005-2006, Index Data. -%LICENSE% + See the LICENSE file for details */ #include @@ -25,7 +25,6 @@ class FilterConstant: public mp::filter::Base { public: FilterConstant() : m_constant(1234) { }; void process(mp::Package & package) const { - package.data() = m_constant; package.move(); }; void configure(const xmlNode* ptr = 0); @@ -78,7 +77,6 @@ void FilterConstant::configure(const xmlNode* ptr) class FilterDouble: public mp::filter::Base { public: void process(mp::Package & package) const { - package.data() = package.data() * 2; package.move(); }; }; @@ -104,7 +102,7 @@ BOOST_AUTO_UNIT_TEST( testfilter2_1 ) pack.router(router1).move(); - BOOST_CHECK_EQUAL(pack.data(), 2468); + //BOOST_CHECK_EQUAL(pack.data(), 2468); } @@ -120,7 +118,7 @@ BOOST_AUTO_UNIT_TEST( testfilter2_1 ) pack.router(router2).move(); - BOOST_CHECK_EQUAL(pack.data(), 1234); + //BOOST_CHECK_EQUAL(pack.data(), 1234); }