JAL-2272 another test case
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 7 Nov 2016 15:41:21 +0000 (15:41 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 7 Nov 2016 15:41:21 +0000 (15:41 +0000)
test/jalview/util/PlatformTest.java

index 492df42..88fd1b9 100644 (file)
@@ -41,6 +41,12 @@ public class PlatformTest
     isPopupTrigger = true;
     assertFalse(Platform.isControlDown(new MouseEvent(b, 0, 0L, mods, 0, 0,
             0, 0, clickCount, isPopupTrigger, buttonNo), mac));
+
+    isPopupTrigger = false;
+    buttonNo = MouseEvent.BUTTON2;
+    mods = 0;
+    assertFalse(Platform.isControlDown(new MouseEvent(b, 0, 0L, mods, 0, 0,
+            0, 0, clickCount, isPopupTrigger, buttonNo), mac));
   }
 
   /**