Project

General

Profile

« Previous | Next » 

Revision 4719

Added by daigle over 15 years ago

Create a propertyService.getTestInstance method to facilitate unit tests

View differences:

MCTestCase.java
99 99
				new SortedProperties("build/tests/test.properties");
100 100
			testProperties.load();
101 101
			String metacatContextDir = testProperties.getProperty("metacat.contextDir");
102
			PropertyService.getInstance(metacatContextDir + "/WEB-INF");
102
			PropertyService.getTestInstance(metacatContextDir + "/WEB-INF");
103
//			PropertyService.getInstance();
103 104
		    String printDebugString = PropertyService.getProperty("test.printdebug");
104 105
		    printDebug = Boolean.parseBoolean(printDebugString);
105 106

  

Also available in: Unified diff