cleanup
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / test / java / eu / etaxonomy / taxeditor / editor / name / operation / DeleteConceptRelationOperationTest.java
index b560f95f6975d427c806682615b962199821dff1..4a2d31f49f46e71e3a6a8780d161f016a6ed9b52 100644 (file)
@@ -6,7 +6,6 @@
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
-
 package eu.etaxonomy.taxeditor.editor.name.operation;
 
 import org.apache.log4j.Logger;
@@ -23,19 +22,14 @@ import eu.etaxonomy.taxeditor.store.operations.AbstractTaxeditorOperationTestBas
 /**
  * @author n.hoffmann
  * @created 08.04.2009
- * @version 1.0
  */
 public class DeleteConceptRelationOperationTest extends AbstractTaxeditorOperationTestBase{
-       private static final Logger logger = Logger
-                       .getLogger(DeleteConceptRelationOperationTest.class);
+       
+       private static final Logger logger = Logger.getLogger(DeleteConceptRelationOperationTest.class);
 
        private static TaxonRelationshipType relationshipType;
-
        private static Taxon relatedTaxon;
-       
-       /**
-        * @throws java.lang.Exception
-        */
+
        @BeforeClass
        public static void setUpBeforeClass() throws Exception {
                
@@ -50,10 +44,6 @@ public class DeleteConceptRelationOperationTest extends AbstractTaxeditorOperati
 //             operation = new DeleteConceptRelationOperation("", undoContext, taxon, relatedTaxon, postOperation);
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.editor.view.concept.operation.DeleteConceptRelationOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}.
-        * @throws ExecutionException 
-        */
        @Test
        public void testExecuteIProgressMonitorIAdaptable() throws ExecutionException {
                operation.execute(monitor, info);
@@ -61,10 +51,6 @@ public class DeleteConceptRelationOperationTest extends AbstractTaxeditorOperati
                Assert.assertTrue(taxon.getTaxonRelations().size() == 0);
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.editor.view.concept.operation.DeleteConceptRelationOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}.
-        * @throws ExecutionException 
-        */
        @Test
        public void testUndoIProgressMonitorIAdaptable() throws ExecutionException {
                operation.undo(monitor, info);
@@ -72,10 +58,6 @@ public class DeleteConceptRelationOperationTest extends AbstractTaxeditorOperati
                Assert.assertTrue(taxon.getTaxonRelations().size() > 0);
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.editor.view.concept.operation.DeleteConceptRelationOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}.
-        * @throws ExecutionException 
-        */
        @Test
        public void testRedoIProgressMonitorIAdaptable() throws ExecutionException {
                operation.redo(monitor, info);
@@ -83,13 +65,10 @@ public class DeleteConceptRelationOperationTest extends AbstractTaxeditorOperati
                Assert.assertTrue(taxon.getTaxonRelations().size() == 0);
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation#postExecute(ICdmBase)}.
-        */
        @Test
        public void testPostExecute() {
                // TODO there is not post operation functionality for this class
                // at the moment. Implement test when there is.
                logger.warn("No post operation functionality for this class");
        }
-}
+}
\ No newline at end of file