public class CreateSynonymInExisitingHomotypicalGroupOperationTest extends AbstractTaxeditorOperationTestBase
cdmEntitySessionEnabled, info, monitor, operation, postOperation, taxon, undoContext
Constructor and Description |
---|
CreateSynonymInExisitingHomotypicalGroupOperationTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testExecuteSynonymHomotypicGroup()
|
void |
testExecuteTaxonHomotypicGroup()
|
void |
testRedoSynonymHomotypicGroup()
|
void |
testRedoTaxonHomotypicGroup()
|
void |
testUndoSynonymHomotypicGroup()
|
void |
testUndoTaxonHomotypicGroup()
|
public CreateSynonymInExisitingHomotypicalGroupOperationTest()
public void setUp() throws java.lang.Exception
java.lang.Exception
public void testExecuteTaxonHomotypicGroup() throws org.eclipse.core.commands.ExecutionException
CreateSynonymInExistingHomotypicalGroupOperation.execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
.
Homotypic group is the Taxons homotypic group, so we expect the synonym to be homotypic to the accepted taxon.org.eclipse.core.commands.ExecutionException
public void testExecuteSynonymHomotypicGroup() throws org.eclipse.core.commands.ExecutionException
CreateSynonymInExistingHomotypicalGroupOperation.execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
.
Homotypic group is not the accepted taxons. Heterotypic synonym should be created.org.eclipse.core.commands.ExecutionException
public void testUndoTaxonHomotypicGroup() throws org.eclipse.core.commands.ExecutionException
CreateSynonymInExistingHomotypicalGroupOperation.undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
.org.eclipse.core.commands.ExecutionException
public void testUndoSynonymHomotypicGroup() throws org.eclipse.core.commands.ExecutionException
CreateSynonymInExistingHomotypicalGroupOperation.undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
.org.eclipse.core.commands.ExecutionException
public void testRedoTaxonHomotypicGroup() throws org.eclipse.core.commands.ExecutionException
CreateSynonymInExistingHomotypicalGroupOperation.redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
.org.eclipse.core.commands.ExecutionException
public void testRedoSynonymHomotypicGroup() throws org.eclipse.core.commands.ExecutionException
CreateSynonymInExistingHomotypicalGroupOperation.redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
.org.eclipse.core.commands.ExecutionException
Copyright © 2007-2018. All Rights Reserved.