X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.test.cc;h=888f981dd4c85d7bb1b4ce3208fa2a8b23dafa0e;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=a138d9878e2416a76000d0a1749528277d4aa681;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Socket/SocketProtocol.test.cc b/Socket/SocketProtocol.test.cc index a138d98..888f981 100644 --- a/Socket/SocketProtocol.test.cc +++ b/Socket/SocketProtocol.test.cc @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2006 +// 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,17 +20,17 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Unit tests +/** \file + \brief SocketProtocol unit tests */ -//#include "SocketProtocol.test.hh" +#include "SocketProtocol.test.hh" //#include "SocketProtocol.test.ih" // Custom includes #include "SocketProtocol.hh" #include "SocketPolicy.hh" -#include "SocketProtocol.test.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -38,10 +38,10 @@ BOOST_AUTO_UNIT_TEST(socketProtocol) { - senf::test::SomeProtocol protocol; + senf::test::SomeSocketProtocol protocol; // This would fail an assertion ... - // BOOST_CHECK( protocol.body() == 0 ); + // BOOST_CHECK( protocol.body() == 0 ); protocol.policy(); } @@ -52,5 +52,10 @@ BOOST_AUTO_UNIT_TEST(socketProtocol) // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: