This step fixes unit tests for the file manager's 'catalog' package. It makes similar changes to those made in
OODT-722, OODT-723 and OODT-729. Four test classes are affected: TestDataSourceCatalog, TestLuceneCatalog, TestMappedDataSourceCatalog and TestOrderedDataSourceCatalog.
In each case, I've replaced hard-coded paths to test resources with paths from URLs via the 'getResource()' method. I've also used java.util.Properties objects to set System properties and then restore initial settings after each test is run.
Running the following command from the top-level (trunk) directory for each test class:
The results obtained were as follows:
Before applying the patch:
After applying the patch: