Skip to content

Commit 50b6343

Browse files
jonahgrahamakurtakov
authored andcommitted
Disable single failing test on macOS in recently reenabled tests
Test_org_eclipse_swt_widgets_TreeColumn had been missing from the SWT test suite since the test was created. The test_getWidth fails on macOS so it has been disabled. It is unknown how long it has been failing for.
1 parent 14ed3f3 commit 50b6343

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeColumn.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import static org.junit.Assert.assertFalse;
1818
import static org.junit.Assert.assertTrue;
1919
import static org.junit.Assert.fail;
20+
import static org.junit.Assume.assumeFalse;
2021

2122
import java.util.ArrayList;
2223
import java.util.List;
@@ -108,6 +109,7 @@ public void test_addSelectionListenerWidgetSelectedAdapterLorg_eclipse_swt_event
108109

109110
@Test
110111
public void test_getWidth() {
112+
assumeFalse("getWidth() checks below fail on macOS", SwtTestUtil.isCocoa);
111113
int testWidth = 42;
112114

113115
// try {

0 commit comments

Comments
 (0)