Revision 4385
Added by daigle almost 16 years ago
HarvestDocumentTest.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package edu.ucsb.nceas.metacattest.harvesterClient; |
29 | 29 |
|
30 |
import edu.ucsb.nceas.MCTestCase; |
|
30 | 31 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDocument; |
31 | 32 |
import edu.ucsb.nceas.metacat.harvesterClient.HarvestSiteSchedule; |
32 | 33 |
import edu.ucsb.nceas.metacat.harvesterClient.Harvester; |
33 | 34 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
34 | 35 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil; |
35 | 36 |
|
36 |
import java.io.File; |
|
37 | 37 |
import java.io.StringReader; |
38 | 38 |
import java.util.Date; |
39 | 39 |
import junit.framework.Test; |
40 |
import junit.framework.TestCase; |
|
41 | 40 |
import junit.framework.TestSuite; |
42 | 41 |
|
43 | 42 |
/** |
... | ... | |
45 | 44 |
* |
46 | 45 |
* @author costa |
47 | 46 |
*/ |
48 |
public class HarvestDocumentTest extends TestCase { |
|
47 |
public class HarvestDocumentTest extends MCTestCase {
|
|
49 | 48 |
|
50 | 49 |
private Harvester harvester; |
51 | 50 |
private HarvestDocument harvestDocument; |
... | ... | |
55 | 54 |
{ |
56 | 55 |
try |
57 | 56 |
{ |
58 |
PropertyService.getInstance("build/tests"); |
|
59 | 57 |
MetaCatUtil.pathsForIndexing |
60 | 58 |
= MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths")); |
61 | 59 |
} |
Also available in: Unified diff
Convert remainder of tests that use PropertyService to extend the MCTestCase class