[Mono-list] Tests running on Windows again
Mon, 4 Mar 2002 07:59:04 +0900
| Well, TimeZone is a little bit problematic since it's a bit
| "broken" on Windows. It looks like mscorlib.dll is using some
| Windows system call to get the current timezone - and this
| call is ignoring the current culture, it always returns the
| timezone name in the language of your Windows installation.
Well, what I was originally thinking was to have some external
program/script run before the test. It would use some other way of
getting the time zone information and perhaps store it in a text file.
That text file would be read by the unit test to compare the TimeZone
Not sure what other ways are available in a cross-platform friendly
package, but if someone else does, please let me know.