In tests use BOOST_AUTO_UNIT_TEST instead of BOOST_AUTO_TEST_CASE
[metaproxy-moved-to-github.git] / src / filter_backend_test.hpp
index da10262..6842af8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_backend_test.hpp,v 1.1 2005-10-25 11:48:30 adam Exp $
+/* $Id: filter_backend_test.hpp,v 1.5 2005-11-10 23:10:42 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -7,8 +7,7 @@
 #ifndef FILTER_BACKEND_TEST_HPP
 #define FILTER_BACKEND_TEST_HPP
 
-#include <stdexcept>
-#include <list>
+#include <boost/scoped_ptr.hpp>
 
 #include "filter.hpp"
 
@@ -21,7 +20,7 @@ namespace yp2 {
             Backend_test();
             void process(yp2::Package & package) const;
         private:
-            Rep *m_p;
+            boost::scoped_ptr<Rep> m_p;
         };
     }
 }