cleanup
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / test / java / eu / etaxonomy / taxeditor / editor / name / operation / DeleteMisapplicationOperationTest.java
index b10d2ba38d3743cefd95817b1a39a30cba449f40..226045272b0ec94d60f3893c57debbd7ccff83a6 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;
@@ -22,19 +21,14 @@ import eu.etaxonomy.taxeditor.store.operations.AbstractTaxeditorOperationTestBas
 /**
  * @author n.hoffmann
  * @created 08.04.2009
- * @version 1.0
  */
 public class DeleteMisapplicationOperationTest extends AbstractTaxeditorOperationTestBase{
-       private static final Logger logger = Logger
-                       .getLogger(DeleteMisapplicationOperationTest.class);
+       
+       private static final Logger logger = Logger.getLogger(DeleteMisapplicationOperationTest.class);
 
        private static Taxon taxon;
-
        private static Taxon misapplication;
 
-       /**
-        * @throws java.lang.Exception
-        */
        @BeforeClass
        public static void setUpBeforeClass() throws Exception {
 
@@ -47,10 +41,6 @@ public class DeleteMisapplicationOperationTest extends AbstractTaxeditorOperatio
 
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.editor.name.operation.DeleteMisapplicationOperation#execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}.
-        * @throws ExecutionException
-        */
        @Test
        public void testExecuteIProgressMonitorIAdaptable() throws ExecutionException {
                operation.execute(monitor, info);
@@ -58,10 +48,6 @@ public class DeleteMisapplicationOperationTest extends AbstractTaxeditorOperatio
                Assert.assertTrue(taxon.getMisappliedNames(false).size() == 0);
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.editor.name.operation.DeleteMisapplicationOperation#undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}.
-        * @throws ExecutionException
-        */
        @Test
        public void testUndoIProgressMonitorIAdaptable() throws ExecutionException {
                operation.undo(monitor, info);
@@ -69,10 +55,6 @@ public class DeleteMisapplicationOperationTest extends AbstractTaxeditorOperatio
                Assert.assertEquals(misapplication, taxon.getMisappliedNames(false).toArray(new Taxon[0])[0]);
        }
 
-       /**
-        * Test method for {@link eu.etaxonomy.taxeditor.editor.name.operation.DeleteMisapplicationOperation#redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}.
-        * @throws ExecutionException
-        */
        @Test
        public void testRedoIProgressMonitorIAdaptable() throws ExecutionException {
                operation.redo(monitor, info);
@@ -80,13 +62,10 @@ public class DeleteMisapplicationOperationTest extends AbstractTaxeditorOperatio
                Assert.assertTrue(taxon.getMisappliedNames(false).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