X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolServerSocketHandle.test.cc;h=149342c73c9210c41299589c009955e9d44e7778;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=384d989195d4c2d6dbc634ae759ae4a1f1f6e6a8;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Socket/ProtocolServerSocketHandle.test.cc b/Socket/ProtocolServerSocketHandle.test.cc index 384d989..149342c 100644 --- a/Socket/ProtocolServerSocketHandle.test.cc +++ b/Socket/ProtocolServerSocketHandle.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 @@ -29,7 +29,7 @@ #include "ProtocolServerSocketHandle.hh" #include "SocketProtocol.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -66,11 +66,11 @@ BOOST_AUTO_UNIT_TEST(protocolServerSocketHandle) BOOST_CHECK_EQUAL( client.fd(), -1 ); BOOST_CHECK_EQUAL( h.dumpState(), - "handle: senf::ProtocolServerSocketHandle<(anonymous namespace)::MyProtocol>\n" "file.handle: -1\n" "file.refcount: 2\n" - "socket.policy: senf::SocketPolicy\n" + "handle: senf::ProtocolServerSocketHandle<(anonymous namespace)::MyProtocol>\n" "socket.protocol: (anonymous namespace)::MyProtocol\n" + "socket.protocol.policy: senf::SocketPolicy\n" "socket.server: true\n" ); } @@ -90,4 +90,6 @@ BOOST_AUTO_UNIT_TEST(protocolServerSocketHandle) // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: