Project

General

Profile

« Previous | Next » 

Revision 4701

Added by daigle almost 16 years ago

Renamed MetaCatUtil to MetacatUtil

View differences:

test/edu/ucsb/nceas/metacattest/SubTreeTest.java
29 29
import edu.ucsb.nceas.MCTestCase;
30 30
import edu.ucsb.nceas.metacat.*;
31 31
import edu.ucsb.nceas.metacat.service.PropertyService;
32
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
32
import edu.ucsb.nceas.metacat.util.MetacatUtil;
33 33

  
34 34
import junit.framework.Test;
35 35
import junit.framework.TestSuite;
......
52 52
  {
53 53
	  try
54 54
	  {
55
		  MetaCatUtil.pathsForIndexing 
56
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
55
		  MetacatUtil.pathsForIndexing 
56
		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
57 57
	  }
58 58
	  catch(Exception e)
59 59
	  {
test/edu/ucsb/nceas/metacattest/UploadIPCCDataTest.java
30 30
import edu.ucsb.nceas.metacat.client.Metacat;
31 31
import edu.ucsb.nceas.metacat.client.MetacatFactory;
32 32
import edu.ucsb.nceas.metacat.service.PropertyService;
33
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
33
import edu.ucsb.nceas.metacat.util.MetacatUtil;
34 34
import edu.ucsb.nceas.utilities.IOUtil;
35 35
import edu.ucsb.nceas.utilities.XMLUtilities;
36 36
//import edu.ucsb.nceas.morpho.framework.*;
......
82 82
		  try
83 83
		  {
84 84
			  PropertyService.getInstance("build/tests");
85
			  MetaCatUtil.pathsForIndexing 
86
			         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
85
			  MetacatUtil.pathsForIndexing 
86
			         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
87 87
		  }
88 88
		  catch(Exception e)
89 89
		  {
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvestDetailLogTest.java
33 33
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDocument;
34 34
import edu.ucsb.nceas.metacat.harvesterClient.HarvestSiteSchedule;
35 35
import edu.ucsb.nceas.metacat.service.PropertyService;
36
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
36
import edu.ucsb.nceas.metacat.util.MetacatUtil;
37 37

  
38 38
import java.sql.Connection;
39 39
import junit.framework.Test;
......
55 55
  {
56 56
	  try
57 57
	  {
58
		  MetaCatUtil.pathsForIndexing 
59
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
58
		  MetacatUtil.pathsForIndexing 
59
		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
60 60
	  }
61 61
	  catch(Exception e)
62 62
	  {
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvesterTest.java
30 30
import edu.ucsb.nceas.MCTestCase;
31 31
import edu.ucsb.nceas.metacat.harvesterClient.Harvester;
32 32
import edu.ucsb.nceas.metacat.service.PropertyService;
33
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
33
import edu.ucsb.nceas.metacat.util.MetacatUtil;
34 34
import edu.ucsb.nceas.utilities.PropertyNotFoundException;
35 35

  
36 36
import junit.framework.Test;
......
47 47
	/* Initialize Properties */
48 48
	static {
49 49
		try {
50
			MetaCatUtil.pathsForIndexing = MetaCatUtil.getOptionList(
50
			MetacatUtil.pathsForIndexing = MetacatUtil.getOptionList(
51 51
					PropertyService.getProperty("xml.indexPaths"));
52 52
		} catch (Exception e) {
53 53
			System.err.println("Exception in initialize option in MetacatServletNetTest "
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvestDocumentTest.java
32 32
import edu.ucsb.nceas.metacat.harvesterClient.HarvestSiteSchedule;
33 33
import edu.ucsb.nceas.metacat.harvesterClient.Harvester;
34 34
import edu.ucsb.nceas.metacat.service.PropertyService;
35
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
35
import edu.ucsb.nceas.metacat.util.MetacatUtil;
36 36

  
37 37
import java.io.StringReader;
38 38
import java.util.Date;
......
54 54
  {
55 55
	  try
56 56
	  {
57
		  MetaCatUtil.pathsForIndexing 
58
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
57
		  MetacatUtil.pathsForIndexing 
58
		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
59 59
	  }
60 60
	  catch(Exception e)
61 61
	  {
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvestLogTest.java
36 36
import edu.ucsb.nceas.metacat.harvesterClient.HarvestDocument;
37 37
import edu.ucsb.nceas.metacat.harvesterClient.HarvestLog;
38 38
import edu.ucsb.nceas.metacat.service.PropertyService;
39
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
39
import edu.ucsb.nceas.metacat.util.MetacatUtil;
40 40

  
41 41
import junit.framework.Test;
42 42
import junit.framework.TestSuite;
......
58 58
  {
59 59
	  try
60 60
	  {
61
		  MetaCatUtil.pathsForIndexing 
62
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
61
		  MetacatUtil.pathsForIndexing 
62
		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
63 63
	  }
64 64
	  catch(Exception e)
65 65
	  {
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvestSiteScheduleTest.java
31 31
import edu.ucsb.nceas.metacat.harvesterClient.Harvester;
32 32
import edu.ucsb.nceas.metacat.harvesterClient.HarvestSiteSchedule;
33 33
import edu.ucsb.nceas.metacat.service.PropertyService;
34
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
34
import edu.ucsb.nceas.metacat.util.MetacatUtil;
35 35

  
36 36
import java.util.Date;
37 37
import javax.xml.parsers.ParserConfigurationException;
......
53 53
  {
54 54
	  try
55 55
	  {
56
		  MetaCatUtil.pathsForIndexing 
57
		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
56
		  MetacatUtil.pathsForIndexing 
57
		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
58 58
	  }
59 59
	  catch(Exception e)
60 60
	  {
test/edu/ucsb/nceas/metacattest/ReplicationServerListTest.java
29 29
import edu.ucsb.nceas.MCTestCase;
30 30
import edu.ucsb.nceas.metacat.*;
31 31
import edu.ucsb.nceas.metacat.service.PropertyService;
32
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
32
import edu.ucsb.nceas.metacat.util.MetacatUtil;
33 33
import junit.framework.Test;
34 34
import junit.framework.TestSuite;
35 35
import org.apache.commons.logging.Log;
......
51 51
		  {
52 52
			 metacatReplicationURL=
53 53
                     PropertyService.getProperty("junitreplicationurl");
54
			  MetaCatUtil.pathsForIndexing 
55
			         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
54
			  MetacatUtil.pathsForIndexing 
55
			         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
56 56
		  }
57 57
		  catch(Exception e)
58 58
		  {

Also available in: Unified diff