X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_pipe.cpp;h=01c06b976a9486b8ac32205016517e3e0527bfa3;hb=e160ff52e235fc6ad53ffac77b37642cb7cb8dfd;hp=89f1ee635d416548990bfa0363c82382f77df7b1;hpb=7da1eb44b26f8d8ec6c3aaddb0086eaa2c9d39b9;p=metaproxy-moved-to-github.git diff --git a/src/test_pipe.cpp b/src/test_pipe.cpp index 89f1ee6..01c06b9 100644 --- a/src/test_pipe.cpp +++ b/src/test_pipe.cpp @@ -1,5 +1,5 @@ -/* $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.5 2006-03-16 10:40:59 adam Exp $ + Copyright (c) 2005-2006, Index Data. %LICENSE% */ @@ -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;