Clarified test a little
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Tue, 3 Oct 2017 10:21:56 +0000 (11:21 +0100)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Tue, 3 Oct 2017 10:21:56 +0000 (11:21 +0100)
test/jalview/gui/ValidColumnSelectionTest.java

index c65f236..217fcdd 100644 (file)
@@ -40,7 +40,11 @@ public class ValidColumnSelectionTest
     );
     scalePanel.mousePressed(mouse);
     scalePanel.mouseDragged(mouse);
+
+    // simulate dragging selection leftwards beyond the sequences giving
+    // negative X
     mouse = new MouseEvent(scalePanel, 0, 1, 0, -30, 0, 1, false);
+
     scalePanel.mouseReleased(mouse);
 
     SequenceGroup sg = scalePanel.av.getSelectionGroup();