Same header and footer for all files. Header includes copyright +
[metaproxy-moved-to-github.git] / src / test_filter2.cpp
index f5cf20a..4b70368 100644 (file)
@@ -1,3 +1,8 @@
+/* $Id: test_filter2.cpp,v 1.9 2005-10-15 14:09:09 adam Exp $
+   Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
 
 
 #include "config.hpp"
@@ -13,7 +18,7 @@
 using namespace boost::unit_test;
 
 
-class FilterConstant: public yp2::Filter {
+class FilterConstant: public yp2::filter::Base {
 public:
     void process(yp2::Package & package) const {
        package.data() = 1234;
@@ -22,7 +27,7 @@ public:
 };
 
 
-class FilterDouble: public yp2::Filter {
+class FilterDouble: public yp2::filter::Base {
 public:
     void process(yp2::Package & package) const {
        package.data() = package.data() * 2;
@@ -88,6 +93,7 @@ BOOST_AUTO_TEST_CASE( testfilter2 )
  * Local variables:
  * c-basic-offset: 4
  * indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab
  */