X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FIntervalTimer.test.cc;h=9aca3db5421e56881f6573609f9846978429b62b;hb=44c966bc9d744d0926cffd5184fdb77a62564c16;hp=b3984e1fea2fa9c56ea279f5902a7d33a96e7092;hpb=e8b91aa6a817af6d9a3714e7b66be6c0d6b0a4e5;p=senf.git diff --git a/PPI/IntervalTimer.test.cc b/PPI/IntervalTimer.test.cc index b3984e1..9aca3db 100644 --- a/PPI/IntervalTimer.test.cc +++ b/PPI/IntervalTimer.test.cc @@ -31,7 +31,7 @@ #include "Module.hh" #include "Setup.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -60,12 +60,12 @@ namespace { : timer ( senf::ClockService::milliseconds(d_) ), n ( n_ ) { - registerEvent( &TimerTest::tick, timer ); + registerEvent( timer, &TimerTest::tick ); } }; bool is_close_clock(senf::ClockService::clock_type a, senf::ClockService::clock_type b, - unsigned long delta = 50000000ul) + unsigned long delta = senf::ClockService::milliseconds(100)) { return (a