X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_filter2.cpp;h=fb34da012cdae9eb000ab8ecf05c499c0afa091c;hb=77dee8966dd1304a0fb8540c3fc68d02dc6ce84a;hp=14aa299afdebe787b5e074373a355eb247acfa80;hpb=7467b072bb64f5c8575daa9917cce7df62d832f1;p=metaproxy-moved-to-github.git diff --git a/src/test_filter2.cpp b/src/test_filter2.cpp index 14aa299..fb34da0 100644 --- a/src/test_filter2.cpp +++ b/src/test_filter2.cpp @@ -1,4 +1,4 @@ -/* $Id: test_filter2.cpp,v 1.14 2005-10-29 22:23:36 marc Exp $ +/* $Id: test_filter2.cpp,v 1.16 2005-12-02 12:21:07 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -27,9 +27,6 @@ public: package.data() = m_constant; package.move(); }; - const std::string type() const { - return "FilterConstant"; - }; void configure(const xmlNode* ptr = 0); int get_constant() const { return m_constant; }; private: @@ -118,13 +115,10 @@ public: package.data() = package.data() * 2; package.move(); }; - const std::string type() const { - return "FilterConstant"; - }; }; -BOOST_AUTO_TEST_CASE( testfilter2_1 ) +BOOST_AUTO_UNIT_TEST( testfilter2_1 ) { try { FilterConstant fc; @@ -175,7 +169,7 @@ BOOST_AUTO_TEST_CASE( testfilter2_1 ) } -BOOST_AUTO_TEST_CASE( testfilter2_2 ) +BOOST_AUTO_UNIT_TEST( testfilter2_2 ) { try { FilterConstant fc;