X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_filter_record_transform.cpp;h=bcbab1dafee430923f5c6a754fca8188810406b8;hb=0ab6e8aba7de1ea5cf109de175f56c9d8f7f49bc;hp=8ca06f79d231cdeb9c34712e4b14192599b92443;hpb=dad313c700b9ff9b4728d1b8ef4a0ab5bedf86b1;p=metaproxy-moved-to-github.git diff --git a/src/test_filter_record_transform.cpp b/src/test_filter_record_transform.cpp index 8ca06f7..bcbab1d 100644 --- a/src/test_filter_record_transform.cpp +++ b/src/test_filter_record_transform.cpp @@ -1,7 +1,22 @@ -/* $Id: test_filter_record_transform.cpp,v 1.2 2006-10-04 11:21:47 marc Exp $ - Copyright (c) 2005-2006, Index Data. +/* $Id: test_filter_record_transform.cpp,v 1.7 2007-11-02 17:47:41 adam Exp $ + Copyright (c) 2005-2007, Index Data. - See the LICENSE file for details +This file is part of Metaproxy. + +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ #include "config.hpp" @@ -16,6 +31,7 @@ //#include #define BOOST_AUTO_TEST_MAIN +#define BOOST_TEST_DYN_LINK #include #include @@ -28,7 +44,7 @@ namespace mp = metaproxy_1; -BOOST_AUTO_UNIT_TEST( test_filter_record_transform_1 ) +BOOST_AUTO_TEST_CASE( test_filter_record_transform_1 ) { try { @@ -39,7 +55,7 @@ BOOST_AUTO_UNIT_TEST( test_filter_record_transform_1 ) } } -BOOST_AUTO_UNIT_TEST( test_filter_record_transform_2 ) +BOOST_AUTO_TEST_CASE( test_filter_record_transform_2 ) { try { @@ -61,7 +77,7 @@ BOOST_AUTO_UNIT_TEST( test_filter_record_transform_2 ) } -BOOST_AUTO_UNIT_TEST( test_filter_record_transform_3 ) +BOOST_AUTO_TEST_CASE( test_filter_record_transform_3 ) { @@ -72,17 +88,15 @@ BOOST_AUTO_UNIT_TEST( test_filter_record_transform_3 ) std::string xmlconf = "\n" - "\n" "" "" + "" - "" + "/>" "" "" "\n"