Fixed two tests . Bug #1589.
[metaproxy-moved-to-github.git] / src / test_filter1.cpp
index 5b3d964..a5439b5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: test_filter1.cpp,v 1.18 2007-05-09 21:23:09 adam Exp $
+/* $Id: test_filter1.cpp,v 1.19 2007-11-02 17:30:04 adam Exp $
    Copyright (c) 2005-2007, Index Data.
 
 This file is part of Metaproxy.
@@ -26,6 +26,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "filter.hpp"
 
 #define BOOST_AUTO_TEST_MAIN
+#define BOOST_TEST_DYN_LINK
 #include <boost/test/auto_unit_test.hpp>
 
 using namespace boost::unit_test;
@@ -37,7 +38,7 @@ public:
 };
     
 
-BOOST_AUTO_UNIT_TEST( test_filter1 )
+BOOST_AUTO_TEST_CASE( test_filter1 )
 {
     try{
         TFilter filter;