Project

General

Profile

« Previous | Next » 

Revision 4385

Added by daigle almost 16 years ago

Convert remainder of tests that use PropertyService to extend the MCTestCase class

View differences:

HarvestSiteScheduleTest.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.harvesterClient.HarvestSiteSchedule;
32 33
import edu.ucsb.nceas.metacat.service.PropertyService;
33 34
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
34 35

  
35
import java.io.File;
36 36
import java.util.Date;
37 37
import javax.xml.parsers.ParserConfigurationException;
38 38
import junit.framework.Test;
39
import junit.framework.TestCase;
40 39
import junit.framework.TestSuite;
41 40

  
42 41
/**
......
44 43
 *
45 44
 * @author  costa
46 45
 */
47
public class HarvestSiteScheduleTest extends TestCase {
46
public class HarvestSiteScheduleTest extends MCTestCase {
48 47

  
49 48
  private Harvester harvester;
50 49
  private HarvestSiteSchedule harvestSiteScheduleFuture; // future date next har
......
54 53
  {
55 54
	  try
56 55
	  {
57
		  PropertyService.getInstance("build/tests");
58 56
		  MetaCatUtil.pathsForIndexing 
59 57
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
60 58
	  }

Also available in: Unified diff