1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 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
|
|
11
|
package eu.etaxonomy.cdm.api.service;
|
12
|
|
13
|
import junit.framework.Assert;
|
14
|
|
15
|
import org.apache.log4j.Logger;
|
16
|
import org.junit.Test;
|
17
|
import org.unitils.spring.annotation.SpringBeanByType;
|
18
|
|
19
|
import eu.etaxonomy.cdm.test.integration.CdmIntegrationTest;
|
20
|
|
21
|
/**
|
22
|
* @author n.hoffmann
|
23
|
* @created Sep 22, 2009
|
24
|
* @version 1.0
|
25
|
*/
|
26
|
public class ClassificationServiceImplTest extends CdmIntegrationTest{
|
27
|
@SuppressWarnings("unused")
|
28
|
private static final Logger logger = Logger.getLogger(ClassificationServiceImplTest.class);
|
29
|
|
30
|
@SpringBeanByType
|
31
|
IClassificationService service;
|
32
|
|
33
|
/**
|
34
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#setTaxonNodeComparator(eu.etaxonomy.cdm.model.taxon.ITaxonNodeComparator)}.
|
35
|
*/
|
36
|
@Test
|
37
|
public final void testSetTaxonNodeComparator() {
|
38
|
// fail("Not yet implemented");
|
39
|
}
|
40
|
|
41
|
/**
|
42
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadTaxonNodeByTaxon(eu.etaxonomy.cdm.model.taxon.Taxon, java.util.UUID, java.util.List)}.
|
43
|
*/
|
44
|
@Test
|
45
|
public final void testLoadTaxonNodeByTaxon() {
|
46
|
// fail("Not yet implemented");
|
47
|
}
|
48
|
|
49
|
/**
|
50
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode, java.util.List)}.
|
51
|
*/
|
52
|
@Test
|
53
|
public final void testLoadTaxonNode() {
|
54
|
// fail("Not yet implemented");
|
55
|
}
|
56
|
|
57
|
/**
|
58
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadRankSpecificRootNodes(eu.etaxonomy.cdm.model.taxon.Classification, eu.etaxonomy.cdm.model.name.Rank, java.util.List)}.
|
59
|
*/
|
60
|
@Test
|
61
|
public final void testLoadRankSpecificRootNodes() {
|
62
|
// fail("Not yet implemented");
|
63
|
}
|
64
|
|
65
|
/**
|
66
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadTreeBranch(eu.etaxonomy.cdm.model.taxon.TaxonNode, eu.etaxonomy.cdm.model.name.Rank, java.util.List)}.
|
67
|
*/
|
68
|
@Test
|
69
|
public final void testLoadTreeBranch() {
|
70
|
// fail("Not yet implemented");
|
71
|
}
|
72
|
|
73
|
/**
|
74
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadTreeBranchToTaxon(eu.etaxonomy.cdm.model.taxon.Taxon, eu.etaxonomy.cdm.model.taxon.Classification, eu.etaxonomy.cdm.model.name.Rank, java.util.List)}.
|
75
|
*/
|
76
|
@Test
|
77
|
public final void testLoadTreeBranchToTaxon() {
|
78
|
// fail("Not yet implemented");
|
79
|
}
|
80
|
|
81
|
/**
|
82
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadChildNodesOfTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode, java.util.List)}.
|
83
|
*/
|
84
|
@Test
|
85
|
public final void testLoadChildNodesOfTaxonNode() {
|
86
|
// fail("Not yet implemented");
|
87
|
}
|
88
|
|
89
|
/**
|
90
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#loadChildNodesOfTaxon(eu.etaxonomy.cdm.model.taxon.Taxon, eu.etaxonomy.cdm.model.taxon.Classification, java.util.List)}.
|
91
|
*/
|
92
|
@Test
|
93
|
public final void testLoadChildNodesOfTaxon() {
|
94
|
// fail("Not yet implemented");
|
95
|
}
|
96
|
|
97
|
/**
|
98
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getTaxonNodeByUuid(java.util.UUID)}.
|
99
|
*/
|
100
|
@Test
|
101
|
public final void testGetTaxonNodeByUuid() {
|
102
|
// fail("Not yet implemented");
|
103
|
}
|
104
|
|
105
|
/**
|
106
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getTreeNodeByUuid(java.util.UUID)}.
|
107
|
*/
|
108
|
@Test
|
109
|
public final void testGetTreeNodeByUuid() {
|
110
|
// fail("Not yet implemented");
|
111
|
}
|
112
|
|
113
|
/**
|
114
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#listClassifications(java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)}.
|
115
|
*/
|
116
|
@Test
|
117
|
public final void testListClassifications() {
|
118
|
// fail("Not yet implemented");
|
119
|
}
|
120
|
|
121
|
/**
|
122
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getClassificationByUuid(java.util.UUID)}.
|
123
|
*/
|
124
|
@Test
|
125
|
public final void testGetClassificationByUuid() {
|
126
|
// fail("Not yet implemented");
|
127
|
}
|
128
|
|
129
|
/**
|
130
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#removeTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode)}.
|
131
|
*/
|
132
|
@Test
|
133
|
public final void testRemoveTaxonNode() {
|
134
|
// fail("Not yet implemented");
|
135
|
}
|
136
|
|
137
|
/**
|
138
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#removeTreeNode(eu.etaxonomy.cdm.model.taxon.ITreeNode)}.
|
139
|
*/
|
140
|
@Test
|
141
|
public final void testRemoveTreeNode() {
|
142
|
// fail("Not yet implemented");
|
143
|
}
|
144
|
|
145
|
/**
|
146
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#saveTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode)}.
|
147
|
*/
|
148
|
@Test
|
149
|
public final void testSaveTaxonNode() {
|
150
|
// fail("Not yet implemented");
|
151
|
}
|
152
|
|
153
|
/**
|
154
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#saveTaxonNodeAll(java.util.Collection)}.
|
155
|
*/
|
156
|
@Test
|
157
|
public final void testSaveTaxonNodeAll() {
|
158
|
// fail("Not yet implemented");
|
159
|
}
|
160
|
|
161
|
/**
|
162
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#saveTreeNode(eu.etaxonomy.cdm.model.taxon.ITreeNode)}.
|
163
|
*/
|
164
|
@Test
|
165
|
public final void testSaveTreeNode() {
|
166
|
// fail("Not yet implemented");
|
167
|
}
|
168
|
|
169
|
/**
|
170
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(eu.etaxonomy.cdm.model.taxon.Classification)}.
|
171
|
*/
|
172
|
@Test
|
173
|
public final void testGetTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification() {
|
174
|
// fail("Not yet implemented");
|
175
|
}
|
176
|
|
177
|
/**
|
178
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getUuidAndTitleCache()}.
|
179
|
*/
|
180
|
@Test
|
181
|
public final void testGetUuidAndTitleCache() {
|
182
|
// fail("Not yet implemented");
|
183
|
}
|
184
|
|
185
|
/**
|
186
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getAllMediaForChildNodes(eu.etaxonomy.cdm.model.taxon.TaxonNode, java.util.List, int, int, int, java.lang.String[])}.
|
187
|
*/
|
188
|
@Test
|
189
|
public final void testGetAllMediaForChildNodesTaxonNodeListOfStringIntIntIntStringArray() {
|
190
|
// fail("Not yet implemented");
|
191
|
}
|
192
|
|
193
|
/**
|
194
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#getAllMediaForChildNodes(eu.etaxonomy.cdm.model.taxon.Taxon, eu.etaxonomy.cdm.model.taxon.Classification, java.util.List, int, int, int, java.lang.String[])}.
|
195
|
*/
|
196
|
@Test
|
197
|
public final void testGetAllMediaForChildNodesTaxonClassificationListOfStringIntIntIntStringArray() {
|
198
|
// fail("Not yet implemented");
|
199
|
}
|
200
|
|
201
|
/**
|
202
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#setDao(eu.etaxonomy.cdm.persistence.dao.taxon.IClassificationDao)}.
|
203
|
*/
|
204
|
@Test
|
205
|
public final void testSetDaoIClassificationDao() {
|
206
|
Assert.assertNotNull(service);
|
207
|
}
|
208
|
|
209
|
/**
|
210
|
* Test method for {@link eu.etaxonomy.cdm.api.service.ClassificationServiceImpl#generateTitleCache()}.
|
211
|
*/
|
212
|
@Test
|
213
|
public final void testGenerateTitleCache() {
|
214
|
// fail("Not yet implemented");
|
215
|
}
|
216
|
}
|