X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_filter_virt_db.cpp;h=f0953736c3299c4ae0570965e86fea41c40b228f;hb=f47e8cf4cde2ba5465106e219c803e6424a4f177;hp=ded40578e64b7e13547385f5af34eb220759e750;hpb=f26cca046b4879a78261ea436c3e21bb3b851b52;p=metaproxy-moved-to-github.git diff --git a/src/test_filter_virt_db.cpp b/src/test_filter_virt_db.cpp index ded4057..f095373 100644 --- a/src/test_filter_virt_db.cpp +++ b/src/test_filter_virt_db.cpp @@ -1,4 +1,4 @@ -/* $Id: test_filter_virt_db.cpp,v 1.8 2005-10-30 17:13:36 adam Exp $ +/* $Id: test_filter_virt_db.cpp,v 1.11 2006-01-16 17:02:55 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -26,7 +26,7 @@ using namespace boost::unit_test; -BOOST_AUTO_TEST_CASE( test_filter_virt_db_1 ) +BOOST_AUTO_UNIT_TEST( test_filter_virt_db_1 ) { try { @@ -37,7 +37,7 @@ BOOST_AUTO_TEST_CASE( test_filter_virt_db_1 ) } } -BOOST_AUTO_TEST_CASE( test_filter_virt_db_2 ) +BOOST_AUTO_UNIT_TEST( test_filter_virt_db_2 ) { try { @@ -189,7 +189,7 @@ static void present(yp2::Package &pack, yp2::Router &router, BOOST_CHECK_EQUAL(z_gdu->u.z3950->which, Z_APDU_presentResponse); } -BOOST_AUTO_TEST_CASE( test_filter_virt_db_3 ) +BOOST_AUTO_UNIT_TEST( test_filter_virt_db_3 ) { try { @@ -202,7 +202,7 @@ BOOST_AUTO_TEST_CASE( test_filter_virt_db_3 ) yp2::filter::Virt_db vdb; router.append(vdb); - vdb.add_map_db2vhost("Default", "localhost:210"); + vdb.add_map_db2target("Default", "localhost:210", ""); yp2::filter::Log filter_log2("BACK"); #if 0 router.append(filter_log2);