[Leech-devel] unit tests on startup branch
Status: Pre-Alpha
Brought to you by:
bde
|
From: Brian E. <bd...@co...> - 2006-12-02 23:29:16
|
The units tests on the "startup" branch now work under Windows, at least under Parallels. Can someone please verify on a native copy of Windows? There were some temp directory and path bugs in the tests, plus a more nasty one surrounding clock resolution. It turns out that the clock resolution on Mac OS X was much better than on Windows. The implementation of java.io.File on Windows will only update its lastModified timestamp if approximately 850 milliseconds have passed since the file was changed. Good old clock resolution bugs. This is why Leech is designed not to trust remote clock timestamps, even though the network may be running NTP or another time synchronization protocol. Brian |