From: jmo Date: Tue, 27 Apr 2010 15:59:52 +0000 (+0000) Subject: TimerEventProxy pseudo bug prevention removed X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=c91deecd9eba258fca3793be49fb94e5ef2f4fec;p=senf.git TimerEventProxy pseudo bug prevention removed git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1607 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Scheduler/TimerEventProxy.test.cc b/senf/Scheduler/TimerEventProxy.test.cc index a4ce7ed..49aa142 100644 --- a/senf/Scheduler/TimerEventProxy.test.cc +++ b/senf/Scheduler/TimerEventProxy.test.cc @@ -63,7 +63,7 @@ SENF_AUTO_UNIT_TEST(timerEventProxy) { senf::scheduler::TimerEventProxy timers; - timers.add( t + senf::ClockService::milliseconds(10000), 0 , &handler); +// timers.add( t + senf::ClockService::milliseconds(10000), 0 , &handler); timers.add( t + senf::ClockService::milliseconds(800), 4, &handler); timers.add( t + senf::ClockService::milliseconds(200), 1, &handler); BOOST_CHECK( timers.remove( 4)); @@ -74,7 +74,7 @@ SENF_AUTO_UNIT_TEST(timerEventProxy) BOOST_CHECK_EQUAL( timers.timeout(2), t + senf::ClockService::milliseconds(700)); BOOST_CHECK_EQUAL( timers.timeout(4), 0); - run( senf::ClockService::milliseconds( 1000)); + run( senf::ClockService::milliseconds( 2000)); BOOST_CHECK( mask == 3); }