1 package org.kuali.ole.utility;
2
3 import org.junit.Test;
4 import org.kuali.ole.docstore.xstream.BaseTestCase;
5 import org.slf4j.Logger;
6 import org.slf4j.LoggerFactory;
7
8 import static junit.framework.Assert.assertNotNull;
9
10
11
12
13
14
15
16
17 public class ConfigUtil_UT extends BaseTestCase {
18 private static final Logger LOG = LoggerFactory.getLogger(ConfigUtil_UT.class);
19
20 @Test
21 public void testConfigUtil() throws Exception {
22 ConfigUtil configUtil = new ConfigUtil();
23 String kualiHome = configUtil.getKualiHome();
24 LOG.info(kualiHome);
25 String applicationHome = configUtil.getApplicationHome(Constants.KUALI_GROUP, Constants.OLE_DOCSTORE_APP);
26 LOG.info(applicationHome);
27 assertNotNull(configUtil.getValue(null, "JAVA_HOME", null));
28
29
30 }
31
32 }