X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.test.cc;h=ae95d780aaaeeb6275bfe4856d6354fc580ef04d;hb=14daa84b7c821626ae098bedd93ef07d98bf3a40;hp=f0055a563dfa72d182fb5b72ad20e6a5638208a6;hpb=d084c02e4914da4fa1a4098a33d704f69e8bdedd;p=senf.git diff --git a/Scheduler/Scheduler.test.cc b/Scheduler/Scheduler.test.cc index f0055a5..ae95d78 100644 --- a/Scheduler/Scheduler.test.cc +++ b/Scheduler/Scheduler.test.cc @@ -2,9 +2,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 @@ -39,7 +39,7 @@ #include "Scheduler.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -184,11 +184,26 @@ namespace { callback(handle.fd_,event); } - bool is_close(MicroTime a, MicroTime b) + bool is_close(ClockService::clock_type a, ClockService::clock_type b) { - return (a