X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FQueueing.test.cc;h=9f3e63a7982fdce0773ca4e9b095a0fc30ea7922;hb=6ba573a99f93543ee32292f79865751b3e9b89a4;hp=c9ae4eab0c2ddc752b53e2773b85f2d67f4567db;hpb=69535909437d04c0df8f95bfb242db4f36fda12d;p=senf.git diff --git a/PPI/Queueing.test.cc b/PPI/Queueing.test.cc index c9ae4ea..9f3e63a 100644 --- a/PPI/Queueing.test.cc +++ b/PPI/Queueing.test.cc @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// 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 @@ -31,10 +31,10 @@ #include "Module.hh" #include "Connectors.hh" #include "DebugModules.hh" -#include "Packets/Packets.hh" +#include "../Packets/Packets.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -50,8 +50,8 @@ namespace { { SENF_PPI_MODULE(QueueTester); public: - connector::PassiveInput input; - connector::ActiveOutput output; + connector::PassiveInput<> input; + connector::ActiveOutput<> output; QueueTester() { route(input, output); @@ -59,7 +59,7 @@ namespace { input.onRequest(&QueueTester::nop); } - void nop() {} + void nop() { /* no operation */ } void forward() { if (input && output)