[Mono-list] Tests running on Windows again
Martin Baulig
martin@gnome.org
04 Mar 2002 16:41:27 +0100
"Nick Drochak" <ndrochak@gol.com> writes:
> | 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.
>
> Annoying.
>
> 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
> class's output.
Yeah, that'd work.
> Not sure what other ways are available in a cross-platform friendly
> package, but if someone else does, please let me know.
Such a program can be written in C or perl.
--
Martin Baulig
martin@gnome.org