X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FUDPServer.test.cc;h=b663c9dcfa720b344f0e0fe76c7e0cad5dfe8680;hb=7db21ff4de83edddec7084c5f121a10321b5a42f;hp=3cd8b2e331aca4852dbf1103253527413bf180be;hpb=90f51da2398de98c2c217045f791ca7813730f48;p=senf.git diff --git a/senf/Utils/Console/UDPServer.test.cc b/senf/Utils/Console/UDPServer.test.cc index 3cd8b2e..b663c9d 100644 --- a/senf/Utils/Console/UDPServer.test.cc +++ b/senf/Utils/Console/UDPServer.test.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2009 +// Copyright (C) 2009 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -28,12 +28,13 @@ // Custom includes #include "Console.hh" +#include #include #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -64,7 +65,7 @@ namespace { unsigned nread (0); unsigned flags (0); std::string data; - + void read(senf::ConnectedUDPv4ClientSocketHandle socket, int ev) { flags |= ev; @@ -79,7 +80,7 @@ namespace { } -BOOST_AUTO_UNIT_TEST(udpServer) +SENF_AUTO_UNIT_TEST(udpServer) { senf::console::UDPServer server (senf::INet4SocketAddress(localhost4str(0))); senf::ConnectedUDPv4ClientSocketHandle socket (senf::INet4SocketAddress(localhost4str(0))); @@ -131,7 +132,7 @@ BOOST_AUTO_UNIT_TEST(udpServer) BOOST_CHECK_EQUAL( data, "sys/ \n" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_