X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.test.hh;h=d03e6df92d1c24ae35177869b975ab7d11bf42ee;hb=532240d72e09e19e57fac9bb55c2560b9c9e5b97;hp=c5073f3971b21a58a0686be75768ce09f4118cd6;hpb=31243b46fbd06bc6301acca8fbd8153829c61b0a;p=senf.git diff --git a/Socket/SocketProtocol.test.hh b/Socket/SocketProtocol.test.hh index c5073f3..d03e6df 100644 --- a/Socket/SocketProtocol.test.hh +++ b/Socket/SocketProtocol.test.hh @@ -20,14 +20,13 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef HH_SocketProtocol_test_ -#define HH_SocketProtocol_test_ 1 +#ifndef HH_SENF_Socket_SocketProtocol_test_ +#define HH_SENF_Socket_SocketProtocol_test_ 1 // Custom includes #include "SocketProtocol.hh" #include "SocketPolicy.test.hh" #include "ProtocolClientSocketHandle.hh" -#include "../Utils/Logger/SenfLog.hh" //#include "SocketProtocol.test.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -35,11 +34,11 @@ namespace senf { namespace test { - class SomeProtocol - : public ConcreteSocketProtocol + class SomeSocketProtocol + : public ConcreteSocketProtocol { public: - ~SomeProtocol() {} + ~SomeSocketProtocol() {} void init_client() const { fd(0); } void init_server() const { fd(0); } @@ -49,8 +48,7 @@ namespace test { bool eof() const { return false; } - virtual void close() const { - SENF_LOG(( "Closing socket ..." )); + virtual void close() { closeCount(1); }