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:

ReplicationServerListTest.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;
32
//import edu.ucsb.nceas.morpho.framework.*;
33 33
import junit.framework.Test;
34
import junit.framework.TestCase;
35
import junit.framework.TestResult;
36 34
import junit.framework.TestSuite;
37 35
import org.apache.commons.logging.Log;
38 36
import org.apache.commons.logging.LogFactory;
39 37

  
40 38
import java.io.*;
41 39
import java.net.*;
42
import java.util.*;
43 40

  
44

  
45 41
/**
46 42
 * A JUnit test for testing Step class processing
47 43
 */
48
public class ReplicationServerListTest extends TestCase
44
public class ReplicationServerListTest extends MCTestCase
49 45
{
50 46
    private static String metacatReplicationURL;
51 47
	 /* Initialize properties*/
......
55 51
		  {
56 52
			 metacatReplicationURL=
57 53
                     PropertyService.getProperty("junitreplicationurl");
58
			  PropertyService.getInstance("build/tests");
59 54
			  MetaCatUtil.pathsForIndexing 
60 55
			         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
61 56
		  }

Also available in: Unified diff