From: gmungoc Date: Mon, 7 Nov 2016 15:41:21 +0000 (+0000) Subject: JAL-2272 another test case X-Git-Tag: Release_2_10_1^2~8^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b72dc728923824c9752e8acfea2122ce805692de;p=jalview.git JAL-2272 another test case --- diff --git a/test/jalview/util/PlatformTest.java b/test/jalview/util/PlatformTest.java index 492df42..88fd1b9 100644 --- a/test/jalview/util/PlatformTest.java +++ b/test/jalview/util/PlatformTest.java @@ -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)); } /**