X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.test.cc;h=5da6b8c47e5b01d130c9b6dff4f7fb315623ae76;hb=d5ba3d7759212c90a5f4a25baf0dc38e290c3b64;hp=0e178691adf6e0557086e303b0cfbd24db8ff66e;hpb=145f6a7d0f3a6aaa77b3625351c952d24cb0b8a1;p=senf.git diff --git a/Scheduler/Scheduler.test.cc b/Scheduler/Scheduler.test.cc index 0e17869..5da6b8c 100644 --- a/Scheduler/Scheduler.test.cc +++ b/Scheduler/Scheduler.test.cc @@ -1,9 +1,10 @@ + // $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 @@ -38,7 +39,7 @@ #include "Scheduler.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -183,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