Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8, 2.2.1
-
None
-
None
Description
Right now we have a strange method for loading test resources e.g.
urlString = "file:" + sampleDir + fileSeparator + sampleFiles[i];
File file = new File(sampleDir + fileSeparator + sampleFiles[i]);
This works fine from the command line but fails to locate and load the resource within Eclipse IDE... not ideal.
I am investigating whether we can do getClass().getResource...