Revision d31115e0
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/test/java/eu/etaxonomy/taxeditor/store/operations/MoveTaxonOperationTest.java | ||
---|---|---|
15 | 15 |
import org.junit.BeforeClass; |
16 | 16 |
import org.junit.Test; |
17 | 17 |
|
18 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
|
18 | 19 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
19 | 20 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
20 |
import eu.etaxonomy.cdm.model.taxon.TaxonomicTree; |
|
21 | 21 |
|
22 | 22 |
/** |
23 | 23 |
* @author n.hoffmann |
... | ... | |
28 | 28 |
|
29 | 29 |
private static Taxon oldParentTaxon; |
30 | 30 |
private static Taxon newParentTaxon; |
31 |
private static TaxonomicTree tree;
|
|
31 |
private static Classification tree;
|
|
32 | 32 |
private static TaxonNode oldParentTaxonNode; |
33 | 33 |
private static TaxonNode newParentTaxonNode; |
34 | 34 |
private static TaxonNode taxonNode; |
... | ... | |
47 | 47 |
oldParentTaxon = Taxon.NewInstance(null, null); |
48 | 48 |
newParentTaxon = Taxon.NewInstance(null, null); |
49 | 49 |
|
50 |
tree = TaxonomicTree.NewInstance(null);
|
|
50 |
tree = Classification.NewInstance(null);
|
|
51 | 51 |
oldParentTaxonNode = tree.addChildTaxon(oldParentTaxon, null, null, null); |
52 | 52 |
newParentTaxonNode = tree.addChildTaxon(newParentTaxon, null, null, null); |
53 | 53 |
|
Also available in: Unified diff
added a readme file