Implemented FilterLog filter
[metaproxy-moved-to-github.git] / src / test_filter1.cpp
index b78a18a..592e6ce 100644 (file)
@@ -12,9 +12,7 @@ using namespace boost::unit_test;
 
 class TFilter: public yp2::Filter {
 public:
-    yp2::Package & process(yp2::Package & package) const {
-       return package;
-    };
+    void process(yp2::Package & package) const {};
 };
     
 
@@ -31,9 +29,6 @@ BOOST_AUTO_TEST_CASE( test_filter1 )
         
         BOOST_CHECK(filter.name() == "filter1 rename");
     }
-    //catch(std::runtime_error &e ){
-    //    BOOST_CHECK (true);
-    //}
     catch ( ... ) {
         BOOST_CHECK (false);
     }