Revision 4385
Added by daigle almost 16 years ago
HarvesterTest.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.Harvester; |
31 | 32 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
32 | 33 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil; |
33 | 34 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
35 |
|
|
34 | 36 |
import junit.framework.Test; |
35 |
import junit.framework.TestCase; |
|
36 | 37 |
import junit.framework.TestSuite; |
37 | 38 |
|
38 | 39 |
/** |
... | ... | |
40 | 41 |
* |
41 | 42 |
* @author costa |
42 | 43 |
*/ |
43 |
public class HarvesterTest extends TestCase { |
|
44 |
public class HarvesterTest extends MCTestCase {
|
|
44 | 45 |
|
45 | 46 |
private Harvester harvester; |
46 | 47 |
/* Initialize Properties */ |
47 | 48 |
static { |
48 | 49 |
try { |
49 |
PropertyService.getInstance("build/tests"); |
|
50 | 50 |
MetaCatUtil.pathsForIndexing = MetaCatUtil.getOptionList( |
51 | 51 |
PropertyService.getProperty("xml.indexPaths")); |
52 | 52 |
} catch (Exception e) { |
Also available in: Unified diff
Convert remainder of tests that use PropertyService to extend the MCTestCase class