1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2015 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.taxeditor.session;
|
11
|
|
12
|
import org.junit.Test;
|
13
|
import org.springframework.util.Assert;
|
14
|
import org.unitils.UnitilsJUnit4;
|
15
|
|
16
|
import eu.etaxonomy.cdm.api.application.CdmApplicationState;
|
17
|
|
18
|
/**
|
19
|
* @author cmathew
|
20
|
* @date 5 Oct 2015
|
21
|
*
|
22
|
*/
|
23
|
public class CdmApplicationStateTest extends UnitilsJUnit4 {
|
24
|
|
25
|
@Test
|
26
|
public void testCdmlibManifestInfoUpdate() {
|
27
|
CdmApplicationState.updateCdmlibManifestInfo();
|
28
|
Assert.notNull(CdmApplicationState.getCdmlibVersion());
|
29
|
Assert.notNull(CdmApplicationState.getCdmlibLastModified());
|
30
|
}
|
31
|
}
|