You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@
34
34
importorg.eclipse.swt.graphics.Point;
35
35
importorg.eclipse.swt.graphics.Rectangle;
36
36
importorg.eclipse.swt.graphics.Region;
37
+
importorg.eclipse.swt.internal.gtk.GTK;
37
38
importorg.eclipse.swt.layout.FillLayout;
38
39
importorg.eclipse.swt.layout.GridLayout;
39
40
importorg.eclipse.swt.widgets.Button;
@@ -457,6 +458,10 @@ public void test_getImeInputMode() {
457
458
@Override
458
459
@Test
459
460
publicvoidtest_getLocation() {
461
+
//Setting location for Windows is not supported in GTK4
462
+
if (GTK.GTK4) {
463
+
return;
464
+
}
460
465
shell.setLocation(10,15);
461
466
assertEquals(":a:", 10, shell.getLocation().x);
462
467
assertEquals(":b:", 15, shell.getLocation().y);
@@ -999,4 +1004,22 @@ public void test_Issue450_NoShellActivateOnSetFocus() {
0 commit comments