X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_filter_rewrite.cpp;h=00065a4fda955c1fadad978f1a6769c183721c57;hb=b8c30d9591850c3c0c1f9f8b7e15e76ea5517375;hp=c38c022509e7783be29e613ab3f4b475bd4aa9f0;hpb=2c02be2dd0d82a2ce2db3050ce3a6bfe0a3ef16b;p=metaproxy-moved-to-github.git
diff --git a/src/test_filter_rewrite.cpp b/src/test_filter_rewrite.cpp
index c38c022..00065a4 100644
--- a/src/test_filter_rewrite.cpp
+++ b/src/test_filter_rewrite.cpp
@@ -38,23 +38,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
using namespace boost::unit_test;
namespace mp = metaproxy_1;
-/*
- * The global testconfig is commented out, as it won't even compile
- * on old Centos5 machines
-struct TestConfig {
- TestConfig()
- {
- std::cout << "global setup\n";
- yaz_log_init_level(YLOG_ALL);
- }
- ~TestConfig()
- {
- std::cout << "global teardown\n";
- }
-};
-
-BOOST_GLOBAL_FIXTURE( TestConfig );
-*/
BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 )
{
@@ -69,31 +52,41 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 )
"\n"
" \n"
- " \n"
- " \n"
+ " \n"
+ " \n"
" \n"
" \n"
- " \n"
- " \n"
- " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
" \n"
" \n"
- " \n"
- " \n"
+ " \n"
+ " \n"
" \n"
+ " \n"
" \n"
" \n"
- " \n"
- " \n"
- " \n"
- " \n"
- " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
" \n"
"\n"
;
@@ -145,11 +138,13 @@ BOOST_AUTO_TEST_CASE( test_filter_rewrite_1 )
""
" Another abs link"
""
+ ""
+ ""
"