projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the test for "config-zurg.xml" as that file will be omitted
[metaproxy-moved-to-github.git]
/
src
/
test_pipe.cpp
diff --git
a/src/test_pipe.cpp
b/src/test_pipe.cpp
index
89f1ee6
..
15e03d1
100644
(file)
--- 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.6 2006-03-29 13:44:45 adam Exp $
+ Copyright (c) 2005-2006, Index Data.
%LICENSE%
*/
#include "config.hpp"
%LICENSE%
*/
#include "config.hpp"
-#include <yaz++/socket-manager.h>
+#include <yazpp/socket-manager.h>
#include <iostream>
#include <stdexcept>
#include <iostream>
#include <stdexcept>
@@
-18,11
+18,12
@@
#include <boost/test/auto_unit_test.hpp>
using namespace boost::unit_test;
#include <boost/test/auto_unit_test.hpp>
using namespace boost::unit_test;
+namespace mp = metaproxy_1;
class Timer : public yazpp_1::ISocketObserver {
private:
yazpp_1::ISocketObservable *m_obs;
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);
bool m_timeout;
public:
Timer(yazpp_1::ISocketObservable *obs, int duration);
@@
-46,7
+47,7
@@
void Timer::socketNotify(int event)
m_obs->deleteObserver(this);
}
m_obs->deleteObserver(this);
}
-BOOST_AUTO_TEST_CASE( test_pipe_1 )
+BOOST_AUTO_UNIT_TEST( test_pipe_1 )
{
yazpp_1::SocketManager mySocketManager;
{
yazpp_1::SocketManager mySocketManager;