JAL-845 linked protein/dna 'slave' further PoC functionality
[jalview.git] / test / jalview / commands / EditCommandTest.java
index 84671ae..6ea05e6 100644 (file)
@@ -405,7 +405,7 @@ public class EditCommandTest
    * </ul>
    */
   @Test
-  public void testUnwindCommand_multipleInserts()
+  public void testPriorState_multipleInserts()
   {
     EditCommand command = new EditCommand();
     SequenceI seq = new Sequence("", "--A--B-CDEF");
@@ -433,7 +433,7 @@ public class EditCommandTest
    * </ul>
    */
   @Test
-  public void testUnwindCommand_removeAllGaps()
+  public void testPriorState_removeAllGaps()
   {
     EditCommand command = new EditCommand();
     SequenceI seq = new Sequence("", "ABC");
@@ -454,7 +454,7 @@ public class EditCommandTest
    * Test for 'undoing' a single delete edit.
    */
   @Test
-  public void testUnwindCommand_singleDelete()
+  public void testPriorState_singleDelete()
   {
     EditCommand command = new EditCommand();
     SequenceI seq = new Sequence("", "ABCDEF");
@@ -470,11 +470,10 @@ public class EditCommandTest
   }
 
   /**
-   * Test method that 'restores' edit commands to hold the sequence as it was
-   * before the edit was applied.
+   * Test 'undoing' a single gap insertion edit command.
    */
   @Test
-  public void testUnwindCommand_singleInsert()
+  public void testPriorState_singleInsert()
   {
     EditCommand command = new EditCommand();
     SequenceI seq = new Sequence("", "AB---CDEF");
@@ -494,7 +493,7 @@ public class EditCommandTest
    * for contiguous gaps in each sequence separately.
    */
   @Test
-  public void testUnwindCommand_removeGapsMultipleSeqs()
+  public void testPriorState_removeGapsMultipleSeqs()
   {
     EditCommand command = new EditCommand();
     String original1 = "--ABC-DEF";
@@ -558,7 +557,7 @@ public class EditCommandTest
    * column region.
    */
   @Test
-  public void testUnwindCommand_removeGappedCols()
+  public void testPriorState_removeGappedCols()
   {
     EditCommand command = new EditCommand();
     String original1 = "--ABC--DEF";