From b72dc728923824c9752e8acfea2122ce805692de Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 7 Nov 2016 15:41:21 +0000 Subject: [PATCH] JAL-2272 another test case --- test/jalview/util/PlatformTest.java | 6 ++++++ 1 file changed, 6 insertions(+) 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)); } /** -- 1.7.10.2