1
|
/**
|
2
|
* Copyright (C) 2015 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
|
package eu.etaxonomy.taxeditor.session;
|
10
|
|
11
|
import org.junit.Test;
|
12
|
import org.springframework.util.Assert;
|
13
|
import org.unitils.UnitilsJUnit4;
|
14
|
|
15
|
import eu.etaxonomy.cdm.api.application.CdmApplicationState;
|
16
|
|
17
|
/**
|
18
|
* @author cmathew
|
19
|
* @date 5 Oct 2015
|
20
|
*
|
21
|
*/
|
22
|
public class CdmApplicationStateTest extends UnitilsJUnit4 {
|
23
|
|
24
|
@Test
|
25
|
public void testCdmlibManifestInfoUpdate() {
|
26
|
CdmApplicationState.updateCdmlibManifestInfo();
|
27
|
Assert.notNull(CdmApplicationState.getCdmlibVersion());
|
28
|
Assert.notNull(CdmApplicationState.getCdmlibLastModified());
|
29
|
}
|
30
|
}
|