Revision f13ee832
Added by Katja Luther over 2 years ago
eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/operation/SwapSynonymAndAcceptedOperationTest.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.cdm.model.common.ICdmBase; |
19 | 19 |
import eu.etaxonomy.cdm.model.description.TaxonDescription; |
20 |
import eu.etaxonomy.cdm.model.metadata.SecReferenceHandlingSwapEnum; |
|
20 | 21 |
import eu.etaxonomy.cdm.model.name.HomotypicalGroup; |
21 | 22 |
import eu.etaxonomy.cdm.model.name.INonViralName; |
22 | 23 |
import eu.etaxonomy.cdm.model.name.TaxonNameFactory; |
... | ... | |
111 | 112 |
taxon.addDescription(description); |
112 | 113 |
|
113 | 114 |
operation = new SwapSynonymAndAcceptedOperation |
114 |
(null, undoContext, taxon, oldHeterotypicSynonym, postOperation, cdmEntitySessionEnabled, true); |
|
115 |
(null, undoContext, taxon, oldHeterotypicSynonym, postOperation, cdmEntitySessionEnabled, true, SecReferenceHandlingSwapEnum.AlwaysDelete, null, null);
|
|
115 | 116 |
} |
116 | 117 |
|
117 | 118 |
|
Also available in: Unified diff
ref #9340, #9734, #9668: further improvements for configurable sec handling during taxon(base) operations