X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FUDPServer.test.cc;h=de3cff6819ed32d6f3202a4bc99c8a4937488e39;hb=e9816d699770dea77c989c97ef53bf2266ce7b6b;hp=c4dc8a99007f2291f3322ad21fdb58ea3567a5cf;hpb=1393895bba9ea3757e712fca00ccb7a1d62fdb81;p=senf.git diff --git a/senf/Utils/Console/UDPServer.test.cc b/senf/Utils/Console/UDPServer.test.cc index c4dc8a9..de3cff6 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 @@ -27,13 +27,13 @@ //#include "UDPServer.test.ih" // Custom includes -#include "UDPServer.hh" +#include "Console.hh" #include #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -64,7 +64,7 @@ namespace { unsigned nread (0); unsigned flags (0); std::string data; - + void read(senf::ConnectedUDPv4ClientSocketHandle socket, int ev) { flags |= ev; @@ -79,7 +79,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 +131,7 @@ BOOST_AUTO_UNIT_TEST(udpServer) BOOST_CHECK_EQUAL( data, "sys/ \n" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_