X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolClientSocketHandle.test.cc;h=131474219ccce00439af2b75c3fbc69003945c4d;hb=bd9f9d3fd6fbcff0112a7bf48ab9284da9576b11;hp=8e1ac709153d51b6ae997cfa02b123bd4a7b09f6;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Socket/ProtocolClientSocketHandle.test.cc b/Socket/ProtocolClientSocketHandle.test.cc index 8e1ac70..1314742 100644 --- a/Socket/ProtocolClientSocketHandle.test.cc +++ b/Socket/ProtocolClientSocketHandle.test.cc @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -20,7 +20,8 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Unit tests +/** \file + \brief ProtocolClientSocketHandle unit tests */ //#include "ProtocolClientSocketHandle.test.hh" //#include "ProtocolClientSocketHandle.test.ih" @@ -29,23 +30,23 @@ #include "ProtocolClientSocketHandle.hh" #include "SocketProtocol.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// namespace { - struct MyProtocol : public senf::test::SomeProtocol + struct MySocketProtocol : public senf::test::SomeSocketProtocol { - using senf::test::SomeProtocol::init_client; + using senf::test::SomeSocketProtocol::init_client; void init_client(char const *,unsigned) const {} }; } BOOST_AUTO_UNIT_TEST(protocolClientSocketHandle) { - typedef senf::ProtocolClientSocketHandle MySocketHandle; + typedef senf::ProtocolClientSocketHandle MySocketHandle; { typedef senf::MakeSocketPolicy< @@ -77,4 +78,6 @@ BOOST_AUTO_UNIT_TEST(protocolClientSocketHandle) // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: