git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956deeb
)
JAL-2272 another test case
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 7 Nov 2016 15:41:21 +0000
(15:41 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 7 Nov 2016 15:41:21 +0000
(15:41 +0000)
test/jalview/util/PlatformTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/util/PlatformTest.java
b/test/jalview/util/PlatformTest.java
index
492df42
..
88fd1b9
100644
(file)
--- 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));
}
/**