commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <>
Subject RE: [math] stupid question about test input files
Date Wed, 14 May 2003 16:11:58 GMT
You could create a "resources" directory at the same level as "java" and
access files there using the class loader (getSystemResource()). This avoids
mixing .java files and test fixture files. You need to put the resources dir
on the class path to run the unit tests of course. Not a big deal to do from
ant though.


-----Original Message-----
From: Phil Steitz [] 
Sent: Wednesday, May 14, 2003 8:11 AM
To: Jakarta Commons Developers List
Subject: [math] stupid question about test input files

I am bundling up my RandomData, EmpiricalDistribution and ValueServer 
classes for submission and the last two can take file input data.  The 
test cases need to read from a test data file.  Can I assume that this 
file will be available to the test cases with no path spec?


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message