Project

General

Profile

Revision 4700

Added by daigle almost 12 years ago

Renamed MetaCatUtil to MetacatUtil

View differences:

test/edu/ucsb/nceas/metacatnettest/MetaCatServletNetTest.java
401 401

  
402 402
		message = getMetacatString(prop);
403 403
		message = message.trim();
404
		//MetaCatUtil.debugMessage("Read Message: "+message, 30);
404
		//MetacatUtil.debugMessage("Read Message: "+message, 30);
405 405
		if (message == null || message.equals("") || message.indexOf("<error>") != -1) {//there was an error
406 406

  
407 407
			return false;
test/edu/ucsb/nceas/metacattest/QuerySpecificationTest.java
34 34
import edu.ucsb.nceas.MCTestCase;
35 35
import edu.ucsb.nceas.metacat.QuerySpecification;
36 36
import edu.ucsb.nceas.metacat.service.PropertyService;
37
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
37
import edu.ucsb.nceas.metacat.util.MetacatUtil;
38 38
import edu.ucsb.nceas.utilities.PropertyNotFoundException;
39 39

  
40 40
/**
......
95 95
  	  try
96 96
  	  {
97 97
		  PropertyService.getInstance("build/tests");
98
  		  MetaCatUtil.pathsForIndexing 
99
  		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
98
  		  MetacatUtil.pathsForIndexing 
99
  		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
100 100
  	  }
101 101
  	  catch(Exception e)
102 102
  	  {
test/edu/ucsb/nceas/metacattest/QueryGroupTest.java
30 30
import edu.ucsb.nceas.metacat.QueryGroup;
31 31
import edu.ucsb.nceas.metacat.QueryTerm;
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

  
35 35
/**
36 36
 * @author jones
......
45 45
    {
46 46
  	  try
47 47
  	  {
48
  		  MetaCatUtil.pathsForIndexing 
49
  		         = MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
48
  		  MetacatUtil.pathsForIndexing 
49
  		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
50 50
  	  }
51 51
  	  catch(Exception e)
52 52
  	  {
test/edu/ucsb/nceas/metacattest/BuildIndexTest.java
46 46
import edu.ucsb.nceas.metacat.service.DatabaseService;
47 47
import edu.ucsb.nceas.metacat.service.PropertyService;
48 48
import edu.ucsb.nceas.metacat.service.ServiceException;
49
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
49
import edu.ucsb.nceas.metacat.util.MetacatUtil;
50 50
import edu.ucsb.nceas.utilities.IOUtil;
51 51
import edu.ucsb.nceas.utilities.PropertyNotFoundException;
52 52
import junit.framework.Test;
......
79 79
	static {
80 80
		try {
81 81
			PropertyService.getInstance("build/tests");
82
			MetaCatUtil.pathsForIndexing = MetaCatUtil.getOptionList(PropertyService
82
			MetacatUtil.pathsForIndexing = MetacatUtil.getOptionList(PropertyService
83 83
					.getProperty("xml.indexPaths"));
84 84
		} catch (Exception e) {
85 85
			System.err.println("Exception in initialize option in MetacatServletNetTest "

Also available in: Unified diff