Merge branch 'release/5.45.0'
[cdmlib.git] / cdmlib-persistence / src / test / java / eu / etaxonomy / cdm / config / ConfigFileUtilTest.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.config;
11
12 import java.io.File;
13
14 import org.junit.Assert;
15 import org.junit.Test;
16
17 public class ConfigFileUtilTest {
18
19
20 @Test
21 public void testGetHomeDirFallback() {
22 String userHome = System.getProperty("user.home");
23 Assert.assertEquals(userHome+File.separator+".cdmLibrary", ConfigFileUtil.getCdmHomeDirFallback().toString());
24 }
25
26
27 }