X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FClockService.test.cc;h=21b9288f9e38825af5cad83a8bf16c6218e65af8;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=1231e5d8f3eaade49f5d7bd310003078e6b49126;hpb=d6abda313f70c8a849c5e3f3bbfc12ce301789f1;p=senf.git diff --git a/Scheduler/ClockService.test.cc b/Scheduler/ClockService.test.cc index 1231e5d..21b9288 100644 --- a/Scheduler/ClockService.test.cc +++ b/Scheduler/ClockService.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 @@ -21,7 +21,7 @@ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /** \file - \brief ClockService.test unit tests */ + \brief ClockService unit tests */ //#include "ClockService.test.hh" //#include "ClockService.test.ih" @@ -36,29 +36,10 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -namespace senf { -namespace detail { - - struct ClockServiceTest - { - static boost::posix_time::ptime & base() - { return senf::ClockService::instance().base_; } - static boost::posix_time::ptime & heartbeat() - { return senf::ClockService::instance().heartbeat_; } - }; - -}} - namespace { bool is_close_clock(senf::ClockService::clock_type a, senf::ClockService::clock_type b, - unsigned long delta = 50000000ul) - { - return (a