From b43efd912574977452da0eafc8c346bbf1ee2a20 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 2 Nov 2007 17:30:04 +0000 Subject: [PATCH] Fixed two tests . Bug #1589. --- src/test_filter1.cpp | 5 +++-- src/test_filter2.cpp | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/test_filter1.cpp b/src/test_filter1.cpp index 5b3d964..a5439b5 100644 --- a/src/test_filter1.cpp +++ b/src/test_filter1.cpp @@ -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 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; diff --git a/src/test_filter2.cpp b/src/test_filter2.cpp index 8adbd86..c8847f5 100644 --- a/src/test_filter2.cpp +++ b/src/test_filter2.cpp @@ -1,4 +1,4 @@ -/* $Id: test_filter2.cpp,v 1.23 2007-05-09 21:23:09 adam Exp $ +/* $Id: test_filter2.cpp,v 1.24 2007-11-02 17:30:04 adam Exp $ Copyright (c) 2005-2007, Index Data. This file is part of Metaproxy. @@ -30,6 +30,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #define BOOST_AUTO_TEST_MAIN +#define BOOST_TEST_DYN_LINK #include using namespace boost::unit_test; @@ -96,8 +97,8 @@ public: }; }; - -BOOST_AUTO_UNIT_TEST( testfilter2_1 ) + +BOOST_AUTO_TEST_CASE( testfilter2_1 ) { try { FilterConstant fc; @@ -148,7 +149,7 @@ BOOST_AUTO_UNIT_TEST( testfilter2_1 ) } -BOOST_AUTO_UNIT_TEST( testfilter2_2 ) +BOOST_AUTO_TEST_CASE( testfilter2_2 ) { try { FilterConstant fc; -- 1.7.10.4