X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ftest_pipe.cpp;h=9dcba67249cbb08ab4528cb568ee884e48588f11;hb=16921033f2609ed948cf6985b4fbce3d927a20c1;hp=89f1ee635d416548990bfa0363c82382f77df7b1;hpb=7da1eb44b26f8d8ec6c3aaddb0086eaa2c9d39b9;p=metaproxy-moved-to-github.git diff --git a/src/test_pipe.cpp b/src/test_pipe.cpp index 89f1ee6..9dcba67 100644 --- a/src/test_pipe.cpp +++ b/src/test_pipe.cpp @@ -1,12 +1,12 @@ -/* $Id: test_pipe.cpp,v 1.3 2005-11-08 08:55:41 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: test_pipe.cpp,v 1.7 2006-06-10 14:29:13 adam Exp $ + Copyright (c) 2005-2006, Index Data. -%LICENSE% + See the LICENSE file for details */ #include "config.hpp" -#include +#include #include #include @@ -18,11 +18,12 @@ #include using namespace boost::unit_test; +namespace mp = metaproxy_1; class Timer : public yazpp_1::ISocketObserver { private: yazpp_1::ISocketObservable *m_obs; - yp2::Pipe m_pipe; + mp::Pipe m_pipe; bool m_timeout; public: Timer(yazpp_1::ISocketObservable *obs, int duration); @@ -46,7 +47,7 @@ void Timer::socketNotify(int event) m_obs->deleteObserver(this); } -BOOST_AUTO_TEST_CASE( test_pipe_1 ) +BOOST_AUTO_UNIT_TEST( test_pipe_1 ) { yazpp_1::SocketManager mySocketManager;