EHC ❯ let Configurator unit tests pass on a windows machine
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
I’m not sure why the Configurator *needs* to have a disk cache path of “/tmp”, but that assertion will *never* pass on a windows machine.
This patch changes the disk cache path from needing to be “/tmp” ot checking that the supplied path name exists as a file, is a directory, and can be read from and written to.
I can’t figure out how to get NetBeans to pass “-u” to diff, so this patch is a “context” diff, not a “unified” one; I hope that’s okay. Sourceforge Ticket ID: 982907 - Opened By: zacjacobson - 30 Jun 2004 18:06 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320
I changed ConfiguratorTest to use java.io.tmpdir. This maps to whatever the temporary directory is on your system.
assertEquals(System.getProperty(“java.io.tmpdir”), configuration.getDiskCachePath()); Comment by: gregluck - 21 Sep 2004 03:19 UTC