git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dc4d255
)
fix unit-test (copy&paste-bug in the times)
author
Gerd von Egidy
<gerd.von.egidy@intra2net.com>
Tue, 3 Feb 2009 08:46:32 +0000 (09:46 +0100)
committer
Gerd von Egidy
<gerd.von.egidy@intra2net.com>
Tue, 3 Feb 2009 08:46:32 +0000 (09:46 +0100)
test/test_cron.cpp
patch
|
blob
|
blame
|
history
diff --git
a/test/test_cron.cpp
b/test/test_cron.cpp
index
239dafd
..
233829f
100644
(file)
--- a/
test/test_cron.cpp
+++ b/
test/test_cron.cpp
@@
-564,7
+564,7
@@
public:
WeekCron cron("0123456",9000,18000,60);
// calc at: Sun Oct 26 02:59:59 CEST 2008
// expected next run: Sun Oct 26 02:00:00 CET 2008
- CPPUNIT_ASSERT_EQUAL( static_cast<time_t>(1224979200), cron.get_next_run(1224979199));
+ CPPUNIT_ASSERT_EQUAL( static_cast<time_t>(1224982800), cron.get_next_run(1224982799));
}
void IntervalOutFirstDSTBackwards4()