X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_filter_frontend_net.cpp;h=8af770dc439ca72fc12c6788808cdf1a6627b17c;hb=c5f2b2f7158164cc047cdaf9935e27a33dcf4e5a;hp=f6b9c5d6208c4ea3d53c2bd2871a521476c21659;hpb=941d13b6a4dc2c2dd0e4bda89d380bfd8991b03b;p=metaproxy-moved-to-github.git diff --git a/src/test_filter_frontend_net.cpp b/src/test_filter_frontend_net.cpp index f6b9c5d..8af770d 100644 --- a/src/test_filter_frontend_net.cpp +++ b/src/test_filter_frontend_net.cpp @@ -1,3 +1,8 @@ +/* $Id: test_filter_frontend_net.cpp,v 1.8 2005-10-16 16:05:44 adam Exp $ + Copyright (c) 2005, Index Data. + +%LICENSE% + */ #include "config.hpp" #include @@ -14,10 +19,10 @@ using namespace boost::unit_test; -class FilterInit: public yp2::Filter { +class FilterInit: public yp2::filter::Base { public: void process(yp2::Package & package) const { - + if (package.session().is_closed()) { // std::cout << "Got Close.\n"; @@ -45,7 +50,7 @@ BOOST_AUTO_TEST_CASE( test_filter_frontend_net_1 ) try { { - yp2::FilterFrontendNet nf; + yp2::filter::FrontendNet nf; } } catch ( ... ) { @@ -101,7 +106,7 @@ BOOST_AUTO_TEST_CASE( test_filter_frontend_net_3 ) yp2::RouterChain router; // put in frontend first - yp2::FilterFrontendNet filter_front; + yp2::filter::FrontendNet filter_front; std::vector ports; ports.insert(ports.begin(), "unix:socket"); @@ -128,6 +133,7 @@ BOOST_AUTO_TEST_CASE( test_filter_frontend_net_3 ) * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */