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.cdm.model;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
import org.junit.Before;
|
14
|
import org.junit.BeforeClass;
|
15
|
import org.junit.Test;
|
16
|
|
17
|
import eu.etaxonomy.cdm.api.service.IClassificationService;
|
18
|
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
|
19
|
import eu.etaxonomy.cdm.api.service.ITaxonService;
|
20
|
import eu.etaxonomy.cdm.model.common.Language;
|
21
|
import eu.etaxonomy.taxeditor.operations.OperationTestBase;
|
22
|
import eu.etaxonomy.taxeditor.remoting.cache.CdmTransientEntityCacher;
|
23
|
import eu.etaxonomy.taxeditor.session.ICdmEntitySession;
|
24
|
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled;
|
25
|
import eu.etaxonomy.taxeditor.session.MockSessionOwner;
|
26
|
|
27
|
/**
|
28
|
* @author cmathew
|
29
|
* @date 9 Mar 2015
|
30
|
*
|
31
|
*/
|
32
|
public class TaxonNavigatorTest extends OperationTestBase {
|
33
|
|
34
|
private static final Logger logger = Logger.getLogger(TaxonNameEditorTest.class);
|
35
|
|
36
|
|
37
|
|
38
|
|
39
|
ITaxonNodeService taxonNodeService = getRemoteApplicationController().getTaxonNodeService();
|
40
|
ITaxonService taxonService = getRemoteApplicationController().getTaxonService();
|
41
|
IClassificationService classificationService = getRemoteApplicationController().getClassificationService();
|
42
|
|
43
|
|
44
|
private CdmTransientEntityCacher cacher;
|
45
|
private ICdmEntitySessionEnabled sessionOwner;
|
46
|
private ICdmEntitySession cdmEntitySession;
|
47
|
|
48
|
Language english = Language.getLanguageFromUuid(Language.uuidEnglish);
|
49
|
|
50
|
|
51
|
|
52
|
@BeforeClass
|
53
|
public static void initializePolytomousKeyTest() {
|
54
|
}
|
55
|
|
56
|
|
57
|
@Before
|
58
|
public void initializeSession() {
|
59
|
sessionOwner = new MockSessionOwner();
|
60
|
cdmEntitySession = cdmEntitySessionManager.newSession(sessionOwner, true);
|
61
|
cacher = getCacher(sessionOwner);
|
62
|
}
|
63
|
|
64
|
@Test
|
65
|
public void addNewTaxonTest() {
|
66
|
|
67
|
}
|
68
|
|
69
|
@Test
|
70
|
public void addNewClassificationTest() {
|
71
|
|
72
|
}
|
73
|
|
74
|
@Test
|
75
|
public void changeAcceptedTaxonToSynonymTest() {
|
76
|
|
77
|
}
|
78
|
|
79
|
@Test
|
80
|
public void moveTaxonTest() {
|
81
|
|
82
|
}
|
83
|
|
84
|
|
85
|
}
|