Revision 5035
Added by daigle over 14 years ago
MCTestCase.java | ||
---|---|---|
54 | 54 |
import edu.ucsb.nceas.metacat.client.MetacatException; |
55 | 55 |
import edu.ucsb.nceas.metacat.client.MetacatFactory; |
56 | 56 |
import edu.ucsb.nceas.metacat.client.MetacatInaccessibleException; |
57 |
import edu.ucsb.nceas.metacat.service.PropertyService;
|
|
57 |
import edu.ucsb.nceas.metacat.properties.PropertyService;
|
|
58 | 58 |
import edu.ucsb.nceas.metacat.shared.ServiceException; |
59 | 59 |
import edu.ucsb.nceas.metacat.util.RequestUtil; |
60 | 60 |
import edu.ucsb.nceas.utilities.IOUtil; |
... | ... | |
99 | 99 |
new SortedProperties("build/tests/test.properties"); |
100 | 100 |
testProperties.load(); |
101 | 101 |
String metacatContextDir = testProperties.getProperty("metacat.contextDir"); |
102 |
PropertyService.getTestInstance(metacatContextDir + "/WEB-INF");
|
|
102 |
PropertyService.getInstance(metacatContextDir + "/WEB-INF"); |
|
103 | 103 |
// PropertyService.getInstance(); |
104 | 104 |
String printDebugString = PropertyService.getProperty("test.printdebug"); |
105 | 105 |
printDebug = Boolean.parseBoolean(printDebugString); |
Also available in: Unified diff
Change location of PropertyService to properties directory