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:

HarvestDetailLogTest.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.HarvestDetailLog;
32 33
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDocument;
......
36 37

  
37 38
import java.sql.Connection;
38 39
import junit.framework.Test;
39
import junit.framework.TestCase;
40 40
import junit.framework.TestSuite;
41 41

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

  
49 49
  private Harvester harvester;
50 50
  private HarvestDetailLog harvestDetailLog;
......
55 55
  {
56 56
	  try
57 57
	  {
58
		  PropertyService.getInstance("build/tests");
59 58
		  MetaCatUtil.pathsForIndexing 
60 59
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
61 60
	  }

Also available in: Unified diff