Revision 8129
Added by Jing Tao over 11 years ago
metacat-index/src/test/java/edu/ucsb/nceas/metacat/index/ApplicationControllerIT.java | ||
---|---|---|
15 | 15 |
*/ |
16 | 16 |
@Test |
17 | 17 |
public void testConstructor() throws Exception { |
18 |
String springConfigFile = "src/main/resources/index-processor-context.xml";
|
|
18 |
String springConfigFile = "/index-processor-context.xml"; |
|
19 | 19 |
String metacatPropertyFile = null; //in this test, we use the test.properties file rather than metacat.properties file. so set it to be null. |
20 | 20 |
ApplicationController controller = new ApplicationController(springConfigFile, metacatPropertyFile); |
21 | 21 |
controller.initialize(); |
Also available in: Unified diff
Change the configuration path according to the change of the class.