Project

General

Profile

« Previous | Next » 

Revision 4384

Added by daigle almost 16 years ago

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

View differences:

SubTreeTest.java
26 26

  
27 27
package edu.ucsb.nceas.metacattest;
28 28

  
29
import edu.ucsb.nceas.MCTestCase;
29 30
import edu.ucsb.nceas.metacat.*;
30 31
import edu.ucsb.nceas.metacat.service.PropertyService;
31 32
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
33

  
32 34
import junit.framework.Test;
33
import junit.framework.TestCase;
34
import junit.framework.TestResult;
35 35
import junit.framework.TestSuite;
36

  
36 37
import org.apache.commons.logging.Log;
37 38
import org.apache.commons.logging.LogFactory;
38 39

  
......
42 43
/**
43 44
 * A JUnit test for testing Step class processing
44 45
 */
45
public class SubTreeTest extends TestCase
46
public class SubTreeTest extends MCTestCase
46 47
{
47 48
  private SubTree tree = null;
48 49
  private static final Log log = LogFactory.getLog("edu.ucsb.nceas.metacattest.ReplicationServerListTest");
......
51 52
  {
52 53
	  try
53 54
	  {
54
		  PropertyService.getInstance("build/tests");
55 55
		  MetaCatUtil.pathsForIndexing 
56 56
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
57 57
	  }

Also available in: Unified diff