Revision 4080
Added by daigle about 16 years ago
HarvestLogTest.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package edu.ucsb.nceas.metacattest.harvesterClient; |
29 | 29 |
|
30 |
import edu.ucsb.nceas.metacat.MetaCatUtil; |
|
31 | 30 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestSiteSchedule; |
32 | 31 |
import java.io.File; |
33 | 32 |
import java.sql.Connection; |
... | ... | |
39 | 38 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDetailLog; |
40 | 39 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDocument; |
41 | 40 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestLog; |
41 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
|
42 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil; |
|
42 | 43 |
import edu.ucsb.nceas.utilities.Options; |
43 | 44 |
import junit.framework.Test; |
44 | 45 |
import junit.framework.TestCase; |
... | ... | |
64 | 65 |
{ |
65 | 66 |
Options.initialize(new File("build/tests/metacat.properties")); |
66 | 67 |
MetaCatUtil.pathsForIndexing |
67 |
= MetaCatUtil.getOptionList(MetaCatUtil.getOption("indexPaths"));
|
|
68 |
= MetaCatUtil.getOptionList(PropertyService.getProperty("indexPaths"));
|
|
68 | 69 |
} |
69 | 70 |
catch(Exception e) |
70 | 71 |
{ |
Also available in: Unified diff
Merge 1.9 changes into Head