RE: Failing Junit test only under Ant

2001-11-22 Thread Stephane Bailliez
-Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED]] I am confused here. Fixing your unit tests to work reliably regardless of user time zone *is* the elegant solution. The fact that your code doesnt work in all timezones seems like a defect to me, and now

Re: Failing Junit test only under Ant

2001-11-21 Thread otisg
, 2001 1:01 PM Subject: Failing Junit test only under Ant Hello, I have a unit test that uses Junit and deals with Dates. All Date operations are done in UTC time zone, so that is what Junit tests expect. I have my environment variable TZ set to EST5EDT. When I run the unit

Re: Failing Junit test only under Ant

2001-11-21 Thread Steve Loughran
] To: [EMAIL PROTECTED] Sent: Wednesday, November 21, 2001 11:45 Subject: Re: Failing Junit test only under Ant Hello, Does anyone know if there is a more elegant solution to this problem? I thought of doing this, but I was hoping there is a better, more programmatic perhaps, way of doing